In this paper, a method is presented for the calculation of the vibration created in buildings by the operation of underground railways. The method is based on the sub-modelling approach which is used to couple a model of a building on a piled foundation to another model that calculates the vibration generated in the soil in underground railway tunnels. The method couples a building on a piled foundation to the soil at discrete points by satisfying equilibrium and compatibility requirements at those points. The method results in efficient numerical calculations. A two-dimensional frame made of beam elements is used to model the building and its piled foundation. The elements are formulated using a dynamic stiffness matrix which accounts for Euler–Bernoulli bending and axial behaviour. Vibrations created by a train moving in an underground tunnel are calculated using the well-known pipe-in-pipe (PiP) model. The model calculates the power spectral density (PSD) of the displacement in the soil. The excitation mechanism is the roughness of the rail and the PSD is calculated for a train moving on a floating-slab track in an underground railway tunnel for a stationary process. The current version of PiP accounts for a tunnel embedded in a half-space. The building frame is coupled in this paper at 90° to the tunnel’s centreline. The main result of this paper illustrates the significant contribution of the building’s dynamics to the displacement wave field received by the building. The example presented in this paper shows a decrease of more than 20 dB in the displacement PSDs at frequencies larger than 10 Hz when accounting for the change in this wave field.