Council members said their intention is to promote a healthier environment.
The ordinance still needs final approval from the Moorpark City Council. The council is set to take up the issue on Wednesday. If council members approve it, the new ordinance would take effect August 1.
Other local cities with similar smoking laws include Calabasas, Santa Monica and Los Angeles.
The Ventura County Star contributed to this report.