The South African Railways Class 8E 4-8-0 of 1903 was a steam locomotive from the pre-Union era in the Cape of Good Hope. In 1903, at the same time that the Cape Government Railways ordered its second batch of 38 8th Class 4-8-0 Mastodon type steam locomotives, four additional experimental locomotives of the same class were ordered, built to modified specifications to accommodate a larger firegrate area. In 1912, when these four locomotives were assimilated into the South African Railways, they were renumbered and designated Class 8E.