Pennsylvania allows adults to own and carry a broad range of legal self-defense weapons, including handguns, rifles, shotguns, pepper spray, stun guns, tasers, and most knives. Some rules depend on the weapon, some depend on where you are in the state, and some depend on who you are. A few items that used to be banned, like switchblades, are now permitted. Others remain prohibited for everyone.
Firearms
You can buy and own handguns, rifles, and shotguns in Pennsylvania without a purchase permit. Background checks apply to all handgun and short-barreled firearm sales, including private ones, and private handgun transfers must run through a licensed dealer or the county sheriff’s office. Rifles and shotguns can be transferred privately without a background check, provided both people are legally eligible to possess firearms.1State Police | Commonwealth of Pennsylvania. Carrying Firearms in Pennsylvania
Concealed Carry and Carry in a Vehicle
Carrying a concealed firearm on your body, or transporting any firearm in a vehicle outside your home or place of business, requires a License to Carry Firearms (LTCF). Carrying without one is a third-degree felony. If you were otherwise eligible for the license and committed no other criminal violation, the charge drops to a first-degree misdemeanor.2Pennsylvania General Assembly. Pennsylvania Code Title 18 Chapter 61 – Section 6106
You apply through the sheriff in your county of residence, or the chief of police in Philadelphia. The minimum age is 21. The sheriff can deny the license if your character and reputation suggest you’d be a danger to public safety. The license lasts five years and costs $20.1State Police | Commonwealth of Pennsylvania. Carrying Firearms in Pennsylvania
Open Carry
Open carry without a license is legal across most of Pennsylvania for anyone 18 or older who is legally allowed to possess a firearm. Philadelphia is the major exception: both open and concealed carry require an LTCF inside the city.3City of Philadelphia. Gun Control Policies
Storage
Pennsylvania does not require any specific storage method and does not criminally penalize owners when a child accesses an unlocked firearm. Licensed dealers must provide a locking device with every handgun or short-barreled firearm sold, or confirm the buyer purchases one.
Pepper Spray
Pepper spray (OC spray) is not listed among Pennsylvania’s prohibited offensive weapons, and no state statute specifically regulates civilian possession. You can buy and carry it without a permit. The state sets no minimum age, though many retailers require buyers to be 18. Using it offensively rather than defensively can lead to assault charges under general criminal law.
Stun Guns and Tasers
Stun guns and tasers sit in an unusual spot. They appear on Pennsylvania’s offensive-weapons list,4Pennsylvania General Assembly. Pennsylvania Code Title 18 Chapter 9 – Section 908 but Act 119 of 2022 specifically authorizes adults 18 and older to possess them for self-defense or protection of property. No permit is required.
Using a stun gun or taser outside the bounds of self-defense can bring misdemeanor charges, and using one while committing another felony can elevate the charge to a felony. Anyone prohibited from possessing firearms under state or federal law is also barred from possessing a stun gun or taser.
Knives
Most knives are legal to own and carry. Folding knives, fixed-blade knives, and pocket knives are all permitted, and the state sets no maximum blade length. Carrying any knife with intent to use it unlawfully against another person is a crime regardless of the knife’s type or size.
Switchblades
Pennsylvania repealed its ban on automatic knives in late 2022, effective January 2, 2023. Switchblades are now legal to own and carry statewide. The state has no knife preemption law, however, so individual cities and towns can still restrict automatic knives through local ordinances. Check the rules where you live and where you plan to carry.
Weapons That Remain Illegal
Pennsylvania classifies several items as “offensive weapons” that no civilian may possess, sell, or use. Possession is a first-degree misdemeanor carrying up to five years in prison.4Pennsylvania General Assembly. Pennsylvania Code Title 18 Chapter 9 – Section 908 The list includes:
- Metal (brass) knuckles, blackjacks, and sandbags
- Bombs, grenades, and incendiary devices
- Machine guns
- Sawed-off shotguns with barrels under 18 inches
- Firearms designed for concealment or silent discharge
Compliance with the federal National Firearms Act is a defense under state law for everything on this list except bombs, grenades, and incendiary devices. Items like short-barreled shotguns and machine guns require ATF registration and a $200 federal tax stamp.5Bureau of Alcohol, Tobacco, Firearms and Explosives. National Firearms Act
Who Cannot Possess Weapons
A weapon that’s legal for most Pennsylvanians is illegal in certain hands. Federal law bars several categories of people from possessing any firearm or ammunition, including anyone convicted of a crime punishable by more than one year in prison, anyone subject to a domestic violence restraining order, anyone convicted of a misdemeanor crime of domestic violence, fugitives from justice, unlawful users of controlled substances, and anyone who has been committed to a mental institution.6Office of the Law Revision Counsel. 18 USC 922 Unlawful Acts
Pennsylvania’s own prohibited-persons list closely mirrors federal law and adds some state-specific offenses. If you fall into any of these categories, the prohibition extends to stun guns and tasers as well. Lying on a background check to buy a firearm you’re not allowed to own is a separate felony.
Where You Cannot Carry
Some places are off-limits for weapons regardless of your license. An LTCF does not override these rules.
Schools
Possessing any weapon in the buildings or on the grounds of an elementary or secondary school, whether public, private, or parochial, is a first-degree misdemeanor. Pennsylvania defines “weapon” broadly here to include knives, cutting tools, firearms, and anything else capable of causing serious injury. The only exception is a weapon used in a lawful supervised school activity.7Pennsylvania General Assembly. Pennsylvania Code Title 18 – Section 912
Federal Buildings and Courthouses
Bringing a firearm or dangerous weapon into a federal building is a federal crime carrying up to one year in prison. If you bring the weapon intending to use it in a crime, the maximum rises to five years. Federal courthouses carry a penalty of up to two years.8Office of the Law Revision Counsel. 18 USC 930 Possession of Firearms and Dangerous Weapons in Federal Facilities State courthouses are restricted under Pennsylvania’s own court-facility statute.
Other Restricted Places
Airports, correctional facilities, and secured government buildings prohibit weapons. Private property owners can bar weapons from their premises, and ignoring posted signage can result in trespassing charges even where your carry is otherwise lawful.
When You Can Actually Use a Self-Defense Weapon
Owning a legal weapon doesn’t entitle you to use it. Pennsylvania justifies force only when you reasonably believe it’s immediately necessary to protect yourself against another person’s unlawful force.9Pennsylvania General Assembly. Pennsylvania Code Title 18 – Section 505 A past threat or a future one doesn’t meet that standard.
Deadly force has a higher bar. You can use it only if you believe you’re facing death, serious injury, kidnapping, or sexual assault by force. Pennsylvania also follows a version of the castle doctrine: inside your home or vehicle, the law presumes deadly force is reasonable if an intruder unlawfully enters or tries to remove you by force.9Pennsylvania General Assembly. Pennsylvania Code Title 18 – Section 505
Outside the Home
Since 2011, Pennsylvania has had a stand-your-ground rule. If you’re somewhere you have a right to be, you’re not engaged in criminal activity, and you’re not illegally possessing a firearm, you have no duty to retreat before using deadly force, provided the attacker displays or uses a firearm (or replica) or another weapon capable of causing death.9Pennsylvania General Assembly. Pennsylvania Code Title 18 – Section 505 If the attacker is unarmed, the general duty to retreat before using deadly force still applies when retreat is possible.
A legally carried weapon becomes an illegal use of force the moment you deploy it without justification. Prosecutors scrutinize whether your belief was reasonable and whether the threat warranted the force you used.
Crossing State Lines
Pennsylvania’s rules stop at the state border. Your LTCF is honored in some states through reciprocity and not in others. The federal safe-passage provision lets you transport a firearm through states where you couldn’t otherwise carry, as long as the gun is unloaded and stored where you can’t reach it from the passenger compartment, usually the trunk. If the vehicle has no separate trunk, the firearm must be in a locked container other than the glove compartment or center console.10Office of the Law Revision Counsel. 18 USC 926A Interstate Transportation of Firearms
Pepper spray and stun guns have no federal safe-passage equivalent. New Jersey and New York in particular impose strict rules on both, and possession that is perfectly legal in Pennsylvania can produce criminal charges once you cross the line. Check every state on your route before you travel.
Air Travel
Pepper spray, stun guns, and firearms cannot go in carry-on luggage. The TSA allows one container of pepper spray, up to 4 fluid ounces, in checked baggage if it has a safety mechanism to prevent accidental discharge. Sprays containing more than 2% tear gas are prohibited even in checked bags.11Transportation Security Administration. Pepper Spray Firearms may be checked in a locked, hard-sided container with ammunition stored separately, subject to each airline’s own policy.