Every US area code, explainedUnited States · +1
AREA CODE · VIRGINIA

Area code 540

Area code 540 covers Roanoke, Virginia. Map, time zone, overlays, carriers, the full list of prefixes and how to dial it.

State: Virginia Major City: Roanoke Eastern Time (ET) Overlay: 540/826
01 / WHERE IT IS

Where is area code 540?

Area code 540 is assigned to Roanoke and the surrounding region in Virginia. Calls to numbers that start with 540 are routed to this area.

Area code 540 shares its territory with 826. Because it is an overlay, local calls require dialing all 10 digits.

Counties covered

Roanoke cityFredericksburg cityHarrisonburg cityMontgomery CountyWinchester cityCulpeper CountyFauquier CountyStaunton cityStafford CountyFranklin CountyRockingham CountyShenandoah CountyRadford cityBedford CountyLoudoun CountyPage CountySpotsylvania CountyWaynesboro city

Line types

  • Mobile 31%
  • Landline 68.87%
02 / MAP

Area code 540 on the map

The shaded area joins the code’s numbering centers; the marker shows its main city.

Loading…

© OpenStreetMap contributors

03 / LOCAL TIME

Current time in Roanoke

This area code is in the Eastern Time (ET) time zone.

Local timeRoanoke, VA--:--:--

Loading…

04 / HOW TO DIAL

How to call Roanoke

WITHIN THE US540 XXX XXXX

Always 10 digits — landline, mobile or VoIP. Local, long distance or a different state: the format is always the same. You do not need to dial the 1 first.

FROM ABROAD+1 540 XXX XXXX

Exit codes: 00 Europe/Mexico · 011 Canada · 010 Japan · + universal

WHATSAPP / IMESSAGE+1 540 XXX XXXX

Always save the number in international format so messaging apps recognize it correctly:

Call typeTraditional landlineMobile / VoIP
Local (same area code)10 digits10 digits
US long distance1 + 10 digits10 digits
Emergency911911
🌐Universal+1 540 555 0123
🇪🇸🇲🇽Spain / Mexico00 1 540 555 0123
🇦🇺Australia0011 1 540 555 0123
🇯🇵Japan010 1 540 555 0123
HAVE THE FULL NUMBER?

Learn more about that number.

Check the line type and the carrier the number block was originally assigned to.

10 digits to see the carrier and line type of the number

05 / CARRIERS

Carriers in area code 540

Share of the number blocks by carrier and line type.

Landline

Verizon
35%
Lumen Technologies
10%
Sinch
5%
Brightspeed
5%
Metro by T-Mobile
5%
Others
40%

Mobile

Verizon Wireless
32%
AT&T Mobility
27%
T-Mobile USA
26%
UScellular
9%
Sinch
3%
Others
2%

Carrier shown is the original assignment of each number block and may differ today because of number portability.

06 / PREFIXES

Complete list of prefixes for area code 540

787 number blocks (NXX) assigned in this area code.

PrefixTypeCityCarrier
(540) 200 Landline Blacksburg Lumen TechnologiesLEVEL 3 COMMUNICATIONS, LLC - VA
(540) 201 Mobile Roanoke USA MobilityUSA MOBILITY WIRELESS, INC.
(540) 202 Landline The Plains SinchONVOY, LLC - VA
(540) 203 Landline Chancellor SinchONVOY, LLC - VA
(540) 204 Landline Roanoke Verizon BusinessMCIMETRO ACCESS TRANSMISSION SERVICES LLC
(540) 205 Landline Mineral Metro by T-MobileMETROPCS, INC.
(540) 206 Landline Roanoke VerizonVERIZON VIRGINIA, INC.
(540) 207 Mobile Fredericksburg AT&T MobilityNEW CINGULAR WIRELESS PCS, LLC - DC
(540) 208 Landline Harrisonburg BandwidthBANDWIDTH.COM CLEC, LLC - VA
(540) 209 Landline Harrisonburg Verizon BusinessMCIMETRO ACCESS TRANSMISSION SERVICES LLC - VA

Showing 10 of 787 prefixes

07 / FAQ

Frequently asked questions about area code 540

Where is area code 540 used?
Area code 540 serves Roanoke and the surrounding area in Virginia, including Roanoke city, Fredericksburg city, Harrisonburg city, Montgomery County, Winchester city.
What city is area code 540 from?
The main city of area code 540 is Roanoke, VA.
What time zone is area code 540 in?
Area code 540 is in the Eastern Time (ET) time zone (America/New_York).
Is 540 an overlay area code?
Yes. It shares its territory with 826. In an overlay, every call requires dialing all 10 digits.
How do I call a number with area code 540 from the United States?
Dial the 10 digits: 540 + 7-digit number. For some long-distance calls from a landline you may need to add a 1 first.
How do I call a 540 number from another country?
Dial your country's exit code (or +), then 1, then 540 and the seven-digit number. From a mobile you can use +1 540 XXX XXXX.
Which carriers use area code 540?
Most landline blocks belong to Verizon and most mobile blocks to Verizon Wireless. The carrier shown is the original assignment and may differ today because of number portability.
Is area code 540 for landlines, mobiles or both?
Both. About 68.87% of the number blocks are landline, 31% mobile.
How do I save a 540 number in WhatsApp or my phone?
Save it in international format: +1 540 XXX XXXX. That way WhatsApp, iMessage and Telegram recognize it from any country.
Is it safe to answer calls from area code 540?
The area code only shows the region a number was assigned to; it does not tell you who is calling. Scammers can fake any area code, so do not share personal or banking information with unknown callers, and let unknown numbers go to voicemail.
KEEP EXPLORING

Nearby area codes

Other area codes in Virginia

View all Virginia area codes →