53033 FipsDecoder
36123 County FIPS Code

Yates County

New York · County seat: Penn Yan · Active county or equivalent

View on CensusDepth ↗

FIPS code 36123 is Yates County, New York. With a population of 24,713 (2022 ACS estimate), it ranks #60 in New York and #1659 nationally. The state FIPS code for New York is 36. This code is used in Census Bureau, BLS, EPA, HUD, and USDA federal datasets to identify this county.

County FIPS

36123

State FIPS

36

NY

Population

24,713

2022 ACS · #1659 nationally

Density

73.1/mi²

people per sq mile

Land Area

338

sq miles

Urban/Rural

Nonmetro — urban 2.5K–19.9K, adjacent to metro

RUCC 6

How This FIPS Code Works

36 123
36 = State FIPS (New York)
123 = County FIPS

The 5-digit FIPS code 36123 is formed by combining the 2-digit state identifier 36 (New York) with the 3-digit county identifier 123. Together they uniquely identify Yates County in every US federal dataset. No two counties share the same 5-digit FIPS code.

Census ACS Data for FIPS 36123

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

Median Household Income

$63,974

ACS B19013_001E

Poverty Rate

14.2%

ACS B17001 (below poverty level)

Median Age

41.7

ACS B01002_001E

Adjacent Counties (4)

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

Federal Datasets Using Code 36123

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

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

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

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

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

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

ZIP Code % in county
14842 100.0%
14415 100.0%
14441 100.0%
14527 100.0%
14478 100.0%
14507 100.0%
14418 89.4%
14837 68.2%
14544 64.1%
14512 27.3%
14878 24.8%
14561 1.5%
14456 1.2%

Other Counties in New York