Maryland vs. Pennsylvania Gun Laws
Maryland and Pennsylvania take different approaches to permits to buy a gun, assault weapon bans, magazine limits, waiting periods, red flag laws and stand your ground. They also differ in the details of concealed carry permits, which other states' permits they honor, open carry, the minimum age to buy a gun, background checks on private sales and the castle doctrine. Here's each state's rule, with its law.
Maryland checked against official sources on 2026-10-05, Pennsylvania on 2026-09-25.
Side by side
- Concealed Carry: Maryland: Shall-issue permit required (since 2022); Pennsylvania: Shall-issue permit required
- Concealed Carry Reciprocity: Maryland: None. It doesn't honor any other state's carry permit; Pennsylvania: Reciprocity with 31 states, for residents of those states 21+
- Open Carry: Maryland: Permit required; generally restricted; Pennsylvania: Permitted without a permit except in vehicles and Philadelphia
- Permit to Purchase: Maryland: Required for handguns; Pennsylvania: Not required
- Minimum Age to Buy: Maryland: 21 for handguns and assault weapons; 18 for other rifles and shotguns; Pennsylvania: 18 for rifles and shotguns; 21 for handguns from a dealer (federal law)
- Assault Weapon Ban: Maryland: Yes, assault weapons banned by name and feature; Pennsylvania: No ban
- Magazine Limit: Maryland: 10 rounds maximum for sales and transfers; possession not banned; Pennsylvania: No limit
- Waiting Period: Maryland: 7 days for regulated firearms; Pennsylvania: None
- Universal Background Check: Maryland: Required for all sales and transfers; Pennsylvania: Required for handgun sales; not required for long gun private sales
- Red Flag Law (ERPO): Maryland: Yes (Extreme Risk Protective Order); Pennsylvania: No state ERPO law
- Castle Doctrine: Maryland: Yes: home only (court decisions, no statute); Pennsylvania: Yes: home and vehicle
- Stand Your Ground: Maryland: Duty to retreat outside the home; Pennsylvania: Yes, if the attacker shows or uses a weapon
Where they differ
Permit to Purchase
- Maryland: Required for handguns To buy a handgun you need a Handgun Qualification License (HQL) from the State Police. That takes a safety class of at least four hours, fingerprints, and an application fee of up to $50. The license lasts 10 years.
A dealer or any other person may not sell, rent, or transfer a handgun to a purchaser, lessee, or transferee unless the purchaser, lessee, or transferee presents to the dealer or other person a valid handgun qualification license issued to the purchaser, lessee, or transferee by the Secretary under this section.
(Md. Pub. Safety § 5-117.1) - Pennsylvania: Not required
Assault Weapon Ban
- Maryland: Yes, assault weapons banned by name and feature The ban covers guns on Maryland's list by name, like AR-15 and AK-style rifles, plus "copycat" guns with certain features. If you had one, or had ordered one, before October 1, 2013, you can keep it.
a person may not: (1) transport an assault weapon into the State; or (2) possess, sell, offer to sell, transfer, purchase, or receive an assault weapon.
(Md. Crim. Law § 4-303) - Pennsylvania: No ban
Magazine Limit
- Maryland: 10 rounds maximum for sales and transfers; possession not banned Maryland bans getting a magazine over 10 rounds, not owning one. You can't buy, sell or receive one, but there's no law against keeping the ones you already have.
A person may not manufacture, sell, offer for sale, purchase, receive, or transfer a detachable magazine that has a capacity of more than 10 rounds of ammunition for a firearm.
(Md. Crim. Law § 4-305) - Pennsylvania: No limit
Waiting Period
- Maryland: 7 days for regulated firearms Maryland calls handguns "regulated firearms," and a dealer can't hand one over until seven days after you fill out the application. Ordinary rifles and shotguns don't have this wait.
A licensee may not sell, rent, or transfer a regulated firearm until after 7 days following the time a firearm application is executed by the firearm applicant, in triplicate, and the original is forwarded by the prospective seller or transferor to the Secretary.
(Md. Pub. Safety § 5-123) - Pennsylvania: None
Red Flag Law (ERPO)
- Maryland: Yes (Extreme Risk Protective Order) It's a civil order, not a criminal charge. Police, relatives, a spouse or partner, someone who lives with the person, and doctors or mental health professionals who've examined them can ask a court for one.
“Extreme risk protective order” means a civil interim, temporary, or final protective order issued in accordance with this subtitle.
(Md. Pub. Safety § 5-601) - Pennsylvania: No state ERPO law
Stand Your Ground
- Maryland: Duty to retreat outside the home
- Pennsylvania: Yes, if the attacker shows or uses a weapon (18 Pa.C.S. § 505(b)(2.3))
Same idea, different details
Concealed Carry
- Maryland: Shall-issue permit required (since 2022) Since the Supreme Court's 2022 Bruen decision, Maryland no longer asks for a "good and substantial reason" to carry. The State Police have to issue the permit if you qualify, which includes 16 hours of in-person training.
A person shall have a permit issued under this subtitle before the person carries, wears, or transports a handgun.
(Md. Pub. Safety § 5-303) - Pennsylvania: Shall-issue permit required (18 Pa.C.S. § 6109)
Concealed Carry Reciprocity
- Maryland: None. It doesn't honor any other state's carry permit
- Pennsylvania: Reciprocity with 31 states, for residents of those states 21+ (Pennsylvania Office of Attorney General: Reciprocity)
Open Carry
- Maryland: Permit required; generally restricted (Md. Pub. Safety § 5-303)
- Pennsylvania: Permitted without a permit except in vehicles and Philadelphia
Minimum Age to Buy
- Maryland: 21 for handguns and assault weapons; 18 for other rifles and shotguns Maryland calls handguns and assault weapons "regulated firearms," and no dealer or private seller can sell one to someone under 21. Rifles and shotguns that aren't regulated can be bought at 18. (Md. Code, Pub. Safety § 5-134(b))
- Pennsylvania: 18 for rifles and shotguns; 21 for handguns from a dealer (federal law) Pennsylvania doesn't set a higher age than federal law. Rifles and shotguns can be bought at 18. Most private handgun sales here have to go through a licensed dealer or a county sheriff's office, with exceptions such as transfers between spouses, parents and children, or grandparents and grandchildren. Dealers apply the federal 21 rule for handguns; we haven't confirmed how a sheriff's office handles an 18-to-20-year-old buyer, so ask before you plan on it. In September 2026 the Justice Department said it won't criminally enforce that limit against dealers who sell handguns to law-abiding 18-to-20-year-olds, but the statute hasn't changed and a dealer can still decline. (18 U.S.C. § 922(b)(1))
Universal Background Check
- Maryland: Required for all sales and transfers Private sales of rifles and shotguns have to go through a licensed dealer, who handles it as if selling the gun from its own stock, background check included. Handgun sales already had their own rule. Transfers between immediate family members are exempt.
Before a sale, rental, or transfer is conducted, the seller, lessor, or transferor and purchaser, lessee, or transferee shall both request that a licensee facilitate the sale, rental, or transfer.
(Md. Pub. Safety § 5-204.1) - Pennsylvania: Required for handgun sales; not required for long gun private sales (18 Pa.C.S. § 6111)
Castle Doctrine
- Maryland: Yes: home only (court decisions, no statute) There's no castle doctrine statute. Maryland's courts hold that you don't have to retreat from your own home before defending yourself, but everywhere else you do if you safely can. (Md. Dept. of Legislative Services, citing Burch v. State (1997))
- Pennsylvania: Yes: home and vehicle If someone forcibly breaks into your home or occupied vehicle, the law presumes you reasonably believed deadly force was necessary. At work you don't have to retreat, but there's no presumption. (18 Pa.C.S. § 505(b)(2.1))
Keep going
- Every Maryland gun law
- Every Pennsylvania gun law
- How to Get a Maryland Wear and Carry Permit
- How to Get a Pennsylvania License to Carry Firearms
- Driving between Maryland and Pennsylvania with a gun
- Compare any states
More comparisons
- Maryland vs. Virginia
- Delaware vs. Maryland
- New York vs. Pennsylvania
- New Jersey vs. Pennsylvania
- Ohio vs. Pennsylvania
Not legal advice. Laws change; verify with official sources.