Pennsylvania law, checked against the statutes

Pennsylvania Laws: What Is Legal in PA and What Is Not

Is it legal in Pennsylvania, or could it cost you a fine, your license or a criminal record? Legal in Penn answers your questions about Pennsylvania laws with the short answer first, the statute that says so, and what happens if you get it wrong.

Pennsylvania state law has shifted in ways that catch people off guard. Phones in drivers’ hands were banned under Paul Miller’s Law in 2024, sports betting and online casinos have been legal since a 2017 gaming expansion, and medical marijuana has been legal since 2016 while recreational weed is still a crime under state law. If you learned the rules a while ago, some of them have moved.

Every guide on this site starts with the law in Pennsylvania itself: the Pennsylvania Consolidated Statutes (Pa.C.S.), the older statutes still cited in Purdon’s (P.S.), the Pennsylvania Code of agency regulations, and the agency that enforces the rule, such as PennDOT, the Pennsylvania State Police or the Department of Labor and Industry. We cite the exact section, date every update and keep the writing clear.

Is it legal in Pennsylvania? Quick answers

These are some of the questions people in PA ask most. Each answer is short on purpose, with the law behind it so you can check it yourself.

QuestionShort answerWhere it comes from
Is weed legal in Pennsylvania?Not for recreational use. Possessing 30 grams or less is a misdemeanor under state law, though Philadelphia, Pittsburgh and some other cities treat small amounts as a civil fine. Registered patients may buy medical marijuana from licensed dispensaries.35 P.S. 780-113, Medical Marijuana Act (Act 16 of 2016)
Is sports betting legal in Pennsylvania?Yes, for adults 21 and older, through operators licensed by the Pennsylvania Gaming Control Board, in person or online.Act 42 of 2017, 4 Pa.C.S. Ch. 13C
Can you hold your phone while driving?No. Paul Miller’s Law bans using a handheld phone while driving, even at a red light. Fines began after a one-year warning period ended in June 2025.75 Pa.C.S. 3316, Act 18 of 2024
Do you need a license to carry a gun?For concealed carry and for carrying a loaded handgun in a vehicle, yes. Open carry is generally allowed without one, except in Philadelphia, where a license is required.18 Pa.C.S. 6106, 18 Pa.C.S. 6108
Is common law marriage legal in Pennsylvania?Not for new couples. Pennsylvania stopped recognizing common law marriages entered after January 1, 2005. Older ones can still be valid.23 Pa.C.S. 1103
Is lane splitting legal in PA?No. Motorcyclists may not ride between lanes of traffic or between rows of vehicles.75 Pa.C.S. 3523
Are fireworks legal in Pennsylvania?Yes, adults 18 and older may buy and use consumer fireworks, with limits on where you can set them off.Act 43 of 2017

Browse Pennsylvania law guides by topic

Cannabis & Drugs

Marijuana, medical cards, THC and hemp, CBD, kratom.

Driving & Vehicles

Window tint, car seats, DUI, Paul Miller’s Law, lemon law.

Guns & Weapons

License to carry, knives, suppressors, stand your ground.

Marriage, Divorce & Family

Divorce, common law marriage, custody, age of consent.

Work & Pay

Labor laws, breaks, child labor, workers’ comp, final pay.

Gambling & Betting

Sports betting, online casinos, skill games, DFS apps.

Abortion & Health

Abortion law, vaping rules, medical consent.

Housing & Property

Security deposits, evictions, squatters, trees and probate.

Crime & Courts

Megan’s Law, recording laws, Clean Slate, Right-to-Know.

Everyday Life

Alcohol laws, fireworks, cottage food, weird laws.

Outdoors & Animals

Hunting, exotic pets, dog bite laws, burn bans.

News & New Laws

New Pennsylvania laws and when they take effect.

Latest Pennsylvania law guides

    How Pennsylvania state laws are made and when they start

    Most laws of Pennsylvania come from the General Assembly, a full-time legislature with a 50-member Senate and a 203-member House of Representatives that meets in two-year sessions. A bill becomes law when both chambers pass it and the governor signs it, or lets it become law without a signature. Each new law is numbered as an Act of that year, such as Act 18 of 2024.

    Under the Statutory Construction Act, a new Pennsylvania law takes effect 60 days after it is enacted unless the act sets its own date, and many do. That is why every guide on this site lists the effective date of the law it covers instead of assuming one.

    Some rules come from elsewhere. State agencies write regulations that carry the force of law, such as PennDOT’s vehicle inspection rules. Courts decide what a statute means, and the Supreme Court of Pennsylvania has the final word on state law. Cities, boroughs and townships add ordinances on top, so a rule in Philadelphia or Pittsburgh can differ from the statewide rule.

    Philadelphia and local rules: Philadelphia has its own rules in several areas, from small-amount marijuana penalties to the license needed to carry a firearm openly. A local ordinance does not change state law, and state charges can still apply. Our guides point out local differences like this wherever they matter.

    Where to read the Pennsylvania law books yourself

    Pennsylvania law is split between two sets of books. The Pennsylvania Consolidated Statutes (Pa.C.S.) are organized into titles by subject, such as Title 18 for crimes, Title 23 for domestic relations and Title 75 for vehicles. A citation like 75 Pa.C.S. 3316 means Title 75, Section 3316. Laws that have not yet been moved into the consolidated statutes are cited from Purdon’s Pennsylvania Statutes, written as P.S., such as 35 P.S. 780-113 for drug offenses.

    The General Assembly posts the statutes, bills and new acts on its official website for free. Agency regulations appear in the Pennsylvania Code, and new rules and notices are published each week in the Pennsylvania Bulletin. Print volumes and annotated editions are available at county law libraries and law school libraries across the state.

    Getting legal help in Pennsylvania

    Our guides explain the law; they cannot tell you what to do in your case. If you need legal advice, look for a lawyer licensed in Pennsylvania, or ask the Pennsylvania Bar Association or your county bar association about its lawyer referral service. If money is the obstacle, the legal aid programs of the Pennsylvania Legal Aid Network offer free help to eligible people with civil problems like evictions, family cases and benefits, and county public defenders represent people who cannot afford a lawyer in criminal cases.

    Who writes Legal in Penn

    Guides are written by Corinne Halloway and checked by the Legal in Penn editorial team. Every legal claim is checked against a primary source before it goes live, and again when the law changes. Read our editorial policy to see exactly how a guide is made, or our corrections policy to report an error.

    Frequently asked questions about Pennsylvania law

    What is the difference between Pa.C.S. and P.S.?

    Pa.C.S. is the Pennsylvania Consolidated Statutes, the modern code organized by title. P.S. refers to Purdon’s Pennsylvania Statutes, which holds older laws that have not been consolidated yet. Both are current law, so a guide may cite either one.

    When do new Pennsylvania laws take effect?

    Unless an act sets its own date, it takes effect 60 days after enactment. Many acts choose a different date, and some take effect right away, so each guide lists the effective date of the law it covers.

    Can a Pennsylvania city have different laws from the state?

    Yes, within limits. Cities, boroughs and townships can pass ordinances on local matters and set their own penalties for some minor offenses. State law can also preempt local rules, as it does for most firearm regulation, so a local code cannot override it.

    Is it illegal in Pennsylvania to do something the law does not mention?

    No. In general, conduct is legal unless a statute, regulation or ordinance prohibits it. That is why many of our guides answer “is it legal in PA” by pointing out that no law bans the activity, while noting general laws that may still apply.

    Is Legal in Penn a law firm?

    No. We are an independent information site. We do not give legal advice or recommend lawyers. For help with your own case, contact a lawyer licensed in Pennsylvania or a legal aid program.