Vehicles 22 feet long and or seven feet high will be under the new restrictions.
Warning signs will be posted on blocks were two-thirds of residents petitioned for the overnight parking restrictions.
The California Coastal Commission previously denied the city's attempt to establish resident-only overnight parking zones. This ordinance does not require the commission's approval.
It will take effect within weeks of being signed by the mayor.