The Met Office cautioned people to expect transport delays and cancellations, difficult driving conditions, road closures and power cuts.
The Welsh Ambulance Service said demand on 999 services was “extremely high”, urging people to only call its emergency number if “someone is seriously ill or injured, or their life is at risk”.
Transport for Wales said flooding at Llanharan had blocked the railway line between Cardiff Central and Bridgend, causing disruption until 20:00 on Tuesday.
Damage to the railway has also been reported between Pontypridd and Treherbert, with services cancelled until the end of the day.
Trains running between Llandudno Junction and Blaenau Ffestiniog have been cancelled in both directions due to the forecast.
Speaking before the weather warning comes into effect, Serkan Sipahi from Café Fresco in Pontypridd – which has been hit twice by heavy flooding in recent years – said local businesses and residents were in touch with each other, and would communicate as the night went on.
“If something bad [happens], we’ll come to help,” he said, admitting that residents had a nervous night ahead.
“Fingers crossed.”
