Pennsylvania’s Crimes Code, codified at Title 18 of the Pennsylvania Consolidated Statutes, defines every criminal offense in the commonwealth and sets the penalties for each. It is organized into two parts: preliminary provisions covering jurisdiction, mental-state requirements, and defenses, followed by the individual offenses themselves grouped by the type of harm involved.1Justia. Pennsylvania Code Title 18 – Crimes and Offenses Every offense has its own section number, so simple assault is Section 2701 and aggravated assault is Section 2702.2Pennsylvania General Assembly. Pennsylvania Code Title 18 – Chapter 27 Knowing the section number lets you look up the exact elements a prosecutor must prove.
How Offenses Are Grouped Inside the Code
Part II of Title 18 arranges offenses by category. Crimes against the person come first (homicide, assault, kidnapping, sexual offenses), followed by property crimes (theft, burglary, arson), offenses against public administration (perjury, obstruction), and offenses against public order (disorderly conduct, firearms violations). Statutes addressing similar harms sit next to each other, which keeps the standards used within each category consistent.
The Three Tiers of Criminal Offenses
Every offense in Title 18 falls into one of three tiers: summary offense, misdemeanor, or felony. The tier determines where the case is heard, how severe the maximum penalty can be, and how deeply a conviction reaches into the rest of your life.
Summary Offenses
Summary offenses are the least serious charges. Disorderly conduct, public drunkenness, and minor harassment cases often land here. The maximum jail sentence is 90 days, and fines top out at $300.3Cornell Law Institute. 101 Pa Code 15.66 – Offenses and Penalties These cases are handled in magisterial district courts rather than the Court of Common Pleas, and the procedures are simpler than for higher-level charges.
Misdemeanors
Misdemeanors cover a broad middle ground. Simple assault, a first DUI, or retail theft of a modest amount can all be charged as misdemeanors. A misdemeanor conviction creates a criminal record that shows up on background checks for employment, housing, and professional licensing. Pennsylvania grades misdemeanors into three degrees:
- First-degree misdemeanor: up to 5 years in prison and a fine of up to $10,000.4Pennsylvania General Assembly. Pennsylvania Code Title 18 Section 1104 – Sentence of Imprisonment for Misdemeanors5Pennsylvania General Assembly. Pennsylvania Code Title 18 Chapter 11 – Authorized Disposition of Offenders – Section 1101
- Second-degree misdemeanor: up to 2 years in prison and a fine of up to $5,000.4Pennsylvania General Assembly. Pennsylvania Code Title 18 Section 1104 – Sentence of Imprisonment for Misdemeanors
- Third-degree misdemeanor: up to 1 year in prison and a fine of up to $2,500. An unspecified misdemeanor defaults to this level.4Pennsylvania General Assembly. Pennsylvania Code Title 18 Section 1104 – Sentence of Imprisonment for Misdemeanors
Felonies
Felonies are reserved for the most harmful conduct: aggravated assault, robbery, burglary, arson, rape, drug trafficking, and others. A felony conviction carries years of potential prison time along with the loss of firearm rights and significant barriers to employment. The three felony degrees:
- First-degree felony: up to 20 years in prison and a fine of up to $25,000. Rape, kidnapping, and aggravated assault causing serious bodily injury fall here.6Pennsylvania General Assembly. Pennsylvania Code Title 18 Section 1103 – Sentence of Imprisonment for Felony5Pennsylvania General Assembly. Pennsylvania Code Title 18 Chapter 11 – Authorized Disposition of Offenders – Section 1101
- Second-degree felony: up to 10 years in prison and a fine of up to $25,000. Burglary and robbery often fall here.6Pennsylvania General Assembly. Pennsylvania Code Title 18 Section 1103 – Sentence of Imprisonment for Felony
- Third-degree felony: up to 7 years in prison and a fine of up to $15,000. Any felony labeled a felony without a degree defaults here.6Pennsylvania General Assembly. Pennsylvania Code Title 18 Section 1103 – Sentence of Imprisonment for Felony
These maximums are not guidelines. A judge cannot exceed them unless a separate statute authorizes an enhanced penalty.
Offenses That Sit Outside the Degree System
Murder is graded separately. First-degree murder (intentional killing) and second-degree murder (killing during a felony) carry mandatory life sentences without parole. Third-degree murder is classified as a first-degree felony with the 20-year maximum, though a court may impose a higher sentence under separate sentencing statutes. Some other offenses are graded as “ungraded” felonies or misdemeanors, meaning the legislature wrote a custom penalty directly into that statute rather than using the standard tiers.
The Mental State the Prosecution Must Prove
Charging someone with a crime is not enough. Chapter 3 of Title 18 requires the prosecution to prove the person’s state of mind for each element of the offense, unless the statute specifically imposes strict liability.7Pennsylvania General Assembly. Pennsylvania Code Title 18 – Chapter 3 Culpability Four levels of culpability appear across the code:
- Intentionally. The person’s conscious goal was to cause the result or engage in the conduct. Aiming a gun at someone and pulling the trigger to kill them is intentional.
- Knowingly. The person was aware their conduct was of a certain nature or that a particular result was practically certain. Shipping a package known to contain illegal drugs is knowing conduct even if delivery was not the primary aim.
- Recklessly. The person consciously ignored a substantial and unjustifiable risk. Firing a gun into a crowd without aiming is reckless.
- Negligently. The person should have been aware of a substantial risk but failed to perceive it. A parent leaving a loaded firearm within a child’s reach may be negligent even without thinking about the danger.
The distinction matters at sentencing and sometimes determines which offense is charged. Killing someone intentionally is murder; killing someone recklessly may be involuntary manslaughter. The code also requires a voluntary physical act, so involuntary movements or reflexes cannot form the basis of criminal liability.7Pennsylvania General Assembly. Pennsylvania Code Title 18 – Chapter 3 Culpability
Attempt, Solicitation, and Conspiracy
Pennsylvania punishes certain crimes even when the intended offense was never completed. Chapter 9 of Title 18 defines three inchoate offenses that allow prosecution at the planning stage.
Criminal attempt requires a substantial step toward committing a specific crime with the intent to carry it out. Buying tools for a burglary and driving to the target location can qualify, even if the person never gets inside. It is no defense that completing the crime was actually impossible because of circumstances the person misunderstood.8Pennsylvania General Assembly. Pennsylvania Code Title 18 – Section 901 Criminal Attempt
Criminal solicitation is asking or encouraging someone else to commit a crime, with the intent that the crime actually happen. Criminal conspiracy requires an agreement between two or more people to commit a crime, plus at least one overt act in furtherance of the agreement. Talk alone is not enough; someone in the group must take a concrete step.9Pennsylvania General Assembly. Pennsylvania Code Title 18 – Sections 902-903
All three inchoate offenses are graded at the same level as the completed target crime. Attempted robbery carries the same maximum sentence as robbery itself.10Pennsylvania General Assembly. Pennsylvania Code Title 18 Section 905 – Grading of Criminal Attempt, Solicitation, and Conspiracy A court has discretion to dismiss the prosecution if the conduct was so unlikely to succeed that neither the act nor the defendant posed a real public danger, but that safety valve is rarely used.
Defenses the Code Recognizes
Title 18 also spells out when otherwise-criminal conduct is legally justified or excused. Once a defense is properly raised, the burden often shifts to the prosecution to disprove it beyond a reasonable doubt.
Self-Defense and the Castle Doctrine
Under Section 505, you may use force against another person when you reasonably believe it is immediately necessary to protect yourself from unlawful force. Non-deadly force is the default. Deadly force is justified only when you believe it is necessary to prevent death, serious bodily injury, kidnapping, or sexual assault by force.11Pennsylvania General Assembly. Pennsylvania Code Title 18 Section 505 – Use of Force in Self-Protection
Pennsylvania recognizes a castle doctrine. If someone is unlawfully and forcibly entering your home, residence, or occupied vehicle, the law presumes you had a reasonable belief that deadly force was necessary. That presumption shifts the burden onto the prosecution to overcome it.11Pennsylvania General Assembly. Pennsylvania Code Title 18 Section 505 – Use of Force in Self-Protection
Outside the home, Pennsylvania has a limited stand-your-ground provision. You have no duty to retreat from any place where you have a right to be if you are not engaged in criminal activity, are not illegally possessing a firearm, and the attacker displays a firearm or other weapon capable of causing death or serious injury. If any of those conditions fails, the general duty to retreat before using deadly force applies whenever retreat can be accomplished safely.11Pennsylvania General Assembly. Pennsylvania Code Title 18 Section 505 – Use of Force in Self-Protection
Necessity (Choice of Evils)
Section 503 provides a general justification defense when a person commits what would normally be a crime to avoid a greater harm. Three conditions must be met: the harm avoided must be greater than the harm caused, the specific offense statute must not already address the situation with its own exception, and the legislature must not have clearly meant to exclude the justification. If the person was reckless or negligent in creating the emergency, the defense is unavailable for crimes where that lower mental state is enough for conviction.12New York Codes, Rules and Regulations. Pennsylvania Code Title 18 Section 503 – Justification Generally
Insanity and Guilty but Mentally Ill
Pennsylvania uses the traditional M’Naghten test. A defendant is legally insane if, at the time of the offense, a mental disease or defect left them unable to understand the nature of their actions or to know that what they were doing was wrong. If a jury rejects the insanity claim but finds the defendant was mentally ill at the time, Pennsylvania allows a verdict of “guilty but mentally ill,” which is a conviction that triggers access to mental health treatment during incarceration.
Time Limits on Prosecution
A statute of limitations sets the deadline for filing charges. Once it expires, prosecution is barred regardless of the evidence. Pennsylvania’s time limits sit in Title 42, Chapter 55, not in the Crimes Code itself, but they shape how Title 18 offenses actually get charged.
Some offenses can be prosecuted at any time. Murder, voluntary manslaughter, and any conspiracy or solicitation resulting in a murder have no limitation period. Fatal hit-and-run and vehicular homicide fall in the same category, as do certain sexual offenses against children including rape and statutory sexual assault, and aggravated assault against a law enforcement officer acting in the line of duty.13Pennsylvania General Assembly. Pennsylvania Code Title 42 Section 5551 – No Limitation Applicable
A five-year deadline applies to many serious offenses: aggravated assault, kidnapping, robbery, burglary, arson, most theft offenses, forgery, insurance fraud, perjury, bribery, witness intimidation, drug offenses, and firearms transfer violations, among others.14Pennsylvania General Assembly. Pennsylvania Code Title 42 Section 5552 – Other Offenses Attempted murder, solicitation to commit murder where no murder occurs, and conspiracy to commit murder also fall in the five-year window.
Everything else defaults to a two-year statute of limitations, which covers most misdemeanors and lower-level felonies not specifically listed elsewhere.14Pennsylvania General Assembly. Pennsylvania Code Title 42 Section 5552 – Other Offenses Because that clock can run out quickly, victims and witnesses who want charges filed should report offenses promptly.
Clearing a Record After a Case Ends
A Pennsylvania record does not necessarily follow you forever. Three separate mechanisms can clear or hide a case, and which one applies depends on how the case ended and what the offense was.
Expungement
Traditional expungement under 18 Pa.C.S. Section 9122 removes records entirely. It is available in limited circumstances: cases that ended in acquittal or dismissal, summary convictions after five years with no subsequent arrests, and underage drinking convictions once the person turns 21. Expungement requires filing a petition in the court that handled the case.
Clean Slate
Pennsylvania’s Clean Slate law, effective in 2019, introduced automatic sealing of certain records. Sealed records are hidden from public background checks but remain accessible to law enforcement and certain licensing agencies. Automatic sealing applies to summary convictions after five years with no subsequent arrests, and to certain misdemeanor and felony convictions after longer waiting periods. Most misdemeanor convictions become eligible after seven years, and some felony convictions qualify after ten years, if the person has stayed arrest-free and completed all terms of the sentence. Sexual offenses, crimes of violence graded as first-degree felonies, and offenses requiring sex offender registration are excluded.
Accelerated Rehabilitative Disposition
ARD is a pretrial diversion program that gives first-time offenders a path to having charges dismissed. The district attorney decides which cases to recommend, and a judge must approve the placement. The program lasts up to two years and can include community service, restitution, and counseling. On successful completion, the charges are dismissed and the court orders the arrest record expunged. The commonwealth can object only by presenting compelling reasons to retain the record.15Pennsylvania Code and Bulletin. Pennsylvania Rules of Criminal Procedure Chapter 3 – Accelerated Rehabilitative Disposition One caveat: although ARD is not a conviction, it can count as a prior offense for sentencing purposes if you are convicted of a new crime later. A prior ARD for DUI, for instance, counts as a first offense when calculating the tier for a subsequent DUI charge.
Collateral Consequences Beyond the Sentence
The statutory maximums are only part of what a conviction costs. A felony conviction strips your right to possess firearms under both state and federal law. Convictions for crimes involving dishonesty can disqualify you from professional licenses in fields like nursing, teaching, and accounting. Even a misdemeanor can derail a job application, since most Pennsylvania employers run background checks.
Court costs, supervision fees, and restitution are layered on top of the fines listed in the sentencing statutes, and they vary by county and by the specific conditions a judge attaches to probation or parole. Violating probation can result in the original maximum prison sentence being imposed, even for a relatively minor infraction.
When Federal Law Also Applies
Some conduct violates both Pennsylvania and federal law at the same time. Drug trafficking, firearms offenses, and fraud are common examples. Under the dual sovereignty doctrine, the U.S. Supreme Court has held that being prosecuted by both the state and federal government for the same act does not violate the constitutional protection against double jeopardy, because each government is a separate sovereign enforcing its own laws. The Court reaffirmed this in its 2019 decision in Gamble v. United States. If your conduct crosses into federal territory, you can face charges in both systems with independent penalties.