There were two primary railway lines running through the Afan Valley (photos to follow).

The Swansea Bay line, operated by the Great Western Railway (GWR) transported coal from the Rhondda Valley and upper Afan Valley. It also carried passenger trains.

The “PT line”, operated by the Port Talbot Railway and Docks Company (PTRD) primarily transported minerals. The line ran on the side of the mountain in the lower Afan Valley, and crossed the valley on the big bridge (y bont fawr) near Pontrhydyfen. The line connected with other lines, including the GWR line.