A man has been rescued after driving his car into floodwaters north of Brisbane, as parts of southern Queensland faced flash flooding brought on by a day of heavy rainfall.

Loading

A rain band that stretched from Gladstone over the New South Wales border caused localised flooding at Bargara, east of Bundaberg, Gympie, and on the Sunshine Coast and in Brisbane.

Bureau of Meteorology forecaster Diana Eadie said there had been large rainfall totals near the Sunshine Coast.

"Since 9:00am, Mount Mee has recorded 94 millimetres, Reedy Creek has received 68mm," she said.

"We've seen heavy falls all the way to about Bundaberg."

At Sippy Downs, more than 100 millimetres had fallen since 9:00am.

The severe weather also caused train delays on the Ipswich and Caboolture lines after a suspected lightning strike at Wacol station in western Brisbane.

All storm warnings were cancelled by early on Monday evening.

'It could've been a very dangerous situation'

Earlier today, a man had to be rescued near Gympie after driving into floodwaters.

The man was forced to climb out of the window of his car and take refuge on its roof for 20 minutes before emergency services arrived.

Gympie fire station officer Adrian Bond said the man was lucky to escape unhurt.

"If his vehicle had floated off the roadway he would have ended up in a very dangerous situation," he said.

A Queensland Fire and Emergency spokesman said crews were called to two cars in floodwaters at Durack in Brisbane's south about lunchtime, but the occupants had escaped by the time help arrived.

Seqwater will release water from Somerset Dam into Wivenhoe Dam over the next 24 hours.

Cars driving through floodwaters at Kawana on the Sunshine Coast. ( Facebook: Michael Booey McCord )

Electra and Targo streets underwater in Bundaberg late this morning. ( ABC Wide Bay )