Stanier 8F is a London Midland and Scottish Railway (LMS) steam locomotive designed for heavy freight.
The London Midland and Scottish Railway's 8F class were originally designed for hauling heavy freight in response to a shortage of powerful freight engines on the LMS. Such was the success of the design, that on the outbreak of the Second World War, the 8F class was chosen as the country's standard freight locomotive design.
Between 1935 and 1946, 852 locomotives were built. Some of the locomotives were shipped overseas to help support the war effort, serving in Egypt, Palestine, Iran and Italy. After the war, several examples remained in the Middle East, with 20 still operating in Turkey as late as 1980.
Of the fifteen engines known to have survived into preservation, 48151 is the only 8F to be certified for mainline use. Despite being limited to only 50 mph (due to her wheel size) she has featured regularly on mainline trips in recent years.