California Penal Code Lookup: Sections, Definitions, and Penalties

The fastest free way to do a California Penal Code lookup is the state’s official California Legislative Information site at leginfo.legislature.ca.gov. It carries the current text of every Penal Code section, lets you search by section number or keyword, and is updated as the legislature passes new laws.1California Legislative Information. California Legislative Information Homepage Finding the section is the easy part. Reading it correctly takes a little more, because Penal Code sections rarely stand alone.

Searching the Leginfo Site

The site is maintained by the Office of Legislative Counsel and is the authoritative online source for California codes. It’s free and requires no account.

On the homepage, use the Quick Code Search box. Select “PEN” from the code dropdown, then type either a section number (like 187) or a keyword (like “burglary” or “identity theft”).1California Legislative Information. California Legislative Information Homepage If you know the number, you’re there in seconds. If you don’t, you can also browse the full table of contents and drill down from parts to titles to chapters until you land on the right section.2California Legislative Information. California Penal Code – PEN

How Section Numbers Fit Together

The Penal Code is layered: parts, then titles, then chapters, then individual sections. Most criminal offenses live in Part 1 (crimes and punishments). Within that, titles group laws by subject, and each individual law has its own section number. Section 187, for example, defines murder as the unlawful killing of a human being with malice aforethought.3California Legislative Information. California Penal Code PEN 187 Those section numbers are what lawyers, courts, and police reports use.

Here’s what trips people up on their first lookup: a single offense often spans two or more sections. Section 459 defines burglary, but the split between first-degree and second-degree burglary is in Section 460, which classifies burglary of an inhabited dwelling as first degree and all other burglary as second degree.4California Legislative Information. California Penal Code PEN 460 Read only the first section and you’ll miss the framework. Whenever a statute mentions “as provided in Section X,” follow it.

Definitions That Change What the Statute Means

Section 7 defines terms that appear throughout the entire Penal Code, and a few of them don’t mean what they look like.

“Willfully” just means you did the act on purpose. It does not require any intent to break the law or to hurt anyone. “Knowingly” means you knew the relevant facts existed, not that you knew those facts made your conduct illegal. “Malice” and “maliciously” mean an intent to do a wrongful act or a wish to annoy or injure someone.5California Legislative Information. California Penal Code PEN 7 When any of these words appear in a statute, Section 7 tells you exactly what the prosecution has to prove.

Following Cross-References and Enhancements

Reading a Penal Code section in isolation almost never gives you the full picture. Statutes reference other sections for definitions, degrees, sentencing rules, and enhancements. Learning to follow those threads is the core research skill.

The murder statutes show this clearly. Section 187 defines the crime but says nothing about degrees. Section 189 spells out the circumstances that make a killing first-degree murder, including premeditated killings and murders committed during certain felonies like robbery or arson, and then provides that all other murders are second degree.3California Legislative Information. California Penal Code PEN 187 Stop at Section 187 and you’ve missed the entire degree structure.

Enhancements are the other trap. They’re separate code sections that add prison time when specific aggravating factors are present. They don’t stand alone as crimes; they attach to an underlying offense. Firearm enhancements under Section 12022.53 add 10 years for personal use of a firearm, 20 years for intentional discharge, and 25 years to life when the discharge causes great bodily injury or death. Those terms are consecutive, stacking on top of the sentence for the base crime.6California Legislative Information. California Penal Code PEN 12022.53 A robbery sentence that looks like a few years in the base statute can turn into decades once an enhancement applies. Gang-related enhancements under Section 186.22 work the same way, adding prison time based on whether the underlying crime is classified as serious or violent.

The Penal Code also references other codes. Drug offenses tie into the Health and Safety Code, DUI definitions live in the Vehicle Code, and evidentiary rules come from the Evidence Code. The leginfo site lets you search all of them from the same interface.

Offense Categories and Default Penalties

California divides all criminal offenses into three categories: felonies, misdemeanors, and infractions.7California Legislative Information. California Penal Code Section 16 The category tells you the seriousness, the penalty range, and the procedural rights that apply.

Infractions are the least serious, punishable by a fine only with no jail time, and generally no right to a jury trial or appointed counsel.8California Legislative Information. California Penal Code PEN 19.6 Misdemeanors are punishable by up to one year in county jail.9California Legislative Information. California Penal Code PEN 19.2 When a statute defines a misdemeanor without stating a penalty, the default under Section 19 is up to six months in jail, a fine of up to $1,000, or both.10California Legislative Information. California Penal Code PEN 19 Felonies are any crimes punishable by death, imprisonment in state prison, or imprisonment in county jail under the realignment provisions of Section 1170(h).11California Legislative Information. California Penal Code PEN 17

Some crimes, called wobblers, can be charged as either a felony or a misdemeanor. The prosecutor makes the initial call. Even after a felony conviction, a wobbler can sometimes be reduced to a misdemeanor if the court grants probation and later declares the offense a misdemeanor, or if the judge determines before trial that misdemeanor treatment is appropriate.11California Legislative Information. California Penal Code PEN 17 The distinction matters for employment background checks, professional licensing, and immigration.

Free Tools That Go Beyond Statute Text

The leginfo site gives you the raw statute. For context, a few free resources are worth knowing.

CALCRIM Jury Instructions

The California Criminal Jury Instructions, known as CALCRIM, are published by the Judicial Council and explain what the prosecution must prove for each offense in plain language.12Judicial Branch of California. California Jury Instructions If you’re trying to understand what “malice aforethought” actually requires, or what distinguishes robbery from theft, CALCRIM breaks each offense down element by element. They’re free on the California Courts website.

Case Law

A statute’s plain text doesn’t always tell you how it plays out in court. Published decisions from the California Supreme Court and Courts of Appeal interpret statutory language against real facts. Google Scholar’s case law search is a solid free option, and the California Courts website (courts.ca.gov) also publishes opinions.

Justia, FindLaw, and Paid Databases

Justia (justia.com) and FindLaw (findlaw.com) publish Penal Code text and are handy for quick lookups, but they can lag behind leginfo when new laws take effect. Always double-check anything critical against the official site. Westlaw and LexisNexis carry annotated versions with case summaries and cross-references. Those subscriptions are expensive for individuals but are often available for free at county law libraries and law school libraries.

Public Libraries

Many county and city libraries keep annotated copies of the Penal Code, and county courthouse law libraries typically have the most extensive collections, including historical versions of the code. Librarians can show you how to use an index and point you to relevant materials, though they cannot give legal advice. Some libraries also offer on-site access to Westlaw or LexisNexis.

Finding Out Why a Statute Was Changed

Sometimes the text alone isn’t enough and you need to know why a law was enacted or amended. Every bill on the leginfo site includes the Legislative Counsel’s Digest at the top, a short summary of what the bill changes in existing law. Committee staff also produce bill analyses that go deeper into the reasoning and policy goals. Bill text and the Digest are available on leginfo for bills from 1999 forward, with analyses reaching back to the 1993–1994 session.13California State Library. California Legislative History – Basic Online Research For older material, the California State Library and county law libraries maintain archived journals, bill texts, and committee reports going back to the mid-1800s.

When To Stop Researching and Call an Attorney

Looking up a statute and understanding how it applies to a specific set of facts are two different things. Court decisions, enhancements, and prosecutorial discretion all shape what a statute means in practice, and misreading a section can lead you to underestimate the penalty or miss a defense. If you’re facing charges, or trying to figure out how a prior conviction affects employment, licensing, or immigration status, a lawyer can assess your situation, track recent amendments, and identify issues the statute text won’t reveal on its own. The tools above are a strong starting point. They’re most useful as preparation for that conversation.