The invention relates to the field of three-dimensional modeling design, and discloses a railway subgrade engineering design method based on a BIM technology, which meets the requirements of three-dimensional rapid modeling and engineering drawing of railway subgrade retaining engineering, realizes rapid three-dimensional display of the railway subgrade engineering, and is convenient to modify andconvey construction key points. The method comprises the following steps: a, reading route information elements, importing the route information elements into three-dimensional modeling software, andgenerating a railway route model; b, associating the route design parameters with a railway route model; c, associating design data of railroad bridges, culverts, tunnels and stations with routes; d,importing roadbed cross section data into the three-dimensional modeling software; e, generating a roadbed model according to the railway line model and the roadbed cross section data; and f, selecting an engineering creation command, inputting corresponding engineering design parameters, and creating a corresponding engineering model on the basis of the roadbed model.