53033 FipsDecoder
27037 County FIPS Code

Dakota County

Minnesota · County seat: Hastings · Active county or equivalent

View on CensusDepth ↗

FIPS code 27037 is Dakota County, Minnesota. With a population of 439,179 (2022 ACS estimate), it ranks #3 in Minnesota and #159 nationally. Dakota County is part of the Minneapolis-St. Paul-Bloomington, MN-WI. The state FIPS code for Minnesota is 27. This code is used in Census Bureau, BLS, EPA, HUD, and USDA federal datasets to identify this county.

County FIPS

27037

State FIPS

27

MN

Population

439,179

2022 ACS · #159 nationally

Density

781.2/mi²

people per sq mile

Land Area

562

sq miles

Urban/Rural

Metro — 1M+ population

RUCC 1

How This FIPS Code Works

27 037
27 = State FIPS (Minnesota)
037 = County FIPS

The 5-digit FIPS code 27037 is formed by combining the 2-digit state identifier 27 (Minnesota) with the 3-digit county identifier 037. Together they uniquely identify Dakota County in every US federal dataset. No two counties share the same 5-digit FIPS code.

Census ACS Data for FIPS 27037

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

Median Household Income

$101,360

ACS B19013_001E

Poverty Rate

5.6%

ACS B17001 (below poverty level)

Median Age

38.4

ACS B01002_001E

Metropolitan Area

Adjacent Counties (7)

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

Federal Datasets Using Code 27037

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

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

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

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

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

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

ZIP Code % in county
55337 100.0%
55024 100.0%
55031 100.0%
55120 100.0%
55121 100.0%
55122 100.0%
55123 100.0%
55124 100.0%
55150 100.0%
55306 100.0%
55068 100.0%
55075 100.0%
55076 100.0%
55077 100.0%
55085 100.0%
55118 99.8%
55065 98.4%
55033 75.4%
55044 69.5%
55057 45.8%
55009 17.7%
55089 3.2%

Other Counties in Minnesota

Aitkin County 27001 Anoka County 27003 Becker County 27005 Beltrami County 27007 Benton County 27009 Big Stone County 27011 Blue Earth County 27013 Brown County 27015 Carlton County 27017 Carver County 27019 Cass County 27021 Chippewa County 27023 Chisago County 27025 Clay County 27027 Clearwater County 27029 Cook County 27031 Cottonwood County 27033 Crow Wing County 27035 Dodge County 27039 Douglas County 27041 Faribault County 27043 Fillmore County 27045 Freeborn County 27047 Goodhue County 27049 Grant County 27051 Hennepin County 27053 Houston County 27055 Hubbard County 27057 Isanti County 27059 Itasca County 27061 Jackson County 27063 Kanabec County 27065 Kandiyohi County 27067 Kittson County 27069 Koochiching County 27071 Lac qui Parle County 27073 Lake County 27075 Lake of the Woods County 27077 Le Sueur County 27079 Lincoln County 27081 Lyon County 27083 Mahnomen County 27087 Marshall County 27089 Martin County 27091 McLeod County 27085 Meeker County 27093 Mille Lacs County 27095 Morrison County 27097 Mower County 27099 Murray County 27101 Nicollet County 27103 Nobles County 27105 Norman County 27107 Olmsted County 27109 Otter Tail County 27111 Pennington County 27113 Pine County 27115 Pipestone County 27117 Polk County 27119 Pope County 27121 Ramsey County 27123 Red Lake County 27125 Redwood County 27127 Renville County 27129 Rice County 27131 Rock County 27133 Roseau County 27135 Scott County 27139 Sherburne County 27141 Sibley County 27143 St. Louis County 27137 Stearns County 27145 Steele County 27147 Stevens County 27149 Swift County 27151 Todd County 27153 Traverse County 27155 Wabasha County 27157 Wadena County 27159 Waseca County 27161 Washington County 27163 Watonwan County 27165 Wilkin County 27167 Winona County 27169 Wright County 27171 Yellow Medicine County 27173