53033 FipsDecoder
06073 County FIPS Code

San Diego County

California · County seat: San Diego · Active county or equivalent

View on CensusDepth ↗

FIPS code 06073 is San Diego County, California. With a population of 3,289,701 (2022 ACS estimate), it ranks #2 in California and #5 nationally. San Diego County is part of the San Diego-Chula Vista-Carlsbad, 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

06073

State FIPS

06

CA

Population

3,289,701

2022 ACS · #5 nationally

Density

782.0/mi²

people per sq mile

Land Area

4,207

sq miles

Urban/Rural

Metro — 1M+ population

RUCC 1

How This FIPS Code Works

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

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

Census ACS Data for FIPS 06073

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

Median Household Income

$96,974

ACS B19013_001E

Poverty Rate

10.6%

ACS B17001 (below poverty level)

Median Age

36.7

ACS B01002_001E

Metropolitan Area

Adjacent Counties (3)

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

Federal Datasets Using Code 06073

FIPS code 06073 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 06073 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 06073
import requests

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

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

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

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

ZIP Codes in San Diego 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 San Diego County. Why FIPS ≠ ZIP →

ZIP Code % in county
92118 100.0%
91902 100.0%
91905 100.0%
91906 100.0%
91910 100.0%
91911 100.0%
91913 100.0%
91914 100.0%
91915 100.0%
91916 100.0%
91917 100.0%
91931 100.0%
91932 100.0%
91934 100.0%
91935 100.0%
91941 100.0%
91942 100.0%
91945 100.0%
91948 100.0%
91950 100.0%
91962 100.0%
91963 100.0%
91977 100.0%
91978 100.0%
91980 100.0%
92003 100.0%
92161 100.0%
92173 100.0%
92179 100.0%
92182 100.0%

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

Other Counties in California