Consumer fireworks have been legal for residents in Pennsylvania for years now, but there are some restrictions. Cities can implement their own limits, and the three in the Lehigh Valley have done so.

With this year’s celebrations expected to be bigger than ever in honor of America’s 250th anniversary, here’s what you need to know about fireworks laws and how to stay safe.

What fireworks can be purchased in Pennsylvania?

Residents 18 or older can purchase Class C fireworks, like firecrackers, Roman candles and bottle rockets, according to state police. Those do not include handheld or ground sparkling devices, novelties, or toy caps, which were already legal in the state.

What restrictions are there?

• Fireworks can’t be ignited or discharged on public or private property without permission of the owner.

• They can’t be aimed at another person, building or vehicle.

• They can’t be aimed from a building or vehicle.

• They can’t be fired while under the influence of alcohol or another controlled substance.

Are there July 4 exceptions?

In Pennsylvania, municipalities may restrict firework usage between 10 p.m. and 10 a.m. except July 2, 3 and 4, when they may be used until 1 a.m. If the holiday happens during the week, fireworks may also be used until 1 a.m. the following Friday and Saturday.

What local restrictions do the Lehigh Valley’s cities have?

In Allentown, it is illegal to use fireworks within 150 feet, or roughly two semi-truck lengths, from any building. During previous holidays there has been enhanced enforcement by city police. Consumer fireworks can’t be used between 10 p.m. and 7 a.m.

Anyone caught using fireworks within 150 feet of a building face a fine of up to $1,000 and 30 days in jail.

In Bethlehem, consumer fireworks may be used between 9 a.m. and 9 p.m. Penalties for violating the law can reach up to $1,000 on a third offense.

Residents are not allowed to use fireworks on city property in Allentown and Bethlehem.

In Easton, it is illegal to use fireworks on streets, sidewalks or city-owned property, and any property within 150 feet of a building or vehicle, according to the city.

Those who use fireworks illegally can be fined $500, and repeat offenders could be fined up to $1,000.

Law enforcement may confiscate fireworks if they are not being used legally.

Officials this year also are urging residents to be mindful of drought conditions when engaging in outdoor activities including grilling and using fireworks.

“Drought conditions add an additional layer of danger to the use of fireworks,” Michael Lenner, director of Northampton County Emergency Management Services, said in a statement. “While you should always consult your local ordinances prior to discharging fireworks, you also need to be mindful of the dry conditions we are experiencing in our county. The embers fireworks produce can travel great distances, especially during windy conditions. A single ember can be the start of a devastating fire during drought conditions.”

Safety urged when using fireworks

The National Safety Council offers the following tips for fireworks safety:

• Never allow young children to handle fireworks, and old children should use them only under close adult supervision.

• Never use fireworks while impaired by drugs or alcohol.

• Wear protective eyewear.

• Never hold lighted fireworks in your hands.

• Never light them indoors.

• Only use them away from people, houses and flammable material.

• Never point or throw fireworks at another person.

• Only light one device at a time and maintain a safe distance after lighting.

• Never ignite devices in a container.

• Do not try to relight or handle malfunctioning fireworks.

• Soak both spent and unused fireworks in water for a few hours before discarding.

• Keep a bucket of water nearby to fully extinguish fireworks that don’t go off or in case of fire.

• Never use illegal fireworks.