The following is a list of locomotives of the London, Midland and Scottish Railway as of 31 December 1947. This date is significant because nationalisation of the Big Four occurred the next day, 1 January 1948. Thus this is the list of locomotives as inherited by British Railways. At this time there were approximately 8,000 steam locomotives, 50 diesel locomotives and a handful of others.
In addition to its own builds, the LMS still owned locomotives inherited from various constituent companies: the Caledonian Railway (CR), Furness Railway (FR), Glasgow and South Western Railway (G&SWR), Highland Railway (HR), London and North Western Railway (LNWR), London, Tilbury and Southend Railway (LT&SR), Lancashire and Yorkshire Railway (L&YR), Midland Railway (MR), and North London Railway (NLR).
The most numerous class at this point was, if Midland and LMS classes are combined, the 4F (192 MR, 5 S&DJR, 575 LMS), and the second (or without combination) the "Black Five" with 742 locomotives, there were also 623 8Fs, including 67 LNER Class O6 on hire.
The LMS numbered self-propelled vehicles (diesel railcars, EMUs) into the coaching stock series, with the exception of the L&YR Railmotors.
BR allocated numbers in March 1948 (in the meantime there were a few withdrawals and new construction). Most ex-LMS engines had 40000 added to their numbers, but those with numbers over 20000 were renumbered in the 58xxx series to avoid the 6xxxx series used for ex-LNER locomotives. The ex-MR 2F 0-6-0s that had not been rebuilt as 3Fs were also renumbered into that series, as were the Midland 1P 0-4-4T. It then took a few years to renumber all the locomotives.