Area Code 540
Virginia
Area code 540 serves Virginia, primarily Roanoke, in the Eastern Time (ET) time zone. It was created from a split of area code 703.
Published: Verified against NANPA and FCC records
Overlay Area Code
This area code shares its geographic footprint with an overlay code, so the same cities are served by two area codes. Because overlays leave existing numbers untouched, this region's relief planning favors adding codes over redrawing boundaries.
The codes serving this same region: area code 826 (Roanoke).
Today 100.0% of this area code's assignable prefixes are assigned, so numbering resources here remain under sustained pressure. This is the current state, not the documented reason for the original relief decision.
In service since: 15-Jul-1995
Split Area Code
This area code exists because its parent region ran low on available numbers: the parent territory was divided geographically, this code took over one part of it, and the parent kept serving the rest. Existing customers generally keep their numbers — only the code changes for the newly drawn region.
This area code was split from area code 703 (Arlington).
Its original territory was later further divided: area code 276 (Richmond).
In service since: 15-Jul-1995
Demographics & Economics
- Total Population
- 3,343,792
- Population Density
- 111 people/sq miabove U.S. average (U.S.: 95 people/sq mi)
- Median Household Income
- $83,709near U.S. median (U.S.: $80,734)
- Poverty Rate
- 10.6%below U.S. average (U.S.: 12.5%)
- Unemployment Rate
- 3.9%below U.S. average (U.S.: 5.2%)
- Education Attainment
- Bachelor's Degree+33.3%near U.S. average (U.S.: 35.7%)High School or Lower34.1%
Statistics are population-weighted aggregations from Census ACS 5-year estimates. Population figures are approximate — see Sources & Methodology for details on how area code populations are derived.
See how this area code compares to all US area codes in the income ranking and density ranking.
Time Zone
- Eastern Time (ET)
NANPA Relief Status
According to the latest NANPA analysis (October 2026), this area code is not currently listed as exhausting within the next 36 months. No relief planning is in progress for this NPA.
Source: NANPA NPA Relief Planning Reports · See all relief planning statuses
Current Time
Prefix Utilization
Geographic Coverage
State
VA
Major Cities
- Roanoke
- Harrisonburg
- Blacksburg
- Fredericksburg
- Winchester
- Cave Spring
- Staunton
- Salem
- Christiansburg
- Waynesboro
- Culpeper
- Hollins
- Radford
- Front Royal
- Stuarts Draft
- New Baltimore
- Warrenton
- Fishersville
- Purcellville
- Pulaski
- Lake of the Woods
- Vinton
- Lexington
- Strasburg
and 181 more cities


Demographics
The estimated population served by area code 540 is approximately 3,343,792. The population density is 111 people per square mile, which is higher than the national average of 95. The median household income is $83,709, which is near the national median of $80,734. Approximately 33.3% of adults hold a bachelor's degree or higher, compared to the national rate of 35.7%. This rate is near the national average. The poverty rate stands at 10.6%, which is lower than the national rate of 12.5%.
History
Area code 540 was created from a split of area code 703. It was introduced in 1995 as part of a geographic division to provide additional numbering resources. Over time, area code 276 was split from 540. It shares its territory with area code 826.
County Coverage
Population-weighted county share based on aggregated ZCTA population (100% = total mapped population for area code 540).
| County | Population | Share |
|---|---|---|
| Roanoke, VA | 211,940 | 6.3% |
| Spotsylvania, VA | 189,874 | 5.7% |
| Roanoke city, VA | 189,089 | 5.7% |
| Fauquier, VA | 177,817 | 5.3% |
| Stafford, VA | 166,514 | 5.0% |
| Frederick, VA | 157,238 | 4.7% |
| Botetourt, VA | 149,923 | 4.5% |
| Augusta, VA | 148,252 | 4.4% |
| Rockingham, VA | 147,646 | 4.4% |
| Culpeper, VA | 143,526 | 4.3% |
| Montgomery, VA | 124,046 | 3.7% |
| Fredericksburg city, VA | 123,524 | 3.7% |
| Orange, VA | 111,741 | 3.3% |
| Warren, VA | 81,453 | 2.4% |
| Bedford, VA | 75,331 | 2.3% |
| Harrisonburg city, VA | 74,760 | 2.2% |
| Franklin, VA | 72,173 | 2.2% |
| Madison, VA | 64,937 | 1.9% |
| Shenandoah, VA | 59,768 | 1.8% |
| Clarke, VA | 52,203 | 1.6% |
| Pulaski, VA | 50,584 | 1.5% |
| Loudoun, VA | 50,518 | 1.5% |
| Rappahannock, VA | 47,002 | 1.4% |
| Louisa, VA | 45,900 | 1.4% |
| Staunton city, VA | 43,051 | 1.3% |
| Rockbridge, VA | 42,901 | 1.3% |
| Floyd, VA | 42,361 | 1.3% |
| Salem city, VA | 38,249 | 1.1% |
| Page, VA | 35,768 | 1.1% |
| Waynesboro city, VA | 32,756 | 1.0% |
| Caroline, VA | 31,050 | 0.9% |
| Winchester city, VA | 29,385 | 0.9% |
| King George, VA | 27,468 | 0.8% |
| Westmoreland, VA | 26,810 | 0.8% |
| Alleghany, VA | 25,089 | 0.8% |
| Goochland, VA | 25,015 | 0.7% |
| Radford city, VA | 23,613 | 0.7% |
| Albemarle, VA | 21,213 | 0.6% |
| Craig, VA | 20,949 | 0.6% |
| Lexington city, VA | 17,760 | 0.5% |
| Giles, VA | 17,198 | 0.5% |
| Bland, VA | 15,037 | 0.4% |
| Fluvanna, VA | 14,243 | 0.4% |
| Covington city, VA | 13,611 | 0.4% |
| Prince William, VA | 13,062 | 0.4% |
| Patrick, VA | 12,306 | 0.4% |
| Bath, VA | 10,777 | 0.3% |
| Hanover, VA | 10,770 | 0.3% |
| Buena Vista city, VA | 9,186 | 0.3% |
| Greene, VA | 6,727 | 0.2% |
| Nelson, VA | 6,322 | 0.2% |
| Carroll, VA | 4,926 | 0.1% |
| Highland, VA | 3,085 | 0.1% |
| Pittsylvania, VA | 2,695 | 0.1% |
| Wythe, VA | 2,442 | 0.1% |
| Henry, VA | 1,504 | 0.0% |
| Amherst, VA | 704 | 0.0% |
Area Code 540 Family Tree
Hover over nodes to see details. Click to navigate to individual area code pages. Use scroll to zoom, drag to pan.
Area code 540 was originally assigned in 15-Jul-1995 to serve VA. Over the years, it has generated 2 descendant area codes through a combination of geographic splits and overlays as demand for telephone numbers grew.
Call Context
This area code covers a metropolitan region in VA with moderate to high population density, centered on Roanoke and surrounding communities.
Nearby Area Codes
Area codes geographically closest to 540.












Other Area Codes in Virginia
Area codes that also serve Virginia, linked for easy comparison.











