Sale and possession of air guns are not regulated federally, nor are they regulated by most state and local governments. A few States and municipalities which do restrict or prohibit air gun sales or possession in some manner are San Francisco, New York City, Camden, New Jersey and Newark, New Jersey. Johnson City, Tennessee; Massachusetts, Chicago, Philadelphia, and the States of Illinois, Michigan[27] and California. Additionally, ordinances in many cities prohibit the discharge of air guns outdoors outside of an approved range.
Some states, such as Virginia, classify a pellet gun or BB gun as a firearm. In Virginia, certain case law has determined that, during certain criminal conduct, air guns are firearms.
Air guns were banned in San Francisco, but a state preemption statue struck down the ban, and the San Francisco District Attorney declared them legal as long as in compliance with state law.