Where Are Firearms Prohibited in Pennsylvania?

Firearms are prohibited in Pennsylvania at schools, court facilities, jails and mental hospitals, federal buildings, past TSA checkpoints at airports, and inside buildings within national parks. Private property owners can also ban firearms from their premises, and a separate federal rule covers the 1,000-foot zone around any school. The penalties range from a summary offense for a licensed carrier who forgets to check a weapon at a courthouse door, up to a federal felony for carrying through a school zone without a license.

Schools

Possessing any weapon in a school building, on school grounds, or on a bus carrying students is a first-degree misdemeanor under state law, punishable by up to five years in prison and a $10,000 fine. The rule covers public schools, private schools licensed by the Department of Education, and parochial schools.1Pennsylvania General Assembly. Pennsylvania Code 18 Pa.C.S. 912 – Possession of Weapon on School Property

“Weapon” here is broader than firearms. It takes in knives, cutting tools, nunchucks, rifles, shotguns, and any other instrument capable of inflicting serious bodily injury. The statute provides one defense: that the weapon was possessed and used as part of a lawful supervised school activity or course, or was possessed for another lawful purpose. A hunter-education class run by the school could qualify. A firearm left in your vehicle in the pickup line would not.1Pennsylvania General Assembly. Pennsylvania Code 18 Pa.C.S. 912 – Possession of Weapon on School Property

School Zones Under Federal Law

The federal Gun-Free School Zones Act adds a 1,000-foot buffer around any public, private, or parochial school. Knowingly possessing a firearm inside that zone is a federal felony.2Office of the Law Revision Counsel. 18 U.S.C. 922 – Unlawful Acts

Several exceptions matter in Pennsylvania:

  • The prohibition does not apply on private property that is not part of school grounds, even if that property sits inside the 1,000-foot zone.
  • Holders of a Pennsylvania License to Carry Firearms are exempt, because the state licensing process includes a background check through the Pennsylvania Instant Check System.
  • A firearm that is unloaded and stored in a locked container or locked gun rack in a vehicle is exempt.
  • Firearms used in programs approved by the school are exempt.

If you hold a valid LTCF, you can legally pass through the buffer zone around a school. Without one, driving a street that happens to run near a school with a loaded firearm in the car can technically violate federal law.2Office of the Law Revision Counsel. 18 U.S.C. 922 – Unlawful Acts

Court Facilities

Knowingly bringing a firearm or other dangerous weapon into a court facility is a separate state offense. The grade depends on the circumstances:

  • Possessing a firearm in a court facility without intent to use it in a crime is a third-degree misdemeanor.
  • Possessing a firearm with intent to use it in a crime is a first-degree misdemeanor.
  • A valid LTCF holder who simply failed to check the weapon before entering commits only a summary offense.

Law enforcement acting in an official capacity, court officials, and attorneys with written court authorization to bring in a weapon as an exhibit are exempt.3Pennsylvania General Assembly. Pennsylvania Code 18 Pa.C.S. 913 – Possession of Firearm or Other Dangerous Weapon in Court Facility

Federal courthouses carry their own penalty: up to two years in prison for possessing a firearm in a federal courtroom, judges’ chambers, jury room, or related space.4Office of the Law Revision Counsel. 18 U.S.C. 930 – Possession of Firearms and Dangerous Weapons in Federal Facilities

Jails, Prisons, and Mental Hospitals

Bringing a weapon into a detention facility, correctional institution, or mental hospital is a first-degree misdemeanor, and the same charge reaches any inmate who makes, obtains, or possesses a weapon inside. “Weapon” in this statute means any implement readily capable of lethal use, including firearms, ammunition, knives, razors, and clubs. A firearm counts even if it is unloaded or taken apart into components.5Pennsylvania General Assembly. Pennsylvania Code 18 Pa.C.S. 5122 – Weapons or Implements for Escape

Federal Buildings

Federal law bars firearms in any building owned or leased by the federal government where federal employees regularly work. That includes post offices, Social Security offices, IRS buildings, and other federal offices around the Commonwealth. Simple possession in such a facility is punishable by up to one year in prison. Possession with intent to use the firearm in a crime raises the ceiling to five years. Law enforcement officers and federal officials authorized to carry are exempt.4Office of the Law Revision Counsel. 18 U.S.C. 930 – Possession of Firearms and Dangerous Weapons in Federal Facilities

Airports

You cannot carry a firearm past a TSA security checkpoint at any Pennsylvania airport. Beyond the checkpoint is a sterile area governed by federal law. On the pre-security side of the terminal, state law applies.

