Area Code 540

Virginia

Area code 540 serves Virginia, primarily Roanoke, in the Eastern Time (ET) time zone. It has served the region since 15-Jul-1995.

Published:

Overlay Area Code

This area code is part of an overlay region, meaning the same geographic area is served by multiple area codes. Overlay codes were introduced to meet growing demand for phone numbers without requiring existing customers to change their numbers.

This area code shares its geographic region with: area code 826 (Roanoke).

In service since: 15-Jul-1995

Learn more about overlay and split area codes →

Area Code Splits

Parts of this area code’s original geographic region were later assigned new area codes through splits. When a split occurs, some customers in the original area code region are assigned the new area code.

Split into: area code 276 (Richmond).

Learn more about overlay and split area codes →

Demographics

The estimated population served by area code 540 is approximately 3,347,168. The population density is 111 people per square mile, which is higher than the national average of 94. The median household income is $82,931, which is near the national median of $78,538. Approximately 32.6% of adults hold a bachelor's degree or higher, compared to the national rate of 35.0%. This rate is near the national average. The poverty rate stands at 10.7%, which is lower than the national rate of 12.4%.

History

Area code 540 was established in 1995 as a geographic area code. Over time, area code area code 276 was split from 540. It shares its territory with area code area code 826.

Geographic Coverage

Area code 540 serves Virginia, primarily the Roanoke area, in the Eastern Time (ET). It covers 205 communities. The geographic center of this area code is approximately 38.15°N, 78.96°W.

Demographics & Economics

Total Population
3,347,168
Population Density
111 people/sq mi
above U.S. average (U.S.: 94 people/sq mi)
Median Household Income
$82,931
near U.S. median (U.S.: $78,538)
Poverty Rate
10.7%
below U.S. average (U.S.: 12.4%)
Unemployment Rate
3.8%
below U.S. average (U.S.: 5.2%)
Education Attainment
Bachelor's Degree+
32.6%
near U.S. average (U.S.: 35.0%)
High School or Lower
34.3%

Statistics are population-weighted aggregations from Census ACS 5-year estimates.See Sources for details.

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

Time Zone

  • Eastern Time (ET)

Current Time

Eastern Time (ET)
--:--:-- --
---
Area Code 540 geographic coverage map (light mode)

County Coverage

Population-weighted county share based on aggregated ZCTA population (100% = total mapped population for area code 540).

CountyPopulationShare
Roanoke, VA211,9406.3%
Spotsylvania, VA189,8745.7%
Roanoke city, VA189,0895.6%
Fauquier, VA177,8175.3%
Stafford, VA166,5145.0%
Frederick, VA157,2384.7%
Botetourt, VA149,9234.5%
Augusta, VA148,2524.4%
Rockingham, VA147,6464.4%
Culpeper, VA143,5264.3%
Montgomery, VA124,0463.7%
Fredericksburg city, VA123,5243.7%
Orange, VA111,7413.3%
Warren, VA81,4532.4%
Bedford, VA75,3312.3%
Harrisonburg city, VA74,7602.2%
Franklin, VA72,1732.2%
Madison, VA64,9371.9%
Shenandoah, VA59,7681.8%
Clarke, VA52,2031.6%
Pulaski, VA50,5841.5%
Loudoun, VA50,5181.5%
Rappahannock, VA47,0021.4%
Louisa, VA45,9001.4%
Staunton city, VA43,0511.3%
Rockbridge, VA42,9011.3%
Floyd, VA42,3611.3%
Salem city, VA38,2491.1%
Page, VA35,7681.1%
Waynesboro city, VA32,7561.0%
Caroline, VA31,0500.9%
Winchester city, VA29,3850.9%
King George, VA27,4680.8%
Westmoreland, VA26,8100.8%
Alleghany, VA25,0890.7%
Goochland, VA25,0150.7%
Radford city, VA23,6130.7%
Albemarle, VA21,2130.6%
Craig, VA20,9490.6%
Lexington city, VA17,7600.5%
Giles, VA17,1980.5%
Bland, VA15,0370.4%
Fluvanna, VA14,2430.4%
Covington city, VA13,6110.4%
Prince William, VA13,0620.4%
Patrick, VA12,3060.4%
Bath, VA10,7770.3%
Hanover, VA10,7700.3%
Buena Vista city, VA9,1860.3%
Greene, VA6,7270.2%
Nelson, VA6,3220.2%
Carroll, VA4,9260.1%
Jefferson, WV3,3760.1%
Highland, VA3,0850.1%
Pittsylvania, VA2,6950.1%
Wythe, VA2,4420.1%
Henry, VA1,5040.0%
Amherst, VA7040.0%

Call Context

High-volume metropolitan area

This area code covers multiple cities and communities across a broad region in Virginia.

Nearby Area Codes

Area codes geographically closest to 540.

Other Area Codes in Virginia

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

Frequently Asked Questions

Common questions about area code 540 and how phone numbering works.

Phone numbers are assigned based on where the number was originally provisioned, not the caller's current location. Mobile phones retain their number when users move, and businesses may use numbers from regions where they don't have a physical presence. VoIP services can also provision numbers from virtually any area code.

Yes, mobile phones can have numbers from any area code in the region they were activated. Wireless carriers assign numbers from available pools regardless of phone type. When users change carriers or move to new areas, they typically keep their original number, which may have a different area code than their current location.

Start by looking up the area code on this site to understand its general geographic region. For the specific number, options include using your carrier's caller ID features or checking public directories. If you suspect fraud, you can report it to the FTC. To file a complaint about robocalls or spoofed numbers, visit the FCC Consumer Complaint Center. You can also register your number with the National Do Not Call Registry to reduce unwanted calls. Keep in mind that caller ID can display any name the caller chooses to set.

When an area's pool of available phone numbers runs low, regulators may introduce an "overlay" area code that covers the same geographic territory as the original. Both codes coexist, and new numbers are assigned from whichever code has availability. This area code shares its region with area code 826. Learn more in our overlay vs split guide.

While Washington is a prominent city in this area code's coverage, the code serves the broader surrounding region as well. Area codes are assigned geographically and typically cover multiple cities, towns, and communities beyond any single anchor city.

The estimated total population served by area code 540 is based on aggregated U.S. Census Bureau data for the counties within this area code. The population varies significantly between dense urban codes serving millions and rural codes covering smaller populations. You can find the specific population figure in the demographics section above.