53033 FipsDecoder
35039 County FIPS Code

Rio Arriba County

New Mexico · County seat: Tierra Amarilla · Active county or equivalent

View on CensusDepth ↗

FIPS code 35039 is Rio Arriba County, New Mexico. With a population of 40,285 (2022 ACS estimate), it ranks #13 in New Mexico and #1190 nationally. Rio Arriba County is part of the Española, NM. The state FIPS code for New Mexico is 35. This code is used in Census Bureau, BLS, EPA, HUD, and USDA federal datasets to identify this county.

County FIPS

35039

State FIPS

35

NM

Population

40,285

2022 ACS · #1190 nationally

Density

6.9/mi²

people per sq mile

Land Area

5,861

sq miles

Urban/Rural

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

RUCC 6

How This FIPS Code Works

35 039
35 = State FIPS (New Mexico)
039 = County FIPS

The 5-digit FIPS code 35039 is formed by combining the 2-digit state identifier 35 (New Mexico) with the 3-digit county identifier 039. Together they uniquely identify Rio Arriba County in every US federal dataset. No two counties share the same 5-digit FIPS code.

Census ACS Data for FIPS 35039

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

Median Household Income

$52,031

ACS B19013_001E

Poverty Rate

21.8%

ACS B17001 (below poverty level)

Median Age

41.7

ACS B01002_001E

Metropolitan Area

Adjacent Counties (8)

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

Federal Datasets Using Code 35039

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

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

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

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

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

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

ZIP Code % in county
87566 100.0%
87012 100.0%
87582 100.0%
87017 100.0%
87581 100.0%
87029 100.0%
87578 100.0%
87528 100.0%
87530 100.0%
87537 100.0%
87539 100.0%
87548 100.0%
87551 100.0%
87554 100.0%
87575 100.0%
87064 100.0%
87510 100.0%
87511 100.0%
87515 100.0%
87516 100.0%
87518 100.0%
87520 100.0%
87523 100.0%
87527 100.0%
87549 85.0%
87046 78.4%
87532 75.0%
87412 72.2%
87521 66.5%
87577 51.2%

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

Other Counties in New Mexico