540 Area Code

540 is a US area code for Roanoke, Fredericksburg, Harrisonburg and Winchester, Virginia. It is not a country code: dial +1 540 from abroad.

--:--
LocationVirginia, United States
Time zoneEastern Time
Country code?No. 540 is an area code; the country code is +1
Overlay826
In service sinceJuly 15, 1995
Split from703
Local calls10 digits (area code + number)

Cities and towns in area code 540

Ranked by how many blocks of 540 phone numbers are assigned to each place. Bigger places have more numbers.

  1. Roanoke
  2. Fredericksburg
  3. Harrisonburg
  4. Winchester
  5. Culpeper
  6. Staunton
  7. Blacksburg
  8. Warrenton
  9. Radford
  10. Stafford Courthouse
  11. Christiansburg
  12. Waynesboro
  13. Rocky Mount
  14. Front Royal
  15. Salem
  16. Lexington

Phone companies with 540 numbers

Share of the 800 blocks of 540 numbers held by each company. Mobile carriers and internet phone (VoIP) companies get numbers in blocks of 1,000 or 10,000.

Verizon35%
T-Mobile14%
AT&T9%
Lumen / CenturyLink6%
Sinch / Inteliquent4%
Bandwidth3%
Other companies29%

Is 540 a country code?

No. 540 is not a country code. It is an area code in the North American Numbering Plan, whose country code is +1. A number like (540) 555-0123 is written +1 540 555 0123 in international format, and it is from Roanoke.

Questions

What time zone is area code 540 in?

Area code 540 is in Eastern Time. The clock at the top of this page shows the current local time.

What area codes overlay 540?

540 shares its area with 826. New numbers can be given out in any of them, so neighbors can have different area codes.

What is the 540 dialing code (prefix) from abroad?

From outside North America, dial +1 540 and then the 7-digit number. Within the US and Canada, dial 540 and the number, with 1 in front for long distance.

Is a call from 540 spam?

Not necessarily. 540 is a real area code, and scammers can fake (spoof) any caller ID. If you don't recognize the number, let it go to voicemail, and never give out codes, passwords or payment details to someone who called you.

Other area codes in Virginia

276 434 571 686 703 757 804 826 948