The main difference is who runs them and whose laws were broken. Federal prisons are run by the Federal Bureau of Prisons (BOP) and hold people convicted of federal crimes. State prisons hold people convicted of state crimes; in California, they are run by the California Department of Corrections and Rehabilitation (CDCR).
Below, our California criminal defense lawyers compare the two systems, explain where California sentences are actually served, and answer common questions. The table below sums up the key differences (figures as of the dates shown):
| Feature | Federal prison | California state prison |
|---|---|---|
| Run by | Federal Bureau of Prisons (BOP) | California Department of Corrections and Rehabilitation (CDCR) |
| Who is held there | People sentenced in federal court for federal crimes | People sentenced in California superior court to state prison for state felonies |
| Number of prisons | 118 nationwide | 31 adult institutions (July 2026) |
| Population | About 154,900 (September 2025) | About 87,900 (July 2026) |
| Security levels | Minimum, low, medium, high, administrative | Level I (lowest) to Level IV (highest) |
| Work | Sentenced inmates who are able must be given a work assignment | Work, school and rehabilitation programs are offered |
Sources for the table are in the notes below.1
What is a federal prison?
Federal prisons are run by the BOP, part of the U.S. Department of Justice.2 They hold people convicted in federal court of breaking federal law. Common federal crimes include:
- drug trafficking,3
- child pornography offenses,4
- money laundering and identity theft,5
- racketeering (RICO),6 and
- immigration crimes, such as illegal entry.7
The BOP sorts its prisons into five security levels: minimum (federal prison camps), low, medium, high (U.S. penitentiaries), and administrative facilities with special missions such as pretrial detention or medical care.8 Federal sentences tend to be long: the average sentence imposed on people in BOP custody is 153 months, or nearly 13 years. Drug trafficking is by far the most common offense.9
What is a California state prison?
California’s state prisons are run by CDCR. They hold people sentenced to state prison for felonies under California law, such as murder, rape, mayhem, and robbery. CDCR prisons are rated by security level, from Level I (lowest) to Level IV (highest).10
Many California felony sentences are not served in state prison at all. Since the 2011 “realignment” law (AB 109), many lower-level felonies are served in county jail instead. A felony sentence still goes to state prison if the person has a prior or current serious or violent felony, must register as a sex offender, or is convicted of a crime that carries a state prison term.11
Nationally, people released from state prison in 2018 had served an average of 2.7 years, with a median of 1.3 years.12
Can the same act lead to federal and state charges?
Yes. Some conduct breaks both federal and California law. Drug trafficking, gun crimes, fraud, and bank robbery are common examples. Prosecutors decide which system will charge the case, and in some cases both can. If you are convicted in federal court, you serve your sentence in the federal system; if you are convicted in a California court, you serve it in state prison or county jail.
What is the difference between jail and prison?
Jails are run by counties (usually the sheriff) or cities. They hold people awaiting trial or sentencing, people serving misdemeanor sentences of up to a year, and, in California, many people serving realigned felony sentences. Prisons are run by the state or federal government and hold people serving felony sentences.
Call us for help
If you or a loved one is facing state or federal charges in California, call our California criminal defense lawyers for a free consultation.
Additional Resources
For more help and information, refer to the following:
- Find a federal prison inmate – Federal Bureau of Prisons (search by name or inmate number)
- Find a state prison inmate – Link to all 50 states’ departments of corrections.
- Prison Fellowship – Christian nonprofit organization’s guide for how to survive and even thrive during your prison sentence.
- The National Resource Center on Children and Families of the Incarcerated – Guidance and support for the families of people currently incarcerated.
- FindHelp.org – Helpful site for people recently released from custody to find no-cost or low-cost resources such as food, housing, financial assistance, health care, and more.
Legal references:
- Federal Bureau of Prisons website, federal prison security levels (118 prisons), accessed November 2026; U.S. Sentencing Commission, “Individuals in the Federal Bureau of Prisons” (2026): “154,932 individuals incarcerated in the Federal Bureau of Prisons as of September 2025”; CDCR Office of Research, “Weekly Report of Population, As of Midnight July 15, 2026” (31 institutions; institution total 87,941); 28 C.F.R. 545.23(a): “Each sentenced inmate who is physically and mentally able is to be assigned to an institutional, industrial, or commissary work program.”
- Federal Bureau of Prisons, “About Us.”
- See, for example, 21 U.S.C. 841 (manufacture or distribution of controlled substances).
- See, for example, 18 U.S.C. 2252A (activities relating to child pornography).
- See, for example, 18 U.S.C. 1956 (laundering of monetary instruments) and 18 U.S.C. 1028 (fraud related to identification documents).
- See 18 U.S.C. 1962 (prohibited racketeering activities).
- See, for example, 8 U.S.C. 1325 (improper entry by alien).
- Federal Bureau of Prisons website, federal prison security levels (see note 1 above): minimum security institutions are “Federal Prison Camps”; high security institutions are “United States Penitentiaries”; administrative facilities “have special missions.”
- U.S. Sentencing Commission, “Individuals in the Federal Bureau of Prisons” (2026) (see note 1 above): average length of imprisonment imposed, 153 months; drug trafficking (61,238 people) is the most common offense.
- CDCR, “Appendix 1: CDCR Adult Institutions” (May 2026), describing each institution’s designated security levels (Level I through Level IV).
- California Penal Code 1170(h)(1)-(3): a felony punishable under this subdivision “shall be punishable by a term of imprisonment in a county jail,” but where the defendant “(A) has a prior or current felony conviction for a serious felony … or a violent felony … [or] (C) is required to register as a sex offender … an executed sentence for a felony punishable pursuant to this subdivision shall be served in the state prison.”
- Bureau of Justice Statistics, “Time Served in State Prison, 2018” (March 2021): “The average time served by state prisoners released in 2018, from initial admission to initial release, was 2.7 years, and the median time served was 1.3 years.”