The City Council approved a five-minute grace period for motorists before they could be ticketed by parking agents.
The bill passed 47 to 2, with Tony Avella of Queens and Dan Garodnick of Manhattan opposing.
The mayor has said he is not in favor of the bill, but speaker Christine Quinn and others spoke out in favor.
One member, Kendall Stewart of Brooklyn, said he had been ticketed by overzealous agents in the past and said this grace period was long overdue.
“I think this is something we should have dealt with before,” he said.