Carrying a Gun on Federal Property
Federal law makes it a crime to have a gun in most federal facilities, meaning buildings the government owns or leases where federal employees regularly work, with exceptions that include carrying "incident to hunting or other lawful purposes." Federal courthouses are stricter, and many agencies add their own rules. In August 2026 the Justice Department's Office of Legal Counsel concluded that the lawful-purpose exception covers carrying for self-defense in post offices open to the public. In national parks, possession follows the law of the state the park is in, but park buildings are federal facilities and firing a gun is generally off limits.
Checked against federal law and the agencies' own pages on 2026-10-30. Federal gun law.
The short version
- Federal buildings: having a gun in a building the federal government owns or leases where federal employees regularly work is generally a crime, with narrow exceptions. A missing entrance sign isn't permission: it's only a defense if you also had no actual notice, and agency rules still apply.
- Federal courthouses: banned, with no lawful-purpose exception. That covers courtrooms, clerks' offices, U.S. attorney and marshal offices and the hallways next to them.
- Post offices: in August 2026 the Justice Department's Office of Legal Counsel concluded that federal law lets law-abiding people carry a lawful gun for self-defense in post offices open to the public, and that the Postal Service's own ban can't override that. It's the executive branch's legal opinion, not a court ruling or a change in the statute or the postal regulation.
- National parks: you can carry if you can legally have the gun and the park's state allows it. Visitor centers, ranger stations and other park buildings are federal facilities, so guns are banned inside.
- Military bases, VA medical centers, federal prisons and airport secure areas have their own rules and generally ban guns.
Before you go
- Don't treat a missing sign as permission. Federal facilities are supposed to post notice of the law at each public entrance, and § 930 bars a conviction where it isn't posted unless you actually knew. That's a narrow defense, not a rule that unposted buildings allow guns: actual notice, security screening and agency regulations all still apply.
- Leave it in the car for courthouses and agency offices. For a federal courthouse, a Social Security office, an IRS office or similar, store the gun in your vehicle before you go in. State law decides how it has to be stored there.
- For post offices, know what's covered. The Justice Department's opinion covers law-abiding people carrying a gun for self-defense in post offices that are open to the public. It doesn't cover post offices inside a military base or past airport security. DOJ opinion on post offices (Aug. 2026)
- For a national park, check the state's law. Carry follows the law of the state the park is in, including which out-of-state licenses it honors. Parks that cross state lines can change rules partway through. Call the park if you're not sure. NPS: firearms in national parks
What the law says
- Federal buildings: Guns are banned in federal facilities other than courts, unless an exception applies.
whoever knowingly possesses or causes to be present a firearm or other dangerous weapon in a Federal facility (other than a Federal court facility), or attempts to do so, shall be fined under this title or imprisoned not more than 1 year, or both
(18 U.S.C. § 930(a)) - What counts as a federal facility: A building the government owns or leases where federal employees regularly work.
a building or part thereof owned or leased by the Federal Government, where Federal employees are regularly present for the purpose of performing their official duties
(18 U.S.C. § 930(g)(1)) - The lawful-purpose exception: The ban doesn't apply to carrying for hunting or other lawful purposes. DOJ's 2026 opinion reads this to cover self-defense carry in public post offices.
the lawful carrying of firearms or other dangerous weapons in a Federal facility incident to hunting or other lawful purposes
(18 U.S.C. § 930(d)(3)) - Federal courthouses: Up to 2 years in prison, and the lawful-purpose exception doesn't apply.
whoever knowingly possesses or causes to be present a firearm or other dangerous weapon in a Federal court facility, or attempts to do so, shall be fined under this title, imprisoned not more than 2 years, or both
(18 U.S.C. § 930(e)) - The posted notice: Under § 930, no conviction for a facility without the notice posted, unless you had actual notice. Other federal rules for that property can still apply.
no person shall be convicted of an offense under subsection (a) or (e) with respect to a Federal facility if such notice is not so posted at such facility, unless such person had actual notice
(18 U.S.C. § 930(h)) - National parks: You can have a gun in a national park if federal law doesn't bar you and the park's state allows it. Guns stay banned in park buildings. (54 U.S.C. § 104906 (NPS summary))
Common questions
Can I carry a gun into a post office?
The Postal Service's regulation still bans guns on postal property, but in August 2026 the Justice Department's Office of Legal Counsel concluded that federal law lets law-abiding people carry for self-defense in post offices open to the public, and that the government can't enforce the ban against them. That's the executive branch's position, not a change in the statute, and it could change with a new administration. It doesn't cover post offices inside military bases or past airport security.
Can I keep a gun in my car in a post office parking lot?
The Postal Service's regulation (39 C.F.R. § 232.1(l)) covers all postal property, parking lots included, and it hadn't been amended as of October 2026. The Justice Department's 2026 opinion addresses carrying inside post offices open to the public and doesn't discuss parking lots, so don't assume it covers them, and check for newer Postal Service guidance.
Can I carry in a national park?
Yes, if you can legally have the gun and the state the park is in allows it, including your carry license if that state honors it. Guns are still banned inside federal buildings in the park, such as visitor centers and ranger stations. Having a gun isn't permission to fire it: discharging one in a park is prohibited unless authorized, and in parks where hunting is allowed, it's limited to hunting under park rules and state law.
Can I carry in a national forest or on BLM land?
Generally yes, under the state's law, since most of that land isn't a federal facility. Ranger stations and offices are federal facilities, so leave the gun outside, and follow the area's rules on shooting.
Can I bring a gun into a federal courthouse?
No. Federal court facilities, including courtrooms, clerks' offices, U.S. attorney and marshal offices and their hallways, ban guns for everyone but officers and others authorized by law. Carrying for self-defense isn't an exception there.
Official pages
- DOJ Office of Legal Counsel: Application of 18 U.S.C. § 930(a) to Post Offices
- National Park Service: firearms in national parks
Related on Chambered
More federal guides
- How to Fly With a Gun
- Buying a Gun in Another State
- How to Ship a Gun
- ATF Form 4: Wait Times, Steps and Who Still Needs One
- Who Can't Legally Own a Gun Under Federal Law
- Private Gun Sales: The Federal Rules
- Inheriting a Gun, or Giving One as a Gift
- Moving to Another State With Your Guns
Not legal advice. Laws change; verify with official sources.