Where is Area Code 540?

Max of Virginia with area code 540 highlighted

Area code 540 is found in the US state of Virginia. Primarily servicing the city of Roanoke (population: 102646), area code 540 covers 45 counties of Virginia.

Located in the Eastern time zone, area code 540 is on the same time as New York, NY.

Area code 540 was brought into effect on July 15, 1995. 540 was split from the parent 703 area code.

Counties in Area Code 540

  • Alleghany,
  • Augusta,
  • Bath,
  • Bedford,
  • Bedford City,
  • Botetourt,
  • Buena Vista City,
  • Clarke,
  • Covington City,
  • Craig,
  • Culpeper,
  • Fauquier,
  • Floyd,
  • Franklin,
  • Frederick,
  • Fredericksburg City,
  • Giles,
  • Harrisonburg City,
  • Highland,
  • King George,
  • Lexington City,
  • Loudoun,
  • Louisa,
  • Madison,
  • Montgomery,
  • Nelson,
  • Orange,
  • Page,
  • Pulaski,
  • Radford City,
  • Rappahannock,
  • Roanoke,
  • Roanoke City,
  • Rockbridge,
  • Rockingham,
  • Salem,
  • Shenandoah,
  • Spotsylvania,
  • Stafford,
  • Staunton City,
  • Warren,
  • Waynesboro City,
  • Winchester City.

Most Populous Cities in Area Code 540

City County City Population
Roanoke Roanoke City 102,646
Fredericksburg Spotsylvania 84,007
Stafford Stafford 80,362
Harrisonburg Harrisonburg City 69,922
Roanoke Roanoke 63,716
Blacksburg Montgomery 53,763
Fredericksburg Stafford 51,994
Winchester Frederick 43,440
Salem Salem 38,002
Staunton Staunton City 35,659
Spotsylvania Spotsylvania 34,067
Culpeper Culpeper 32,244
Waynesboro Waynesboro City 31,538
Front Royal Warren 30,697
Warrenton Fauquier 30,421
Christiansburg Montgomery 30,046
Winchester Winchester City 28,532
Fredericksburg Fredericksburg City 27,307
King George King George 23,896
Radford Radford City 23,408
Rocky Mount Franklin 20,089
Stephens City Frederick 19,823
Bedford Bedford City 18,863
Vinton Roanoke 18,764
Purcellville Loudoun 17,151

Note: The above list is based off of the top 25 most populous cities in the area code as per 2012 United States Census Bureau estimates.

View all United States Area Codes.