Carlsbad City Council has voted to ban smoking in outdoor dining areas. New rules will apply to all unenclosed dining areas where food or drinks are served, including sidewalk cafes.

The measure will come before City Council for formal adoption at its Oct. 2 meeting, and will take effect 30 days later, according to a statement from the city. Carlsbad already prohibits smoking at beaches, lagoons and parks.

The state of California in 1988 banned smoking in all enclosed places of employment, including enclosed indoor restaurants, but left local jurisdictions to decide on outdoor dining areas. Carlsbad’s measure is modeled on previous outdoor smoking bans enacted in Chula Vista, Del Mar, El Cajon, Encinitas, National City and Solana Beach.

Carlsbad dining establishments will be required to ban smoking in outdoor spaces, and to post signs alerting patrons to the ban. Smokers will be required to stay at least 20 feet away from outdoor dining areas, to prevent secondhand smoke from affecting diners.