Virginia · Eastern Time

540 Area Code

The 540 area code is a telephone area code in Virginia, covering Roanoke and the surrounding area. It lies in the Eastern Time zone.

Last updated June 5, 2026

Area code
540
Primary city
Roanoke
Time zone
Type
Geographic
Dialing
7- or 10-digit

Where is the 540 area code?

540 serves Roanoke and nearby communities in Virginia. In the wider directory it sits in the South region.

Dialing 540

Roanoke is currently served by the single area code 540. Ten-digit dialing (area code + seven-digit number) always works and is increasingly the norm nationwide; some local calls may still connect with seven digits. If a future overlay is added, 10-digit dialing would become mandatory.

History of the 540 area code

540 is a geographic area code serving Roanoke and the surrounding part of Virginia. It was added after the original 1947 plan as telephone demand grew. For how codes are created, split, and overlaid, see how area codes work.

Is 540 a scam or spam risk?

540 is a legitimate geographic area code, not a premium or toll line, so a call from it costs you nothing extra. That said, scammers frequently spoof real local area codes to look familiar on caller ID. A genuine 540 number on your screen is no guarantee the caller is local or trustworthy. See spam & scam-risk area codes for how spoofing works and how to respond.

Other Virginia area codes

See all Virginia area codes →

Explore more

See every code in Virginia, compare codes across the South region, or view all Eastern Time codes. You can also browse the 5XX block or the complete numeric list of US area codes.

New to how this all works? Start with how area codes work, then read up on overlays, 10-digit dialing, and spam & scam-risk codes. To check another number, use the area code lookup tool.

Quick answers

540 area code FAQ

Where is the 540 area code?

The 540 area code is in Virginia, serving Roanoke and the surrounding area in the South region.

What time zone is 540 in?

540 is in the Eastern Time zone.

Do I have to dial 10 digits for 540?

Ten-digit dialing always works, and many areas now require it; some local calls in this area may still connect with seven digits.

Is 540 a toll-free or premium code?

No. 540 is a standard geographic area code, so calling it costs the same as any local or long-distance call on your plan. Toll-free calls use 800, 888, 877, 866, 855, 844 or 833.