Local firearm ordinances are the rules a city, town, or county adds on top of federal and state gun law, and they can change the moment you cross a municipal line. Depending on where you are, these rules may govern how you store a gun at home, where you can carry or discharge it, where gun shops can open, and whether you have to report a theft. Whether any given local ordinance actually binds you, though, depends first on your state’s preemption statute.
Whether a Local Rule Can Bind You At All
Cities and counties get most of their rulemaking authority from home rule, which lets them pass public safety ordinances for local conditions as long as those ordinances don’t conflict with state or federal law. Firearms are the big exception. More than 40 states have passed preemption statutes that reserve firearm regulation for the state legislature, and in states with broad preemption a local gun ordinance is void the moment it passes.
Preemption is not uniform. Some statutes sweep the entire field of firearm law away from local control. Others are narrow, blocking only particular categories, like regulation of sale or possession, while leaving others alone. Several states also attach personal penalties to officials who vote for ordinances that violate preemption, ranging from fines in the low thousands to exposure in the tens of thousands, sometimes paired with removal from office and a bar on using public funds for a legal defense. The practical effect is that in many cities with elected leaders who want stricter local rules, no ordinance ever gets drafted.
Even broad preemption usually leaves some space for local rules. The common carve-outs let municipalities regulate the discharge of firearms within city limits, restrict weapons in government buildings, and use zoning authority to control where gun shops and shooting ranges can operate. So before you treat a local ordinance as binding, the question to answer is whether your state’s preemption statute allows that specific type of regulation at all.
What Cities Typically Regulate
Discharge
Nearly every city of any size prohibits firing a weapon within its limits outside of approved locations. These no-discharge ordinances cover residential neighborhoods, business districts, and public roadways. Exceptions almost always exist for genuine self-defense, law enforcement, and firing at a licensed indoor or outdoor range. The definition of “discharge” is often broad enough to pull in air rifles and similar devices.
Government Buildings and Public Spaces
Where preemption allows it, cities commonly ban firearms in city halls, administrative offices, community centers, parks, libraries, and recreation facilities. These bans sit on top of a separate federal rule discussed below that applies in federally owned or leased buildings.
Zoning for Firearm Businesses
Even in strong-preemption states, municipalities generally keep the authority to use zoning power over gun shops, gunsmiths, and shooting ranges. City planners treat them like other regulated land uses, requiring separation from schools, daycares, residential neighborhoods, and places of worship. Buffer distances of 500 to 1,000 feet are common. This lets a city manage the location of firearm commerce without directly regulating ownership.
Safe Storage
A growing number of jurisdictions require that firearms kept at home be stored in a locked container, secured with a trigger lock, or kept in a gun safe. Some require ammunition to be stored separately. Local storage ordinances are most common in cities within states that don’t have broad preemption. Many states also have child access prevention laws that attach criminal liability when a minor gains unsupervised access to a negligently stored firearm, with specifics, age thresholds, and penalties that vary widely by state.
Lost or Stolen Firearm Reporting
Federal law requires licensed dealers to report theft or loss from inventory within 48 hours.1Office of the Law Revision Counsel. 18 U.S. Code 923 – Licensing No federal law imposes the same duty on individual owners, but at least 16 states and the District of Columbia do, and several cities have added their own reporting ordinances where the state hasn’t. Deadlines commonly fall between 24 and 72 hours. A missed deadline is typically a misdemeanor.
Rules That Apply No Matter What Your City Says
Several federal firearm rules operate independently of state and local law. They apply whether or not your city has its own ordinance on the subject, and they can trip up people who assume local rules are the whole picture.
Federal law creates a firearm-restricted zone within 1,000 feet of every public, private, and parochial school in the country. Under the Gun-Free School Zones Act, knowingly possessing a firearm in a school zone is a federal offense. Exemptions exist for firearms on private property that isn’t school grounds, firearms carried by someone licensed under state law where the state verifies the licensee’s qualifications, and firearms that are unloaded and locked in a container on a vehicle.2Office of the Law Revision Counsel. 18 USC 922 – Unlawful Acts
Federal buildings are separately off-limits. Possessing a firearm in a federal facility carries up to one year in prison, and up to five years if the weapon is brought in with intent to commit a crime.3Office of the Law Revision Counsel. 18 USC 930 – Possession of Firearms and Dangerous Weapons in Federal Facilities
Travelers get a federal protection that overrides inconsistent local law. Under 18 U.S.C. ยง 926A, anyone legally allowed to possess a firearm may transport it from one place where they can lawfully carry it to another, regardless of state or local law along the route. The conditions are strict. The firearm must be unloaded, and neither the firearm nor any ammunition can be readily accessible from the passenger compartment. In a vehicle without a separate trunk, both must be in a locked container other than the glove compartment or center console.4Office of the Law Revision Counsel. 18 USC 926A – Interstate Transportation of Firearms
The protection covers passage, not extended stops. Jurisdictions with strict local laws have argued that breaking your journey beyond routine needs like fuel or food takes you outside the statute and into local possession rules, and arrests have followed, particularly after overnight stops. Treat the protection as what the statute says: transport from point A to point B, secured the entire way.
Sensitive Places After Bruen
The Supreme Court’s 2022 decision in New York State Rifle & Pistol Association v. Bruen changed how courts evaluate firearm restrictions, including local ones. When the Second Amendment’s text covers the conduct, the government must now justify a restriction by showing it fits within the nation’s historical tradition of firearm regulation.
The Court acknowledged that “sensitive places” like schools, government buildings, legislative assemblies, polling places, and courthouses have historically been locations where weapons could be banned consistent with the Second Amendment. It warned against stretching the category, saying that declaring an entire city sensitive simply because it is crowded would “eviscerate the general right to publicly carry arms for self-defense.”5Justia. New York State Rifle and Pistol Association, Inc. v. Bruen
Since then, lower courts have been working through which specific locations qualify. Government buildings, schools, public transit facilities, and courthouses have survived challenge consistently. Bans in places of worship, financial institutions, hospitals, and private businesses open to the public have faced injunctions in some jurisdictions and been upheld in others. A local ban on firearms in a particular type of location may be settled law or may be in active litigation depending on where you are.
Figuring Out Which Rules Apply to You
Start by confirming which government actually has jurisdiction over your address. Incorporated city limits and unincorporated county areas often have different rules, and the two can regulate different things. Online GIS maps and property tax records are the most reliable way to pin this down.
Then think about what you’re doing with the firearm. Rules for storing a gun at home are different from rules for carrying in public, which are different from rules for transporting in a vehicle. If you’ll travel through several municipalities, check each one along the route, not just your origin and destination. In a metro area, a 20-minute drive can cross three or four city lines.
The firearm itself matters too. Some ordinances target handguns, others cover long guns, air rifles, or magazines above a set capacity. If a jurisdiction requires local registration or permitting, that permit is usually not recognized a few miles down the road, even within the same state.
Where to Read the Actual Ordinances
Most municipal codes are hosted online. Municode and American Legal Publishing are the two largest platforms, and most city and county websites link to one of them. Once you’re in the database, search terms like “weapons,” “firearms,” or “public safety” will pull up the relevant chapters. Don’t stop at the first result. Zoning rules for gun shops often live in a separate land-use chapter from the discharge rules in public safety.
If a municipality doesn’t maintain an online code, call the city clerk’s office. Clerks are the official custodians of municipal records and can provide physical copies, and they are the only reliable source for emergency or temporary ordinances that haven’t yet been incorporated into the digital code. Check before you travel, not after you arrive. Local firearm rules aren’t posted at city boundaries, and not knowing an ordinance exists is not a defense to breaking it.