The LSWR M7 class is a class of 0-4-4T passenger tank locomotive built between 1897 and 1911. The class was designed by Dugald Drummond for use on the intensive London network of the LSWR and performed well in such tasks.
Because of their utility, 105 were built and the class went through several modifications over five production batches. For this reason, there were detail variations such as frame length. Many of the class were fitted with push-pull operation gear that enabled efficient use on branch line duties without the need to change to the other end of its train at the end of a journey.
Under LSWR and Southern Railway ownership they had been successful suburban passenger engines, although with the increased availability of newer, standard designs, many of the class were diagrammed to take on a new role as reliable branch line engines, especially in Southern England.
Members of the class lasted in service until 1964, and two examples have survived into preservation.