Coordinates: 51°36′35″N 3°22′52″W / 51.6096°N 3.3811°W / 51.6096; -3.3811
Trehafod is a village and community in the Rhondda Valley between Porth and Pontypridd in the county borough of Rhondda Cynon Taf, Wales, although in administrative terms is split between the electoral division of Cymmer (Rhondda) to the West and Rhondda (Pontypridd) to the East. A former coal mining area, the village is now best known as the site of the Rhondda Heritage Park, a tourist attraction reflecting industrial life of coal mining Rhondda.
The 1847 tithe map of the area shows a number of farms on the area that was to become Trehafod, these were named, Hafod Uchaf, Hafod Ganol and Hafod Fawr. It was from these farms that Trehafod was to take its name. Hafod is a Welsh word that can mean "summer dwelling" or "upland farm".
Trehafod railway station lies on the Rhondda Line which follows the River Rhondda; the railway line and river border the village on either side.
Trehafod is now most famous for the Rhondda Heritage Park which was once the Lewis Merthyr colliery, at the peak time for coal mining production, one of the most productive collieries in the South Wales Coalfield.