If you want to fly with a firearm, federal rules let you transport it as checked baggage. The firearm must be unloaded and placed in a locked, hard-sided container, and you must declare it to the airline at the ticket counter before checking the bag. Under TSA’s definition, a firearm counts as loaded if it has a live round in the chamber, cylinder, or an inserted magazine, or if the firearm and ammunition are both accessible to the passenger.6Transportation Security Administration. Transporting Firearms and Ammunition

Bringing a firearm to a checkpoint by accident happens more often than people expect, and TSA treats it seriously. Civil fines can reach the thousands, and criminal charges may follow depending on the circumstances and local law enforcement.

National Parks in Pennsylvania

Pennsylvania hosts several National Park Service sites, including Valley Forge, Gettysburg, and the Delaware Water Gap. Since 2010, federal law has allowed visitors to possess firearms inside national park units as long as they follow the firearm laws of the state the park sits in. A Pennsylvania LTCF holder can therefore carry a concealed handgun on park trails and in open areas.7U.S. National Park Service. Eisenhower National Historic Site – Laws and Policies

Park buildings are the exception. Federal law still bars firearms inside visitor centers, ranger stations, and other federal structures within the park, which are typically marked at their public entrances. If you are hiking armed and want to stop in at a visitor center, secure the firearm in your vehicle first.

State Capitol and Government Buildings

The Pennsylvania Department of General Services bans firearms in the State Capitol Complex, but that is an administrative policy, not a criminal statute. A co-sponsorship memo in the General Assembly has acknowledged that while such policies exist “to protect the public, officials, and employees,” they “have not been preserved under state law.” Violating the policy can get you asked to leave and, if you refuse, charged with trespass, but there is no firearms-specific statute that criminalizes possession in state office buildings the way the school and courthouse statutes do.

Private Property, Bars, and Casinos

Any private property owner in Pennsylvania can prohibit firearms on the premises, LTCF or not. Businesses, shopping centers, churches, and private offices all have this authority. The prohibition is usually communicated by a posted sign, but a verbal instruction is enough.

Ignoring a “No Firearms” sign is not a standalone criminal offense in Pennsylvania; the sign on its own does not create criminal liability. The risk is what happens next. If an owner or employee spots you carrying and asks you to leave, refusing is defiant trespass, a third-degree misdemeanor.

Pennsylvania has no statute barring firearms in establishments that serve alcohol. A LTCF holder can legally carry in a bar, brewery taproom, or restaurant with a liquor license. The same applies to casinos: the state’s preemption law blocks non-legislative bodies from regulating lawful firearm possession. But casinos and bars remain private property, and management can still show you the door.

Carrying in a Vehicle Without a License

Pennsylvania treats a vehicle the same as a person for carry purposes. Carrying a firearm in any vehicle without a valid LTCF is a third-degree felony, punishable by up to seven years in prison. If you would otherwise qualify for a license and have not committed any other criminal violation at the time, the charge drops to a first-degree misdemeanor.8Pennsylvania General Assembly. Pennsylvania Code 18 Pa.C.S. 6106 – Firearms Not to Be Carried Without a License

A handful of exceptions apply even without a license. You can transport an unloaded firearm in a secure wrapper from the place of purchase to your home, from home to a repair shop, between residences, or to and from a shooting range or firearms instruction course. You can carry an unloaded long gun to and from a target-shooting location without a license, as long as you make no unauthorized stops. The word that runs through every one of these carve-outs is “unloaded.”8Pennsylvania General Assembly. Pennsylvania Code 18 Pa.C.S. 6106 – Firearms Not to Be Carried Without a License

During a Declared Emergency

Carrying on public streets or public property during a state or municipal emergency is restricted by statute, but the same statute exempts anyone defending life or property from an imminent threat and anyone who holds a License to Carry Firearms or is otherwise exempt from licensing. The provision also prohibits any seizure of a firearm, accessory, or ammunition during an emergency unless the seizure would have been authorized without the emergency.9Pennsylvania General Assembly. Pennsylvania Code 18 Pa.C.S. 6107 – Prohibited Conduct During Emergency

For LTCF holders, a declared emergency changes nothing about where you can carry. For unlicensed carriers, going armed on public streets during an emergency is unlawful unless you are in the act of defending yourself or your property.

Local Rules

No county, municipality, or township in Pennsylvania may regulate the lawful ownership, possession, transfer, or transportation of firearms or ammunition. The state preemption statute controls, so local governments cannot add their own prohibited locations on top of what state law already lists.10Pennsylvania General Assembly. Pennsylvania Code 18 Pa.C.S. 6120 – Limitation on the Regulation of Firearms and Ammunition For LTCF holders, the rules about where you can and cannot carry are the same in downtown Philadelphia as they are in rural Centre County.