Gaston County
North Carolina · County seat: Gastonia · Active county or equivalent
FIPS code 37071 is Gaston County, North Carolina. With a population of 228,972 (2022 ACS estimate), it ranks #9 in North Carolina and #299 nationally. Gaston County is part of the Charlotte-Concord-Gastonia, NC-SC. The state FIPS code for North Carolina is 37. This code is used in Census Bureau, BLS, EPA, HUD, and USDA federal datasets to identify this county.
County FIPS
37071
Population
228,972
2022 ACS · #299 nationally
Density
643.1/mi²
people per sq mile
Land Area
356
sq miles
Urban/Rural
Metro — 1M+ population
RUCC 1
How This FIPS Code Works
The 5-digit FIPS code 37071 is formed by combining the 2-digit state identifier 37 (North Carolina) with the 3-digit county identifier 071. Together they uniquely identify Gaston County in every US federal dataset. No two counties share the same 5-digit FIPS code.
Census ACS Data for FIPS 37071
From the 2022 ACS 5-year estimates — the same values you'd retrieve by querying the Census API with county FIPS 37071.
Median Household Income
$62,628
ACS B19013_001E
Poverty Rate
12.4%
ACS B17001 (below poverty level)
Median Age
39.9
ACS B01002_001E
Metropolitan Area
Adjacent Counties (4)
Counties that share a border with Gaston County. Useful for regional analysis — these are the geographies you'd typically include when studying labor markets, commuting zones, or environmental spillovers around FIPS 37071.
Federal Datasets Using Code 37071
FIPS code 37071 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 37071 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.
import requests
url = "https://api.census.gov/data/2022/acs/acs5"
params = {
"get": "NAME,B19013_001E,B01003_001E",
"for": "county:071",
"in": "state:37",
"key": "YOUR_CENSUS_API_KEY",
}
r = requests.get(url, params=params)
data = r.json() # [[header...], [Gaston County, North Carolina, income, pop, ...]
-- 5-digit combined FIPS (state + county)
SELECT * FROM your_table WHERE county_fips = '37071';
-- Some datasets store state and county separately
SELECT * FROM your_table
WHERE state_fips = '37'
AND county_fips = '071';
-- ⚠ Never cast to integer — leading zeros are lost:
-- county_fips = 37071 is WRONG for this county
library(tidycensus)
get_acs(
geography = "county",
variables = c(income = "B19013_001E", pop = "B01003_001E"),
state = "37",
county = "071",
year = 2022
)
ZIP Codes in Gaston 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 Gaston County. Why FIPS ≠ ZIP →
| ZIP Code | % in county |
|---|---|
| 28098 | 100.0% |
| 28012 | 100.0% |
| 28016 | 100.0% |
| 28120 | 100.0% |
| 28032 | 100.0% |
| 28101 | 100.0% |
| 28034 | 100.0% |
| 28052 | 100.0% |
| 28054 | 100.0% |
| 28056 | 100.0% |
| 28077 | 100.0% |
| 28164 | 62.7% |
| 28006 | 51.5% |
| 28021 | 43.6% |
| 28033 | 36.7% |
| 28086 | 25.8% |
| 28092 | 7.9% |
| 28080 | 0.4% |