In this March 25, 2020, file photo, a closed sign hangs in the window of a shop in Portsmouth, N.H. Credit: Charles Krupa / AP

PORTSMOUTH, N.H. — The city of Portsmouth is the latest New Hampshire community to approve a face mask ordinance.

The City Council voted 7-2 Monday night to approve the measure, which went into effect immediately and lasts until Jan. 4, 2021, Seacoastonline.com reported.

The masks are required inside public places and outdoors when social distancing of 6 feet (2 meters) between people who aren’t in the same household can’t be maintained.

The penalty for not wearing a mask won’t exceed $25.

Those exempt from the ordinance are people with medical and health-risk conditions; children age 6 and younger; and people eating or drinking at a business licensed in the city for that purpose.

Some of the other communities that have passed a face mask ordinance include Exeter, Newmarket, Durham, Concord, Nashua, Keene, Lebanon and Plymouth.

Watch more: