Jail vs Prison: County Jail, State Prison, Federal Prison and ICE Detention Explained
By Daniel Hockey · Checked against official federal and state sources · Last updated 8 October 2026 · 9 min read
The short answer: In the US, a jail is a local facility, usually run by a county sheriff, that holds people who have just been arrested, people awaiting trial and people serving short sentences, often up to about a year for misdemeanors. A prison is run by a state or the Federal Bureau of Prisons and holds people convicted of felonies serving longer sentences. About 68% of people in local jails at midyear 2024 had not been convicted. ICE detention is separate again: it is immigration custody, not a criminal sentence, though it can take place in county jails.
Need support?
- 988 Suicide & Crisis Lifeline: call or text 988
- Find a lawyer: contact your local public defender's office or your state bar association's lawyer referral service
| Key fact | Detail |
|---|---|
| Who runs jails | Counties and cities, usually the sheriff |
| Who runs prisons | State departments of corrections, or the Federal Bureau of Prisons |
| Held in local jails (midyear 2024) | 658,700 people, 68% unconvicted |
| Average jail stay | 31 days (admissions July 2023 to June 2024) |
| State and federal prisoners (year-end 2023) | 1,254,200 |
| Federal prisons | 118 BOP institutions across five security levels |
| ICE detainees in local jails (midyear 2024) | 8,000 |
The basic difference
The easiest way to think about it is time and status.
- Jail is short-term and local. Most people there have not been convicted yet.
- Prison is long-term and run by a state or the federal government. Almost everyone there has been convicted and sentenced.
There are exceptions in almost every state, which is why the rest of this page uses named examples. Always check how the state and county in your situation handle it.
County jail
Who runs it
Jails are run by local government, usually the county sheriff's office, and sometimes by a city or a regional jail authority. The Bureau of Justice Statistics counted 2,765 active jail reporting units in its 2024 Census of Jails.
Who is held there
People awaiting court
Anyone who is arrested and not released goes to jail first. Our guide on what happens after someone is arrested explains booking and the first court appearance. At midyear 2024, 450,700 of the 658,700 people in local jails, or 68%, were unconvicted.
People serving short sentences
Misdemeanor sentences are usually served in jail. In Texas, for example:
| Texas offense level | Maximum punishment |
|---|---|
| Class C misdemeanor | Fine up to $500, no jail |
| Class B misdemeanor | Up to 180 days in jail and/or a fine up to $2,000 |
| Class A misdemeanor | Up to 1 year in jail and/or a fine up to $4,000 |
People held for other agencies
Local jails also hold people for state prisons, federal authorities and immigration. At midyear 2024, BJS counted 41,900 people held in local jails for federal authorities, including 8,000 held for ICE.
How long people stay
Jail populations turn over fast. BJS recorded 7.9 million jail admissions between July 2023 and June 2024, and an average stay of 31 days. Many people are released within hours or days on bail or a citation. Our guide on how to bail someone out of jail explains how.
What jail is like
Jails are built for short stays and constant movement. Expect intake cells, dormitory or cell housing, limited programs and frequent court trips. Families usually deal with the sheriff's office for visits, commissary and phone accounts. Our guide to the first night in county jail describes the early days.
State prison
Who runs it
Each state has a department of corrections that runs its prisons. People sentenced in state court for felonies serve their time there.
Who is held there
People convicted of felonies and sentenced to longer terms. In Texas, felony prison terms range from 2 to 10 years for a third-degree felony up to life or 5 to 99 years for a first-degree felony, served in the Texas Department of Criminal Justice.
When the line blurs
Some states hold felony sentences locally or in special units.
- Texas state jail felonies: 180 days to 2 years, served in a state jail facility rather than a county jail or regular prison.
- California realignment: since 1 October 2011, under AB 109, newly convicted people whose current and prior offenses are non-serious, non-violent and non-sex offenses serve felony sentences in county jail. Anyone with a serious or violent offense, a sex offense or one of roughly 70 listed crimes still goes to state prison.
What prison is like
Prisons are designed for long stays. They usually offer more structured routines, jobs, education and treatment programs than jails, and people are placed by security level. Prisons are often far from home, which makes visits harder for families.
Federal prison
Who runs it
The Federal Bureau of Prisons (BOP), part of the US Department of Justice, runs 118 institutions. People convicted of federal crimes, such as many fraud, drug trafficking and firearms offenses prosecuted in federal court, serve their sentences there.
BOP security levels
| Level | Typical facility | Main features |
|---|---|---|
| Minimum | Federal Prison Camp (FPC) | Dormitories, limited or no perimeter fencing, work and program focus |
| Low | Federal Correctional Institution (FCI) | Double-fenced perimeter, mostly dormitory or cubicle housing |
| Medium | FCI or some USPs | Strengthened perimeters, mostly cell housing, tighter controls |
| High | United States Penitentiary (USP) | Walls or reinforced fences, cells, close control of movement |
| Administrative | MCC, MDC, FDC, FMC, ADX | Special missions such as pretrial detention, medical care or extremely dangerous inmates |
Our guides to BOP security levels and federal prison camps go into more detail.
Federal pretrial detainees
People charged federally and held before trial are not usually in a regular federal prison. They are held in BOP administrative facilities such as Metropolitan Detention Centers, or in local jails that house people for federal authorities.
ICE detention
Immigration detention is not a criminal sentence. ICE describes detention as non-punitive. It is used to make sure a person attends immigration proceedings or can be removed, for people subject to mandatory detention, or when ICE finds a public safety or flight risk.
Where ICE detainees are held
ICE says facilities may be owned and operated by ICE, by a state or local government, or by a contractor. That means some people in ICE custody are held in county jails alongside people facing criminal charges.
Standards that apply
Every facility holding ICE detainees must follow one of ICE's detention standards, such as the Performance-Based National Detention Standards 2011 or the National Detention Standards 2019. ICE generally does not detain unaccompanied children, who are placed with the Department of Health and Human Services' Office of Refugee Resettlement.
Jail vs prison at a glance
| County jail | State prison | Federal prison | ICE detention | |
|---|---|---|---|---|
| Run by | County sheriff or city | State department of corrections | Federal Bureau of Prisons | ICE (directly, through local governments or contractors) |
| Who is held | Arrested, awaiting trial, short sentences | Convicted felons, longer sentences | People convicted of federal crimes | Noncitizens in immigration proceedings |
| Typical length | Hours to about a year | Over a year, up to life | Varies by federal sentence | Depends on the immigration case |
| Legal status | Mostly unconvicted | Sentenced | Sentenced (pretrial held separately) | Immigration custody, not a criminal sentence |
Terminology you will hear
Common terms
- Inmate: anyone held in a jail or prison. Many agencies also use "incarcerated person" or "adult in custody."
- Detainee: usually someone held before trial or in ICE custody.
- Pretrial: not yet convicted.
- Sentenced: convicted and serving a punishment.
- Booking number vs inmate number: a jail gives a booking number for each arrest; a prison gives a longer-term inmate or register number.
- Probation: a sentence served in the community instead of, or after, jail. Parole: supervised release after prison. See probation vs parole.
For families: what the difference means for you
The type of facility changes how you find someone, how you send money and how you visit.
- Search the right database. Jails are searched through the county sheriff; state prisons through the state department of corrections; federal prisons through the BOP inmate locator. Our guide on how to find someone in jail covers each one.
- Expect a move after sentencing. Someone sentenced to state or federal prison usually stays in county jail until they are transferred, which can take time.
- Check visiting and phone rules again after a move. Each system uses its own providers and rules.
- Register for custody alerts if you need them. VINE and the federal Victim Notification System cover different facilities.
Frequently asked questions
What is the difference between jail and prison?
Jail is a local facility, usually run by a county sheriff, for people awaiting trial and people serving short sentences. Prison is run by a state or the Federal Bureau of Prisons and holds people convicted of felonies serving longer sentences. At midyear 2024, 68% of people in local jails had not been convicted.
How long do you stay in county jail?
It varies widely. BJS found an average stay of 31 days for people admitted between July 2023 and June 2024. Many are released within hours on bail, while people serving misdemeanor sentences can stay up to the state maximum, which is 1 year for a Class A misdemeanor in Texas.
Is jail worse than prison?
Neither is simply better. Jails are built for short stays and constant turnover, so they often have fewer programs and more uncertainty. Prisons offer more structured routines and programs, but sentences are longer and facilities are often far from family.
What is the difference between state and federal prison?
State prisons hold people convicted of state crimes and are run by each state's department of corrections. Federal prisons hold people convicted of federal crimes and are run by the Federal Bureau of Prisons, which operates 118 institutions across five security levels.
Can you serve a felony sentence in jail?
In some states, yes. Under California's 2011 realignment, many people with non-serious, non-violent and non-sex felonies serve their sentence in county jail. Texas state jail felonies are served in state jail facilities.
Is ICE detention the same as jail?
No. ICE detention is immigration custody, which ICE describes as non-punitive, not a criminal sentence. However, ICE detainees can be held in county jails under arrangements with local governments, and 8,000 people were held for ICE in local jails at midyear 2024.
Where do federal defendants wait for trial?
Usually in BOP administrative facilities such as Metropolitan Detention Centers, or in local jails that hold people for federal authorities. BJS counted 41,900 people held for federal authorities in local jails at midyear 2024.
Sources and how we checked this page
This page was written by Daniel Hockey and checked on 8 October 2026 against:
- Bureau of Justice Statistics: Jail Inmates in 2024, Statistical Tables
- Bureau of Justice Statistics: Prisoners in 2023, Statistical Tables
- Federal Bureau of Prisons: Our Locations (federal prisons and security levels)
- US Immigration and Customs Enforcement: Detention Management
- Texas Penal Code, Chapter 12: Punishments
- California Attorney General: 2011 Public Safety Realignment fact sheet
This page is general information about the US justice system, not legal advice. Rules vary by state, county and facility. Speak to a licensed attorney about your situation.