53033 FipsDecoder
06059 County FIPS Code

Orange County

California · County seat: Santa Ana · Active county or equivalent

View on CensusDepth ↗

FIPS code 06059 is Orange County, California. With a population of 3,175,227 (2022 ACS estimate), it ranks #3 in California and #6 nationally. Orange County is part of the Los Angeles-Long Beach-Anaheim, CA. The state FIPS code for California is 06. This code is used in Census Bureau, BLS, EPA, HUD, and USDA federal datasets to identify this county.

County FIPS

06059

State FIPS

06

CA

Population

3,175,227

2022 ACS · #6 nationally

Density

4,016.4/mi²

people per sq mile

Land Area

791

sq miles

Urban/Rural

Metro — 1M+ population

RUCC 1

How This FIPS Code Works

06 059
06 = State FIPS (California)
059 = County FIPS

The 5-digit FIPS code 06059 is formed by combining the 2-digit state identifier 06 (California) with the 3-digit county identifier 059. Together they uniquely identify Orange County in every US federal dataset. No two counties share the same 5-digit FIPS code.

Census ACS Data for FIPS 06059

From the 2022 ACS 5-year estimates — the same values you'd retrieve by querying the Census API with county FIPS 06059.

Median Household Income

$109,361

ACS B19013_001E

Poverty Rate

9.7%

ACS B17001 (below poverty level)

Median Age

38.7

ACS B01002_001E

Metropolitan Area

Adjacent Counties (4)

Counties that share a border with Orange County. Useful for regional analysis — these are the geographies you'd typically include when studying labor markets, commuting zones, or environmental spillovers around FIPS 06059.

Federal Datasets Using Code 06059

FIPS code 06059 appears as the county identifier in the following federal datasets. Analysts joining data across these sources use this code as the common geographic key.

Using FIPS Code 06059 in Code

Common patterns for querying federal datasets by this county's FIPS code. The leading zeros are significant — always treat FIPS codes as strings, not integers.

Census ACS API — Python 06059
import requests

url = "https://api.census.gov/data/2022/acs/acs5"
params = {
    "get":  "NAME,B19013_001E,B01003_001E",
    "for":  "county:059",
    "in":   "state:06",
    "key":  "YOUR_CENSUS_API_KEY",
}
r = requests.get(url, params=params)
data = r.json()  # [[header...], [Orange County, California, income, pop, ...]
SQL — filtering by county FIPS 06059
-- 5-digit combined FIPS (state + county)
SELECT * FROM your_table WHERE county_fips = '06059';

-- Some datasets store state and county separately
SELECT * FROM your_table
WHERE state_fips = '06'
  AND county_fips = '059';

-- ⚠ Never cast to integer — leading zeros are lost:
-- county_fips = 6059 is WRONG for this county
R — tidycensus 06059
library(tidycensus)

get_acs(
  geography = "county",
  variables = c(income = "B19013_001E", pop = "B01003_001E"),
  state     = "06",
  county    = "059",
  year      = 2022
)
Zero-padding reminder: FIPS codes must always be stored and compared as zero-padded strings. 06 (not 6) and 059 (not 59) — losing the leading zeros is one of the most common data-join bugs in federal datasets. Full guide →

ZIP Codes in Orange County

ZIP codes do not align perfectly with county boundaries — a single ZIP code can span multiple counties, and a county can contain parts of many ZIP codes. The ratios below (from the Census 2020 ZCTA relationship file) show the land area share of each ZCTA that falls within Orange County. Why FIPS ≠ ZIP →

ZIP Code % in county
92887 100.0%
90621 100.0%
92865 100.0%
92866 100.0%
92867 100.0%
92868 100.0%
92869 100.0%
92870 100.0%
92886 100.0%
90620 100.0%
90680 100.0%
90720 100.0%
90742 100.0%
90743 100.0%
92602 100.0%
92603 100.0%
92604 100.0%
92606 100.0%
92610 100.0%
92612 100.0%
92614 100.0%
92617 100.0%
92618 100.0%
92620 100.0%
92624 100.0%
92625 100.0%
92626 100.0%
92627 100.0%
92629 100.0%
92630 100.0%

Showing top 30 of 92 ZIP codes by residential address share.

Other Counties in California