As many as 400 cars were flooded early Thursday after a main break sent water gushing into the parking garage of a residential building at East 57th Street and Second Avenue.

At least three levels of the garage at 303 E. 57th St. were flooded with about 2 feet of water after the break at 58th Street and Second Avenue.

“We’ve got pumps down there now, and it’s gone down by a few inches, but there’s still about 2 feet of water down there on C level and E level,” said Orlando Melecio of AC Klem Plumbing, who got the call about the inundation about 5 a.m.

Some 400 cars were parked in the affected areas, said attendants, who were busy moving vehicles from the flood zones.

“They’re moving them as quickly as they can, but the cars shouldn’t take any damage from the water,” Melecio said.

The building’s residents were not affected by the break.

The break also cut water service at 300 E. 59th St. for about 20 minutes, said Omar Bourne, spokesman for the Office of Emergency Management.

Additional reporting by Natasha Velez