North Dakota county FIPS codes
Every North Dakota county FIPS code with name, type, area, centre point and ZIP count, as CSV, Excel or JSON. Updated 19 November 2026.
North Dakota counties and FIPS codes
North Dakota has state FIPS code 38, and this list has 53 counties and county equivalents: 53 counties. Each full FIPS code joins the state code and a three-digit county code, so Adams County is 38001: 38 for North Dakota and 001 for the county.
By area the largest is McKenzie at about 7,605 km² (2,936 sq mi) and the smallest is Eddy at about 1,669 km² (644 sq mi); the counties add up to about 182,748 km². Cass has the most ZIP codes assigned to it (34).
All 53 counties
| FIPS | Name | Type | Area km² | Latitude | Longitude | ZIP codes |
|---|---|---|---|---|---|---|
| 38001 | Adams County | County | 2,586 | 46.072595 | -102.528168 | 2 |
| 38003 | Barnes County | County | 3,919 | 46.935964 | -98.071684 | 11 |
| 38005 | Benson County | County | 3,731 | 48.10883 | -99.485135 | 11 |
| 38007 | Billings County | County | 2,987 | 47.106007 | -103.414087 | 2 |
| 38009 | Bottineau County | County | 4,325 | 48.812685 | -100.833167 | 9 |
| 38011 | Bowman County | County | 3,051 | 46.110945 | -103.520635 | 3 |
| 38013 | Burke County | County | 2,876 | 48.76953 | -102.518616 | 6 |
| 38015 | Burleigh County | County | 4,319 | 46.980697 | -100.460095 | 14 |
| 38017 | Cass County | County | 4,543 | 46.934286 | -97.250885 | 34 |
| 38019 | Cavalier County | County | 3,846 | 48.768177 | -98.464543 | 11 |
| 38021 | Dickey County | County | 2,921 | 46.112344 | -98.505737 | 4 |
| 38023 | Divide County | County | 3,285 | 48.812981 | -103.485847 | 4 |
| 38025 | Dunn County | County | 5,400 | 47.337183 | -102.609483 | 6 |
| 38027 | Eddy County | County | 1,669 | 47.717304 | -98.901839 | 2 |
| 38029 | Emmons County | County | 4,028 | 46.287807 | -100.233428 | 6 |
| 38031 | Foster County | County | 1,674 | 47.457027 | -98.8828 | 4 |
| 38033 | Golden Valley County | County | 2,603 | 46.909045 | -103.849998 | 3 |
| 38035 | Grand Forks County | County | 3,742 | 47.933446 | -97.455807 | 19 |
| 38037 | Grant County | County | 4,183 | 46.334874 | -101.644542 | 5 |
| 38039 | Griggs County | County | 1,854 | 47.456598 | -98.237082 | 5 |
| 38041 | Hettinger County | County | 2,937 | 46.455184 | -102.460386 | 3 |
| 38043 | Kidder County | County | 3,711 | 46.979795 | -99.779974 | 6 |
| 38045 | LaMoure County | County | 2,980 | 46.456915 | -98.535509 | 8 |
| 38047 | Logan County | County | 2,620 | 46.457477 | -99.47743 | 3 |
| 38049 | McHenry County | County | 4,950 | 48.240064 | -100.636303 | 12 |
| 38051 | McIntosh County | County | 2,566 | 46.112573 | -99.44151 | 4 |
| 38053 | McKenzie County | County | 7,605 | 47.678104 | -103.456118 | 7 |
| 38055 | McLean County | County | 6,048 | 47.570645 | -101.099093 | 13 |
| 38057 | Mercer County | County | 2,880 | 47.30869 | -101.935737 | 5 |
| 38059 | Morton County | County | 4,975 | 46.745993 | -101.095287 | 7 |
| 38061 | Mountrail County | County | 4,999 | 48.225969 | -102.3132 | 7 |
| 38063 | Nelson County | County | 2,614 | 47.933621 | -98.174999 | 8 |
| 38065 | Oliver County | County | 1,892 | 47.111197 | -101.340418 | 1 |
| 38067 | Pembina County | County | 2,881 | 48.767844 | -97.548089 | 12 |
| 38069 | Pierce County | County | 2,804 | 48.240991 | -100.042705 | 3 |
| 38071 | Ramsey County | County | 3,368 | 48.287953 | -98.666313 | 10 |
| 38073 | Ransom County | County | 2,238 | 46.456154 | -97.65745 | 5 |
| 38075 | Renville County | County | 2,285 | 48.660373 | -101.663823 | 4 |
| 38077 | Richland County | County | 3,748 | 46.260922 | -96.952453 | 14 |
| 38079 | Rolette County | County | 2,399 | 48.768766 | -99.840741 | 7 |
| 38081 | Sargent County | County | 2,203 | 46.112086 | -97.630971 | 8 |
| 38083 | Sheridan County | County | 2,605 | 47.587391 | -100.341396 | 4 |
| 38085 | Sioux County | County | 3,147 | 46.176979 | -100.859708 | 4 |
| 38087 | Slope County | County | 3,161 | 46.454837 | -103.460255 | 2 |
| 38089 | Stark County | County | 3,471 | 46.805519 | -102.65488 | 8 |
| 38091 | Steele County | County | 1,854 | 47.456069 | -97.724701 | 4 |
| 38093 | Stutsman County | County | 5,951 | 46.978725 | -98.958771 | 14 |
| 38095 | Towner County | County | 2,667 | 48.681682 | -99.245601 | 6 |
| 38097 | Traill County | County | 2,225 | 47.455537 | -97.163146 | 10 |
| 38099 | Walsh County | County | 3,365 | 48.368931 | -97.718853 | 11 |
| 38101 | Ward County | County | 5,324 | 48.153502 | -101.541771 | 17 |
| 38103 | Wells County | County | 3,342 | 47.587007 | -99.660944 | 7 |
| 38105 | Williams County | County | 5,391 | 48.344591 | -103.372806 | 12 |
No row matches. Clear the filter to see all.
File: north-dakota-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 North Dakota'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 = 'ND';In Excel, build the 5-digit code from two parts with =TEXT(A2,"00")&TEXT(B2,"000"), where A2 is the state code (38) 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: 53 of 53 match. ZIP counts come from the GeoNames postal code file on the North Dakota 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 |