New Mexico county FIPS codes
Every New Mexico county FIPS code with name, type, area, centre point and ZIP count, as CSV, Excel or JSON. Updated 19 November 2026.
New Mexico counties and FIPS codes
New Mexico has state FIPS code 35, and this list has 33 counties and county equivalents: 33 counties. Each full FIPS code joins the state code and a three-digit county code, so Bernalillo County is 35001: 35 for New Mexico and 001 for the county.
By area the largest is Catron at about 17,952 km² (6,931 sq mi) and the smallest is Los Alamos at about 277 km² (107 sq mi); the counties add up to about 315,085 km². Bernalillo has the most ZIP codes assigned to it (48).
All 33 counties
| FIPS | Name | Type | Area km² | Latitude | Longitude | ZIP codes |
|---|---|---|---|---|---|---|
| 35001 | Bernalillo County | County | 3,027 | 35.06166 | -106.670066 | 48 |
| 35003 | Catron County | County | 17,952 | 33.943325 | -108.414034 | 7 |
| 35005 | Chaves County | County | 15,734 | 33.480186 | -104.375627 | 6 |
| 35006 | Cibola County | County | 11,766 | 34.94185 | -108.000202 | 12 |
| 35007 | Colfax County | County | 9,827 | 36.609062 | -104.646835 | 8 |
| 35009 | Curry County | County | 3,592 | 34.544613 | -103.310347 | 8 |
| 35011 | DeBaca County | County | 6,045 | 34.300901 | -104.450623 | 3 |
| 35013 | Doña Ana County | County | 9,945 | 32.356861 | -106.872033 | 29 |
| 35015 | Eddy County | County | 10,846 | 32.482989 | -104.304797 | 10 |
| 35017 | Grant County | County | 10,276 | 32.826761 | -108.371315 | 18 |
| 35019 | Guadalupe County | County | 7,850 | 34.910296 | -104.790411 | 6 |
| 35021 | Harding County | County | 5,425 | 35.814136 | -103.654144 | 4 |
| 35023 | Hidalgo County | County | 8,924 | 31.656237 | -108.749169 | 4 |
| 35025 | Lea County | County | 11,397 | 32.785935 | -103.437353 | 13 |
| 35027 | Lincoln County | County | 12,513 | 33.782545 | -105.445576 | 15 |
| 35028 | Los Alamos County | County | 277 | 35.87804 | -106.318333 | 3 |
| 35029 | Luna County | County | 7,749 | 32.17214 | -107.72456 | 3 |
| 35031 | McKinley County | County | 14,134 | 35.654357 | -108.262029 | 22 |
| 35033 | Mora County | County | 5,089 | 36.016314 | -104.992557 | 12 |
| 35035 | Otero County | County | 17,182 | 32.607713 | -105.833359 | 17 |
| 35037 | Quay County | County | 7,421 | 34.966693 | -103.67173 | 8 |
| 35039 | Rio Arriba County | County | 15,320 | 36.5004 | -106.5027 | 28 |
| 35041 | Roosevelt County | County | 6,299 | 33.988422 | -103.44728 | 10 |
| 35043 | Sandoval County | County | 9,621 | 35.609327 | -106.86611 | 18 |
| 35045 | San Juan County | County | 14,365 | 36.500989 | -108.3208 | 17 |
| 35047 | San Miguel County | County | 12,263 | 35.496155 | -104.81585 | 15 |
| 35049 | Santa Fe County | County | 4,957 | 35.510937 | -105.979901 | 18 |
| 35051 | Sierra County | County | 10,971 | 33.128803 | -107.19277 | 10 |
| 35053 | Socorro County | County | 17,219 | 34.028619 | -106.989882 | 9 |
| 35055 | Taos County | County | 5,740 | 36.584075 | -105.665627 | 21 |
| 35057 | Torrance County | County | 8,667 | 34.650832 | -105.819419 | 9 |
| 35059 | Union County | County | 9,925 | 36.543223 | -103.512518 | 8 |
| 35061 | Valencia County | County | 2,767 | 34.707529 | -106.801321 | 8 |
No row matches. Clear the filter to see all.
File: new-mexico-county-fips-codes.csv
Using FIPS codes
FIPS codes are the join key for most US county data, from Census population tables to election results and BLS unemployment files. Store them as five-character text even though New Mexico's codes start with 3: codes in states such as Alabama (01) and California (06) start with 0, and a number column drops that zero as soon as you combine states.
-- add county names to any table that has a 5-digit fips column
SELECT d.*, c.name AS county_name
FROM my_data d
LEFT JOIN county_fips c ON c.fips = d.fips
WHERE c.state = 'NM';In Excel, build the 5-digit code from two parts with =TEXT(A2,"00")&TEXT(B2,"000"), where A2 is the state code (35) and B2 the county code.
Where the data comes from
Names, types, areas and centre points come from Natural Earth's 1:10m admin-2 counties (version 5.1.1, public domain). We checked every FIPS code against the GeoNames admin-2 list: 33 of 33 match. ZIP counts come from the GeoNames postal code file on the New Mexico ZIP code page.
Data dictionary
| Column | Type | Meaning |
|---|---|---|
| fips | text | Five-digit county FIPS code |
| state_fips | text | Two-digit state FIPS code |
| county_fips | text | Three-digit county code within the state |
| name | text | Short name |
| full_name | text | Name with its type, e.g. 'Kent County' |
| type | text | County, Parish, Borough, City, Census Area, Planning Region… |
| state | text | Two-letter state code |
| state_name | text | State name |
| area_sq_km | number | Area in km² (Natural Earth; rounded) |
| latitude | number | Centre point latitude (Natural Earth) |
| longitude | number | Centre point longitude (Natural Earth) |
| zip_codes | number | ZIP codes assigned to it in the GeoNames postal list |
| wikidata_id | text | Wikidata item, for linking to other data |