Danville, Virginia

3 ZIP codes · Eastern time

ZIP codes (largest first)

24540 · 31,01324541 · 28,04224543 (PO box)

See the Danville ZIP code map

Population42,214
StateVirginia
CountyPittsylvania County, Danville city
Time zoneEastern
Land area42.8 sq mi

Area codes in this area

434

These are the area codes that most often serve Danville (including overlays). The exact area code depends on the phone number — landlines, mobiles and overlays can differ even on the same street.

Find the ZIP+4 for an address in Danville

Addresses are checked through our secure proxy. Bot checks use Cloudflare Turnstile. Each device can run 5 live checks per day; repeats of the same address are free.

Population: U.S. Census Bureau, ACS 5-year estimates, 2024.

More details

Danville ZIP codes by population
ZIPPopulationLand (sq mi)People per sq mi
2454031,01375.04413
2454128,04275.17373

ZIP populations are for whole Census ZIP areas, which can reach beyond the city limits, so they do not add up to the city population.

Danville by the numbers
People per square mile986
Land area42.8 sq mi (110.9 km²)
ZIP codes3, including 1 PO box or unique ZIP
Counties2 (Pittsylvania County, Danville city)
Area codes1
How to address mail in Danville

Write the city, the state code VA and the ZIP code on the last line, in capitals and without punctuation. For an address in ZIP 24540:

RECIPIENT NAME
123 MAIN ST APT 4
DANVILLE VA 24540

The street line is only an example. Danville has 3 ZIP codes, so check the right one for the street with the address lookup.

How we check this page

City population and land area come from the US Census Bureau (U.S. Census Bureau, ACS 5-year estimates, 2024 and place boundary files). ZIP codes are matched to the city using Census ZIP areas and GeoNames place names, and area codes come from NANPA data. Pages are rebuilt from the same files whenever the data is refreshed, and automated checks look for broken links and missing values before each update goes live.

Last reviewed: October 2026. Updated: October 23, 2026. Read our sources and methodology, or tell us if something looks wrong.