A charge code lookup starts with the document in front of you: find the code exactly as printed, identify whether it points to state or federal law, and match it to the statute in the appropriate free government database. That gives you the offense, its classification, and the penalty range. The rest of the work is reading the subsections carefully and knowing which consequences live outside the statute itself.
Find the Code on Your Document
On a traffic ticket or court summons, the code usually sits near the top or center of the page next to a label like “Offense,” “Violation Code,” or “Statute.” Formats vary. Some jurisdictions use a clean numeric string separated by dashes or dots; others mix letters and numbers. Copy it exactly as printed, punctuation included.
Then decide whether the charge is state or federal. A code that references a state penal code, vehicle code, or health and safety code points to state law. A code citing “18 U.S.C.” or any other title of the United States Code is a federal offense.1Office of the Law Revision Counsel. 18 USC – Crimes and Criminal Procedure If the document is ambiguous, look at the court name: a U.S. District Court means federal, while a county or municipal court means state.
Pay attention to subsections. Designations like (a)(1) or (b)(2) narrow the offense to a specific version of the crime. A single statute often covers several related acts, and one subsection may describe a misdemeanor while another under the same statute is a felony. Skipping the subsection can leave you reading about the wrong offense entirely.
Where to Search
Every state maintains a free, searchable database of its statutes through its legislature’s website, organized by title, chapter, and section number. You can type the full code into the search bar or browse to the relevant chapter. The interface varies by state, but the underlying text is public and costs nothing to read.
For federal charge codes, start at the Office of the Law Revision Counsel at uscode.house.gov. The site lets you jump directly to any title and section of the United States Code and is updated on a rolling basis.2Office of the Law Revision Counsel. OLRC Home
If you also need the actual court filings from a federal case, the Public Access to Court Electronic Records system holds more than a billion documents from every federal court.3Public Access to Court Electronic Records. Public Access to Court Electronic Records PACER charges $0.10 per page, capped at the cost of 30 pages per document.4United States Courts. Electronic Public Access Fee Schedule To avoid fees on filings other users have already accessed, check the RECAP Archive on CourtListener, which mirrors millions of PACER documents.5CourtListener. Advanced RECAP Archive Search for PACER Coverage is not complete, but for widely followed cases the document may already be there.
Military offenses work differently. Charges under the Uniform Code of Military Justice are identified by article number, ranging from Article 77 through Article 134.6Office of the Law Revision Counsel. 10 USC Subtitle A Chapter 47 Subchapter X Elements, explanation, and maximum punishment for each article appear in Part IV of the Manual for Courts-Martial, published by the Joint Service Committee on Military Justice.7Joint Service Committee on Military Justice. Part IV – Punitive Articles
NCIC Codes on a Background Check Are Not Statute Citations
If the code you’re trying to decode came off a criminal background check or rap sheet rather than a court document, it may not be a statute citation at all. Many background reports use National Crime Information Center codes, which are standardized numeric classifications maintained by the FBI for interstate data sharing.8Office of Justice Programs. National Crime Information Center (NCIC) Code Manual
The distinction matters. A citation like “720 ILCS 5/16-1” points to one state’s specific theft statute with defined elements and penalties. An NCIC code for the same conduct is a broad category meant to fit similar offenses from every state into a single bucket. The FBI’s own reporting guidelines note that NCIC definitions are intentionally generic so they can accommodate variations among state statutes describing the same type of crime.9Federal Bureau of Investigation. National Incident-Based Reporting System Volume 1 To get the exact offense behind an NCIC code, request the underlying court records or contact the reporting agency for the actual statute citation.
Read the Classification
Once you’ve reached the statute, the first thing to identify is how serious the legal system considers the offense. Criminal charges fall into three broad categories: infractions, misdemeanors, and felonies. Within each, letter or number classes rank offenses from least to most severe.
Federal law classifies offenses by the maximum authorized prison term. A Class A felony reaches life imprisonment or death; the felony classes step down through Class E, which covers offenses carrying more than one year but less than five. Class A, B, and C misdemeanors cover progressively shorter maximums down to 30 days, and an infraction authorizes five days or less, or no imprisonment at all.10Office of the Law Revision Counsel. 18 USC 3559 – Sentencing Classification of Offenses
State systems follow similar logic but use their own labels and ranges. Some states use numbered classes instead of letters. Some add categories like “unclassified” felonies. The prison ranges attached to each class differ from one state to the next. The class designation on your charge tells you where the offense sits on that state’s severity ladder.
Penalties Written Into the Statute
The statute behind the code tells you the maximum imprisonment and the maximum fine the court can impose. In the federal system, fines scale with severity: up to $250,000 for any felony, up to $100,000 for a Class A misdemeanor, and up to $5,000 for lesser misdemeanors or infractions. When the crime produces a financial gain for the defendant or a loss for the victim, the court can instead impose a fine of up to twice the gain or twice the loss, whichever is greater.11Office of the Law Revision Counsel. 18 USC 3571 – Sentence of Fine State fine schedules follow their own ranges, spelled out in the penalty section of the specific statute your code references.
Some charges carry mandatory minimums that keep a judge from going below a set threshold regardless of the circumstances. At the federal level, the most extreme is the three-strikes provision, which imposes mandatory life imprisonment when a defendant is convicted of a serious violent felony after two or more prior convictions for serious violent felonies or serious drug offenses.10Office of the Law Revision Counsel. 18 USC 3559 – Sentencing Classification of Offenses Many states impose their own minimums for offenses like repeat DUI or drug trafficking. Check whether the penalty section mentions a minimum sentence, not just the maximum.
Restitution
Fines go to the government; restitution goes to the victim, and for many federal offenses it isn’t optional. When a conviction involves property damage, bodily injury, or death, federal law requires the court to order the defendant to compensate the victim.12Office of the Law Revision Counsel. 18 USC 3663A – Mandatory Restitution to Victims of Certain Crimes For property crimes, that means the value of what was lost or destroyed. For violent crimes, it covers medical care, therapy, rehabilitation, and lost income. If the victim died, the defendant pays funeral costs.
Restitution can dwarf the statutory fine. Unlike a fine with a legislated cap, restitution is calculated from actual harm, and the amounts can reach tens or hundreds of thousands of dollars. A charge code lookup won’t tell you the restitution amount, since that’s determined at sentencing, but it will tell you whether the offense category triggers mandatory restitution at all.
Court Fees and Surcharges
The number printed in the penalty statute is rarely the total cost of a conviction. States routinely add mandatory surcharges, technology fees, court security assessments, and other administrative costs on top of the base fine. Those add-ons live in separate statutes and can range from a few dollars to several hundred. Treat the statutory fine as the starting point, not the final number.
Consequences the Statute Won’t Show
The classification of a charge can trigger consequences that outlast the sentence and don’t appear anywhere in the penalty section. This is where people most often get blindsided.
Firearms
Federal law prohibits anyone convicted of a crime punishable by more than one year of imprisonment from possessing a firearm or ammunition. The trigger is the authorized maximum sentence, not the sentence actually imposed, so a felony conviction that resulted only in probation can still permanently strip firearm rights. A separate provision covers misdemeanor domestic violence convictions regardless of the maximum sentence.13Office of the Law Revision Counsel. 18 USC 922 – Unlawful Acts
Immigration
For noncitizens, some classifications lead directly to deportation. Federal immigration law makes any noncitizen convicted of an “aggravated felony” deportable.14Office of the Law Revision Counsel. 8 USC 1227 – Deportable Aliens The term is misleadingly broad. It covers not only violent crimes like murder and sexual abuse but also theft or burglary offenses with a sentence of at least one year, fraud offenses with losses over $10,000, drug trafficking, and many others.15Legal Information Institute. 8 USC 1101(a)(43) – Definition of Aggravated Felony Some offenses classified as misdemeanors under state law still qualify as aggravated felonies for immigration purposes. If immigration status is in play, the classification is one of the most consequential details to get right.
Repeat Offender Enhancements
A charge that looks moderate on paper can escalate dramatically with prior convictions. Most states and the federal system have habitual offender or persistent felony offender laws that allow or require enhanced sentencing for a pattern of serious prior convictions. The federal three-strikes provision can turn what would otherwise be a Class C or D felony into mandatory life imprisonment when the defendant has two or more qualifying prior convictions.10Office of the Law Revision Counsel. 18 USC 3559 – Sentencing Classification of Offenses The current charge may look manageable in isolation, but real exposure depends on what came before.
Licenses and Professional Standing
Many charges, particularly those involving impaired driving, drug offenses, or fraud, carry administrative penalties imposed by agencies outside the court system. A DUI conviction typically triggers a driver’s license suspension or revocation through the state motor vehicle agency. Drug convictions can affect eligibility for federal student aid. Fraud or theft convictions can disqualify you from professional licenses in fields like healthcare, finance, or law. None of this appears in the criminal statute; it’s scattered across regulatory codes but flows directly from the charge classification.
When the Code Doesn’t Match Anything Current
Charge codes on older background checks or court records sometimes point to statutes that have been amended, renumbered, or repealed. If a current database returns no result, or the result describes an offense that doesn’t match what you expected, the law likely changed after the conviction.
The standard way to trace an old code is through session laws, the individual laws enacted during each legislative session and published in chronological order. Session laws show the original text of a statute at the time it was passed or amended and include bill numbers you can use to follow how the language evolved. Most state legislatures maintain online archives going back at least a decade, and many go further. For older records, law libraries at courthouses or universities keep print volumes of superseded statutes.
When a statute has been renumbered rather than repealed, the current version usually carries a note listing the former section number and the date of the change. Searching for the old number in the current database’s annotations can point you to the new location. If the offense was removed from the criminal code entirely, as happens when a state decriminalizes certain conduct, that matters for understanding both what the conviction meant when it was entered and whether it still carries legal consequences today.