Commuters in south Wales faced submerged roads and cancelled trains on Tuesday as torrential rain pushed rivers over their banks and forced Transport for Wales to suspend Rhondda Valley rail services.

Water rose beneath the railway bridge on the A473 in Treforest until it lapped the lower doors of stranded cars, and police urged motorists to avoid Park Street and nearby routes where surface flooding gathered quickly.

Network Rail said heavy rain damaged track between Treherbert and Tonypandy, leaving no trains on that stretch of the Rhondda Line. Photos from Llwynypia station showed rails underwater by Tuesday evening.

Great Western Railway warned that flooding also blocked lines between Cardiff Central and Bridgend, with services diverted via Barry or cancelled until engineers could inspect drainage culverts.

Natural Resources Wales had three flood warnings and more than two dozen flood alerts in force by nightfall, including for the River Rhondda at Porth and the River Ely at Peterston-super-Ely and St Fagans. Councils from Swansea to Merthyr Tydfil activated out-of-hours crews as culverts burst and fields turned into lakes.

The Met Office issued an amber rain warning running from 9 p.m. Tuesday until midday Wednesday for much of south Wales, forecasting 70 to 110 millimeters widely and up to 175 millimeters on higher ground.

Ethan Davies, a WalesOnline reporter covering the live updates, said the warning raised the prospect that communities could be cut off if roads that had already flooded worsen overnight.

In Merthyr Mawr, the River Ogmore spilled across farmland and left the area isolated. Maesteg crews worked on a burst culvert above Heol Cae Defaid while residents on Heol Y Llwyni reported water pouring into gardens.

Cardiff Council closed St Fagans Level Crossing on Michaelston Road as the Ely climbed, and South Wales Police shut St Fagans Road toward Ely after a vehicle became stuck. Cowbridge Road West later closed at Ely Bridge as the river threatened property.

Elsewhere, the B4318 near Tenby closed in both directions, Rhigos Mountain Road shut because of a failing culvert, and Pontypridd's Bridge Street Roundabout lost a southbound lane to standing water.

South Wales Fire and Rescue Service rescued a driver whose car left the B4251 near Wyllie, Blackwood, and ended up in a river around 11:20 a.m. Crews from Malpas, Pontypridd and neighboring stations stopped the call shortly after 12:35 p.m.

Rhondda Cynon Taf Council said about 100 highways staff would work through the night, with pumps pre-positioned at Egypt Street in Treforest, Britannia Street in Porth and other sites that flooded in past storms. The council's overnight line remained staffed for residents reporting urgent inundation.

Mid and West Wales Fire and Rescue Service told drivers not to enter floodwater, noting that 60 centimeters of flowing water can move a car. Public Health Wales urged households to charge phones, store medication safely and check on vulnerable neighbors before the amber window intensified.

Cardiff Bus reported long delays on routes serving St Fagans after lanes closed, and the A55 Britannia Bridge carried a 30 mph restriction for high-sided vehicles in strong winds.

Forecasters said rain should ease Wednesday afternoon, but inspectors must certify track beds before Rhondda trains restart. Network Rail did not publish a reopening time on Tuesday night.

Rhondda Cynon Taf's contractor teams planned to continue culvert assessments at Rhigos Mountain Road through the night, with a morning update promised for commuters who rely on that link toward the Heads of the Valleys.