Heavy rainfall caused localized flooding in parts of the Greater Toronto Area Wednesday night, shuttering sections of the Don Valley Parkway.

Const. Clint Stibbe said the northbound DVP was closed from the Gardiner Expressway to Bloor Street, and the southbound DVP was closed from Bayview to the Gardiner. The closures included all the ramps. Toronto police did not say when the DVP was expected to be reopened.

Meanwhile, the Toronto Region and Conservation Authority issued a flood warning Wednesday night. The authority said that more than 50 millimetres of rain had fallen in parts of the city.

"River and streams in the Greater Toronto Area have risen rapidly and are flowing at dangerous levels," the Toronto Region and Conservation Authority (TRCA) said in a statement. "Flooding is occurring in some low-lying areas next to rivers and streams and there are also numerous reports of localized roadway flooding."

Environment Canada said a slow moving band of heavy showers was moving south across Toronto. The national weather agency said localized flooding had occurred near Dufferin Street and Finch Avenue. "Motorists should be prepared for hazardous driving conditions due to low visibilities and the risk of hydroplaning," Environment Canada said in a statement on Wednesday.

The heaviest rainfall hit south of Highway 401, where up to 40 millimetres of rain was anticipated before showers tapered off late Wednesday night.

The flooding also caused delays for commuters using public transit.

In a tweet sent out at around 9 p.m., the Toronto Transit Commission said that subway trains were bypassing Lawrence Station on the Yonge-University-Spadina line due to flooding. Shuttle busses were operating between York Mills and Eglinton Stations.

Earlier on Wednesday, flooding was reported in the Jane Street and Wilson Avenue area.