Santa Fe County · New Mexico

ZIP Code 87540

Lamy, NM · 1,117 residents

City (USPS)
Lamy
Time zone
Mountain Time
Coordinates
35.4069° N, 105.8735° W
Land area
164 sq mi · 7 people/sq mi
106.2°W106.0°W105.8°W105.6°W35.2°N35.4°N35.6°NZIP 87001ZIP 87010ZIP 87015ZIP 87047ZIP 87052ZIP 87056ZIP 87505ZIP 87507ZIP 87508ZIP 87535ZIP 87538ZIP 87552ZIP 87560ZIP 87562ZIP 875658756087508870108756287538875358754010 miN
ZIP Code 87540 (highlighted) with bordering ZIP Codes and county lines. Select a neighbor to open it.

What county is 87540 in?

ZIP Code 87540 is in Santa Fe County, New Mexico.

The Postal Service's default place name for 87540 is Lamy. By Census boundaries it covers Galisteo (community, 2% of the land). The remaining 98% is unincorporated.

Population1,117±375
Median household income$52,500
Median home value$729,700
Median rent$1,039/mo
Median age63.1
Households632

What stands out in ZIP 87540

  • The share of residents born abroad is 4.7%, 61% lower than Santa Fe County (12.1%).
  • The poverty rate is 6.7%, 44% lower than Santa Fe County (12%).
  • The median home value is $729,700, 63% higher than Santa Fe County ($446,300).
  • The median household income is $52,500, 34% lower than Santa Fe County ($79,071).

People in ZIP 87540

Median age63.1
Under 182.1%
65 and older44%
Born abroad4.7%
Moved here in the last year5.6%

Age and sex

MaleAgeFemale
5.3%80+2.5%
14.1%70–798.5%
23.7%60–6915.1%
5.9%50–592.5%
0.5%40–496.4%
2.3%30–392.3%
5.1%20–293.7%
0.2%10–190.1%
0.1%0–91.7%
Share of all residents in each age group

Race and ethnicity

  • White64.2%
  • Hispanic or Latino22.2%
  • Two or more races8.8%
  • American Indian / Alaska Native2.5%
  • Asian2.2%
  • Black0.1%

Hispanic or Latino residents can be of any race; the other groups count non-Hispanic residents only.

Households

632 households, 1.76 people per household on average, 52.5% family households, and 44.6% people living alone.

Income in ZIP 87540

Median household income$52,500±$41,947
Per-capita income$47,767
Poverty rate6.7%
Income inequality (Gini)0.440 = equal, 1 = unequal

Median household income ranks 132nd of 244 ZIP Codes in New Mexico. Richest ZIP Codes in New Mexico

6%Under $25k
44%$25k–50k
14%$50k–75k
5%$75k–100k
21%$100k–150k
3%$150k–200k
7%$200k+
Households by annual income

Housing in ZIP 87540

Median home value$729,700
Median gross rent$1,039/mo
Housing units692
Median year built1979
Vacant8.7%

Owners and renters

  • Owner-occupied 59.8%
  • Renter-occupied 40.2%

Types of homes

  • Single-family homes 97.8%
  • Mobile homes, RVs 2.2%

Work, commute and education

Mean commute25 minone way
Unemployment rate2.5%
Labor force participation51.5%age 16+
Broadband at home88.6%households

How workers get to work

  • Drove alone43.8%
  • Carpooled25%
  • Public transit0%
  • Walked11.4%
  • Bicycle0%
  • Worked from home19.8%

Education, adults 25+

  • High school or higher98%
  • Bachelor's or higher44.9%
  • Graduate or professional degree21.9%

How ZIP 87540 compares

ZIP 87540Santa Fe CountyNew MexicoUnited States
Median household income$52,500$79,071$64,059$80,734
Per-capita income$47,767$52,207$36,218$44,673
Median home value$729,700$446,300$248,100$332,700
Median gross rent$1,039/mo$1,389/mo$1,067/mo$1,413/mo
Homeownership rate59.8%71.5%70%65.2%
Median age63.148.739.438.9
Bachelor's degree or higher44.9%46.1%31%35.7%
Poverty rate6.7%12%17.8%12.5%
Unemployment rate2.5%5.3%6%5.2%
Mean commute25 min24 min24 min26 min
Worked from home19.8%18.4%12.2%15.1%
Broadband at home88.6%90.1%86.5%91%
Foreign-born residents4.7%12.1%9.4%14.1%

ZIP Codes bordering 87540

ZIP CodeCityPopulationMedian incomeHome valueMedian ageDirection
87508Santa Fe18,518$101,565$561,20055.9NW · 8.8 mi
87562Rowe569$116,402$205,00036.5E · 12.3 mi
87010Cerrillos1,135$60,000$473,60059.1W · 15.0 mi
87056Stanley1,084$76,563$238,00060.7S · 17.0 mi

Cities and communities in 87540

ZIP Code 87540: questions and answers

What county is ZIP Code 87540 in?
ZIP Code 87540 is in Santa Fe County, New Mexico.
What city is ZIP Code 87540 in?
The Postal Service's default place name for 87540 is Lamy. By Census boundaries it covers Galisteo (community, 2% of the land). The remaining 98% is unincorporated.
What is the population of ZIP Code 87540?
About 1,117 people live in ZIP Code 87540, according to the Census Bureau's American Community Survey (2020–2024).
What time zone is 87540 in?
ZIP Code 87540 is in the Mountain Time zone (America/Denver).
What is the median household income in 87540?
The median household income in ZIP Code 87540 is $52,500 (2020–2024 ACS), compared with $79,071 in Santa Fe County and $64,059 in New Mexico.
Which ZIP Codes border 87540?
87508 (Santa Fe), 87562 (Rowe), 87010 (Cerrillos), and 87056 (Stanley).

Sources: U.S. Census Bureau, American Community Survey 2020–2024 5-year estimates; 2025 Population Estimates; 2024 Gazetteer and cartographic boundary files; ZIP Code place names: GeoNames (CC BY 4.0). How we build these pages.