Pittsylvania County · Virginia

ZIP Code 24540

Danville, VA · 31,013 residents

County
Pittsylvania County +1 more
City (USPS)
Danville
Time zone
Eastern Time
Area code
434
Coordinates
36.6345° N, 79.4268° W
Land area
75.0 sq mi · 413 people/sq mi
79.8°W79.6°W79.4°W79.2°W36.6°N36.8°NZIP 24054ZIP 24069ZIP 24520ZIP 24527ZIP 24530ZIP 24531ZIP 24541ZIP 24549ZIP 24566ZIP 24586ZIP 24594ZIP 27305ZIP 27311ZIP 27315245412405427305245492459424069245662731124586273152452724530245405 miN
ZIP Code 24540 (highlighted) with bordering ZIP Codes and county lines. Select a neighbor to open it.

What county is 24540 in?

ZIP Code 24540 is mainly in Pittsylvania County, Virginia, which covers 77% of its land. It also extends into Danville city (23%).

The Postal Service's default place name for 24540 is Danville. By Census boundaries it covers Danville (city, 23% of the land) and Mount Hermon (community, 8% of the land). The remaining 70% is unincorporated.

Population31,013±1,233
Median household income$47,924
Median home value$159,200
Median rent$817/mo
Median age44.3
Households13,812

What stands out in ZIP 24540

  • The share of residents born abroad is 2.6%, 53% higher than Pittsylvania County (1.7%).
  • The poverty rate is 19.3%, 32% higher than Pittsylvania County (14.6%).
  • The homeownership rate is 59.6%, 24% lower than Pittsylvania County (78.7%).
  • The average commute is 22 minutes, 17% lower than Pittsylvania County (27 minutes).

People in ZIP 24540

Median age44.3
Under 1820.6%
65 and older23.3%
Born abroad2.6%
Moved here in the last year11.6%

Age and sex

MaleAgeFemale
1.4%80+3.8%
4.5%70–796.1%
7.0%60–698.9%
5.1%50–596.1%
5.6%40–496.4%
5.4%30–394.9%
6.2%20–296.1%
6.1%10–196.5%
5.3%0–94.7%
Share of all residents in each age group

Race and ethnicity

  • White49.3%
  • Black42.7%
  • Hispanic or Latino3.6%
  • Two or more races3.3%
  • Asian1.1%
  • American Indian / Alaska Native0.1%

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

Households

13,812 households, 2.19 people per household on average, 57.4% family households, and 36.7% people living alone.

Income in ZIP 24540

Median household income$47,924±$3,690
Per-capita income$28,943
Poverty rate19.3%
Income inequality (Gini)0.460 = equal, 1 = unequal

Median household income ranks 685th of 779 ZIP Codes in Virginia. Richest ZIP Codes in Virginia

29%Under $25k
22%$25k–50k
17%$50k–75k
11%$75k–100k
14%$100k–150k
4%$150k–200k
3%$200k+
Households by annual income

Housing in ZIP 24540

Median home value$159,200
Median gross rent$817/mo
Housing units15,796
Median year built1972
Vacant12.6%

Owners and renters

  • Owner-occupied 59.6%
  • Renter-occupied 40.4%

Types of homes

  • Single-family homes 71%
  • 2–9 unit buildings 10.4%
  • 10+ unit buildings 12.4%
  • Mobile homes, RVs 6.2%

Work, commute and education

Mean commute22 minone way
Unemployment rate4.4%
Labor force participation54%age 16+
Broadband at home80.5%households

How workers get to work

  • Drove alone76.7%
  • Carpooled11.1%
  • Public transit1.3%
  • Walked1.3%
  • Bicycle0.3%
  • Worked from home8.3%

Education, adults 25+

  • High school or higher87.4%
  • Bachelor's or higher17.5%
  • Graduate or professional degree5.7%

How ZIP 24540 compares

ZIP 24540Pittsylvania CountyVirginiaUnited States
Median household income$47,924$54,085$93,170$80,734
Per-capita income$28,943$30,435$50,666$44,673
Median home value$159,200$161,400$383,700$332,700
Median gross rent$817/mo$861/mo$1,579/mo$1,413/mo
Homeownership rate59.6%78.7%67.3%65.2%
Median age44.348.139.038.9
Bachelor's degree or higher17.5%16.1%42.2%35.7%
Poverty rate19.3%14.6%9.9%12.5%
Unemployment rate4.4%4.7%4.3%5.2%
Mean commute22 min27 min27 min26 min
Worked from home8.3%5.7%18.3%15.1%
Broadband at home80.5%78%91%91%
Foreign-born residents2.6%1.7%13.1%14.1%

ZIP Codes bordering 24540

ZIP CodeCityPopulationMedian incomeHome valueMedian ageDirection
24541Danville28,042$51,427$145,10040.5SW · 5.8 mi
24549Dry Fork4,160$55,186$146,00049.7NW · 6.6 mi
24527Blairs3,262$73,715$151,90037.4NE · 8.1 mi
24586Ringgold4,807$53,962$156,80044.9E · 8.5 mi

Cities and communities in 24540

Area codes for 24540

Danville phone numbers use area code 434. See every phone prefix, carrier and the local time on Danville area codes at AreaCodeExplorer.

ZIP Code 24540: questions and answers

What county is ZIP Code 24540 in?
ZIP Code 24540 is mainly in Pittsylvania County, Virginia, which covers 77% of its land. It also extends into Danville city (23%).
What city is ZIP Code 24540 in?
The Postal Service's default place name for 24540 is Danville. By Census boundaries it covers Danville (city, 23% of the land) and Mount Hermon (community, 8% of the land). The remaining 70% is unincorporated.
What is the population of ZIP Code 24540?
About 31,013 people live in ZIP Code 24540, according to the Census Bureau's American Community Survey (2020–2024).
What time zone is 24540 in?
ZIP Code 24540 is in the Eastern Time zone (America/New_York).
What is the median household income in 24540?
The median household income in ZIP Code 24540 is $47,924 (2020–2024 ACS), compared with $54,085 in Pittsylvania County and $93,170 in Virginia.
Which ZIP Codes border 24540?
24541 (Danville), 24549 (Dry Fork), 24527 (Blairs), and 24586 (Ringgold).

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.