With the increasing coal production, railways were attracted to the area.
In 1864, the Great Western Railway built a line to Middle Duffryn (later renamed Mountain Ash), and further depleted the trade in coal on the canal.