The fifth anniversary of Hurricane Sandy will bring the worst kind of déjà vu — a nasty storm that’s expected to sock the city with rain and powerful winds, forecasters said Saturday.

A cold front pushing into the region from the Midwest, combined with moisture from a tropical depression heading northward will turn Sunday into a rainy mess.

“It’s going to be a heavy, soaking rain here,” said AccuWeather senior meteorologist Alan Reppert.

About 1 to 3 inches of rain is expected, beginning at 3 or 4 a.m. and continuing through Sunday and even into the Monday morning rush hour, he said.

Winds are also predicted to be a problem, with gusts forecast to hit 40 to 45 mph. Con Edison said it will have extra crews on hand to deal with any downed power lines.

Thousands of homes in the tri-state area were damaged or destroyed and hundreds of thousands of people were impacted when Sandy hit the city on Oct. 29, 2012.