The Great Northern Railway (GNR) Class O2 was a class of three-cylinder 2-8-0 steam locomotives designed by Nigel Gresley for freight work and built by the GNR from 1921. Further examples were built by the London and North Eastern Railway (LNER) from 1924.