The South African Railways Class 7B 4-8-0 of 1900 was a steam locomotive from the pre-Union era in Transvaal. In 1900, the Imperial Military Railways placed 25 Cape 7th Class 4-8-0 Mastodon type steam locomotives in service. In that same year, three Cape 7th Class locomotives which had been ordered by the Pretoria-Pietersburg Railway were also placed in service. All these locomotives were taken onto the Central South African Railways roster at the end of the Second Boer War in 1902. In 1906, three of these locomotives were sold to the Natal Government Railways.