540 Area Code
Covers Roanoke and nearby communities in Virginia.
(540) 555-0142Area code 540 map
Interactive coverage map for area code 540, centered on Roanoke, Virginia
37.2710, -79.9414
Open in OpenStreetMapArea code 540 coverage map — centered on Roanoke. Shaded area shows the approximate reach around the primary city.
Area code 540 is a telephone area code in Virginia, anchored on Roanoke. It reaches roughly 193,000 people across places such as Roanoke, Harrisonburg, Blacksburg, Cave Spring and more. The region observes Eastern time, so a number like (540) 555-0142 is on that clock right now. On the ground it spans Botetourt, Harrisonburg City, Montgomery and nearby counties. It is not currently paired with an overlay code. Local calls inside the 540 area can generally be placed with ten digits, and you do not need a leading 1 for domestic calls. On this page you'll find a live local clock for Roanoke, an interactive coverage map, the cities and counties 540 serves, its overlay and neighboring codes, and tips on spotting 540 spam calls.
Cities covered by 540
Cities & neighborhoods
- Roanoke
- Harrisonburg
- Blacksburg
- Cave Spring
- Salem
- Staunton
- Winchester
Counties
- Botetourt
- Harrisonburg City
- Montgomery
- Salem
- Staunton City
- Frederick
Looking for the broader picture? See all Virginia area codes.
Nearby & overlay area codes
Overlay codes (same area)
These share 540’s geography — a number in either code can be on the same street.
540 has no overlay code right now.
Neighboring codes
Codes for adjacent regions and metros.
Is a call from 540 a scam?
Area code 540 serves Roanoke and the surrounding area, so most calls are ordinary local and business traffic. As everywhere, spam and robocalls do use 540 numbers, frequently by spoofing a local-looking caller ID to boost pickup rates. The area code itself tells you nothing about who is really calling, so judge the call by what's said, not the number.
Red flags to watch for
- Pressure to act right now, or threats of arrest, fines, or service being cut off.
- Requests to pay with gift cards, wire transfer, crypto, or a payment app.
- Asking for passwords, one-time codes, your SSN, or full card/bank numbers.
- A robocall or recording, or a number that won’t let you call back.
When unsure, hang up and call the organization back on a number you look up yourself.
Calling a 540 number from abroad
Every 540 number is a US/Canada +1 number. From a mobile anywhere, the simplest approach is to dial it in international format:
+1 540 555-0142If your phone can’t dial the +, replace it with your country’s exit code, then 1, then the number:
- UK, Germany, France & most of Europe
00 1 540 555-0142 - Australia
0011 1 540 555-0142 - Japan
010 1 540 555-0142 - Mexico
00 1 540 555-0142
Within the US and Canada you don’t need any of this — just dial the ten digits 540 555-0142.
Reverse phone lookup
Check any US or Canada number to see whether it's a working line, which carrier it sits on, whether it's mobile, landline or VoIP, and roughly where it's registered.
Shows carrier, line type and location. Owner name isn't available here.
Results are for personal, informational use only and may not be used for employment, credit, housing or tenant-screening decisions.
Area code 540: frequently asked questions
Where is the 540 area code located?
The 540 area code is located in Virginia, centered on Roanoke. It covers Botetourt, Harrisonburg City, Montgomery, Salem, Staunton City, Frederick and nearby communities including Roanoke, Harrisonburg, Blacksburg, Cave Spring, Salem, Staunton.
What time zone is 540 in?
Area code 540 is in the Eastern time zone (UTC-5 (EST) / UTC-4 (EDT)). You can see the exact current local time for Roanoke on the live clock above.
What cities use area code 540?
Cities and areas that use 540 include Roanoke, Harrisonburg, Blacksburg, Cave Spring, Salem, Staunton. Its primary city is Roanoke, VA.
Do I need to dial 1 before 540?
You generally do not need to dial a leading 1 for domestic calls to 540. Ten-digit dialing (the 540 code plus the seven-digit number) is the safest habit.
Is 540 a toll-free or scam number?
No — 540 is a normal geographic area code for Roanoke, not a toll-free code (toll-free codes are 800, 833, 844, 855, 866, 877 and 888). A 540 number is not inherently a scam, but the code can be spoofed. See the spam-call section above for how to tell.
What are the overlay area codes for 540?
Area code 540 does not currently have an overlay code; it is not layered on top of another code in the same area.