Gastric cancer (GC) is a highly phenotypically heterogeneous disease and is caused by a combination of factors. Retinol binding protein 4 (RBP4) is a member of a family of lipid transport proteins that are involved in the transport of substances between cells and play a crucial role in a variety of cancers. However, the expression and role of RBP4 in GC remain unknown. In this study, we explored the expression, prognostic significance, immune microenvironment, drug responsiveness and function of associated signaling pathways of RBP4 in GC using web-based bioinformatics tools. Immunohistochemistry and real-time quantitative PCR were utilized to analyze the tissue and cell expression levels of RBP4. CCK-8, colony formation, EDU incorporation, wound healing and transwell assays were applied to demonstrate the effect of RBP4 on GC cell function. Flow cytometric detection of apoptosis after RBP4 knockdown. Nude mice xenograft model elucidates the role of RBP4 for GC in vivo. Related proteins of the RAS signaling pathway were analyzed by employing Western blot assays. RBP4 is highly expressed in GC. RBP4 is closely associated with patient survival and sensitivity to a wide range of antitumor agents. Knockdown of RBP4 promoted apoptosis and inhibited cell proliferation, invasion and migration. RBP4 promotes GC tumorigenesis in vivo. Finally, RBP4 modulates the RAS/RAF/ERK axis. RBP4 may promote gastric carcinogenesis and development through the RAS/RAF/ERK axis and is expected to be a novel target for GC treatment.