Weather right now
Asking the National Weather Service…
Where 40831 is
Approximate ZIP boundary (Census ZCTA 2020). ZIP codes are mail routes, not areas, so the shape shown is the Census tabulation area that approximates it.
People and housing
| Population | 4,789This ZIP4,789 |
|---|---|
| Households | 2,167This ZIP2,167 |
| Housing units | 2,431This ZIP2,431 |
| Median age | 42.5This ZIP42.5Kentucky39.1US 38.9 |
| Median household income | $35,404This ZIP$35,404Kentucky$63,726US $80,734 |
| Median home value | $89,100This ZIP$89,100Kentucky$205,600US $332,700 |
| Median gross rent | $620This ZIP$620Kentucky$967US $1,413 |
| Bachelor's degree or higher | 20.2%This ZIP20.2% |
| Mean commute | 20.0 minThis ZIP20.0 min |
| Population density | 71.1 / sq miThis ZIP71.1 / sq mi |
How 40831 compares
40831 has the most residents in Harlan County: 4,789, against 101 in 40964 at the other end, among 20 ZIP codes ranked.
| Measure | 40831 | Rank in county | Above, in KY |
|---|---|---|---|
| Median household income | $35,404 | 12th of 17 | 11% |
| Median home value | $89,100 | 3rd of 15 | 19% |
| Median gross rent | $620 | 9th of 11 | 13% |
| Population | 4,789 | 1st of 20 | 71% |
| Median age | 42.5 | 11th of 17 | 58% |
| Bachelor's degree or higher | 20.2% | 4th of 17 | 68% |
| People per square mile | 71 | 11th of 20 | 58% |
Rank in county is among the ZIP codes of Harlan County, 1 being the highest; "Above, in KY" is the share of Kentucky's ZIP codes with a lower figure. Both count only ZIP codes where people live (a Census tabulation area with 100 or more residents), each in the county most of its land lies in. Survey medians are ranked for ZIP codes of 200 or more residents.
Business and tax activity
| Business establishments | 186This ZIP186 |
|---|---|
| Employees | 2,771This ZIP2,771 |
| Annual payroll | $107,305,000This ZIP$107,305,000 |
| Tax returns filed | 1,700This ZIP1,700 |
| Total adjusted gross income | $104,245,000This ZIP$104,245,000 |
Land area
| Land area | 67.33 sq miThis ZIP67.33 sq mi |
|---|---|
| Water area | 0.63 sq miThis ZIP0.63 sq mi |
Other place names in 40831
Census places whose land this ZIP code overlaps. The Postal Service may accept other city names in an address, too.
Neighbouring ZIP codes compared
The closest ZIP codes where people live, by distance between their centres.
| ZIP | Town | Distance | Population | Median income | Median home |
|---|---|---|---|---|---|
40831 | Harlan, KY (this ZIP) | — | 4,789 | $35,404 | $89,100 |
40830 | Gulston, KY | 1.1 mi | 312 | $21,815 | — |
40964 | Mary Alice, KY | 1.6 mi | 101 | — | — |
40824 | Dayhoit, KY | 5.2 mi | 977 | $49,667 | $46,600 |
40873 | Wallins Creek, KY | 5.3 mi | 2,167 | $33,359 | $88,900 |
40815 | Cawood, KY | 5.7 mi | 811 | $68,155 | $69,900 |
40863 | Pathfork, KY | 6.1 mi | 706 | $49,578 | $44,000 |
Other ZIP codes nearby
These serve PO boxes, a single organisation or a post office, so they have no residents to compare.
Find every ZIP code within 10 miles of 40831 →
- 🔢 Type 40831 into a pocket calculator and turn it upside down: IEBOh — not quite a word, sorry.
- 🏠 Its numerical neighbours: 40830 (Gulston, KY, 1 mi away) and 40840 (Helton, KY, 14 mi away).
- 🧭 Farther south than 65% of all ZIP codes, and farther east than 62%.
- 🎯853 miles east of the geographic center of the Lower 48, near Lebanon, Kansas.
- ☀Longest day of the year: 14h 41m of daylight. Shortest: 9h 38m.
- 📏 At 67.3 square miles of land, 40831 is bigger than 68% of ZIP codes — room for about 51 Central Parks.
- Working out the sun…
- Checking the USGS…
Source: USGS.
Questions about this ZIP code
Where is ZIP code 40831?
40831 is in Harlan, Kentucky, in Harlan County. Its published point location is 36.7602, -83.3286.
What county is 40831 in?
40831 lies in Harlan County.
What area code is 40831?
Harlan uses area code 606, from NANPA's telephone records.
What time zone is 40831 in?
40831 uses America/New_York.
How many people live in 40831?
About 4,789 people live in ZIP code 40831, in 2,167 households, at 71.1 people per square mile. These are American Community Survey 5-year estimates for the ZIP Code Tabulation Area, not a headcount.
What is the median household income in 40831?
$35,404 a year, against $63,726 across Kentucky.
What ZIP codes are near 40831?
The closest where people live are 40830 (1.1 mi), 40964 (1.6 mi), 40824 (5.2 mi), 40873 (5.3 mi) and 40815 (5.7 mi).
Is 40831 a PO Box ZIP code?
40831 is a standard ZIP code. A normal ZIP code with street delivery.
Download or cite
Cite this page
zipcodes.pro. “40831 ZIP Code: Harlan, Kentucky (Harlan County).” Data release 2026-11-18. Retrieved 2026-12-05. https://zipcodes.pro/zip/40831
Machine-readable version of these facts:
curl https://zipcodes.pro/zip/40831.json Underlying data is public domain or openly licensed — sources, vintages and licences.