540 area code
Area code 540 is in Virginia. It covers Roanoke, Stafford, Harrisonburg and 289 other places: 315 ZIP codes in Stafford County, Spotsylvania County, Rockingham County and 39 others. Local time there is , Eastern Time. In service since 1995; 826 (2022) overlays it, so a number from there can have either code.
- State
- Virginia
- Time zone
- Eastern
- Largest city
- Fredericksburg
- Overlays
- 826
- In service since
- 1995
- Rate centres
- 117
- Prefixes assigned
- 786 (7,860,000 numbers)
Who calls from a 540 number
NANPA records the carrier each block of 540 numbers is assigned to. Of the 7.5 million 540 numbers assigned, 37% are with cable, internet-calling, business and other carriers (Onvoy and Bandwidth); 35% with mobile carriers (T-Mobile, Verizon Wireless and AT&T Mobility); 28% with local phone companies (Verizon).
That is who the numbers were assigned to: people keep their number when they change carrier, so any one number may have moved since.
| Carrier | Kind | Share |
|---|---|---|
| Verizon | Landline | 18% |
| T-Mobile | Mobile | 13% |
| Verizon Wireless | Mobile | 12% |
| Onvoy | Cable, VoIP, other | 12% |
| AT&T Mobility | Mobile | 8% |
| Bandwidth | Cable, VoIP, other | 5% |
An area code says where a number was issued, not where the caller is: people keep their numbers when they move, and caller ID can be set to show any number, which the FCC calls spoofing. If a call you did not expect asks for money or personal details, the FCC advises hanging up and calling the company back on a number you look up yourself. Unwanted calls can be reported to the FTC at ReportFraud.ftc.gov.
Places in area code 540
The 100 places with a telephone rate centre of their own using 540, largest first. Each links to its ZIP codes.
Nearby places using 540
These places have no rate centre of their own in NANPA's records; the nearest one uses 540. Near an area-code boundary that can be wrong for part of a town.
- Cave Spring
- Hollins
- Stuarts Draft
- Fishersville
- Vinton
- Lake of the Woods
- Aquia Harbour
- Spotsylvania Courthouse
- Massanetta Springs
- Hardy
- Stafford Courthouse
- Stephenson
- Falmouth
- Bealeton
- Wirtz
- Amissville
- Shenandoah Farms
- Verona
- Goodview
- Linden
- Daleville
- North Shore
- Rixeyville
- Clear Brook
- Cross Junction
- Glade Hill
- Cloverdale
- Lake Wilderness
- Timberville
- Blue Ridge
- Southern Gateway
- Shawneeland
- Merrimac
- Jeffersonton
- Fairlawn
- Stephens City
- Callaway
- Massanutten
- Horse Pasture
- Fulks Run
- Lake Holiday
- Thaxton
- Bentonville
- Westlake Corner
- Swoope
- Middletown
- Rapidan
- White Post
- Apple Mountain Lake
- East Lexington
- Reva
- Laymantown
- Sumerduck
- Chatmoss
- Goldvein
- Penn Laird
- Fort Defiance
- Dooms
- Pilot
- Copper Hill
ZIP codes in area code 540
315 ZIP codes in 239 towns, by the town each is mailed to, largest first. Each links to its own page.
Where 540 numbers are issued
NANPA's rate centres with the most 540 prefixes (each prefix is 10,000 numbers), under NANPA's own abbreviated names.
| Rate centre | Place | Prefixes |
|---|---|---|
ROANOKE | Roanoke | 105 |
FREDECKSBG | Fredericksburg | 63 |
HARRISONBG | Harrisonburg | 43 |
WINCHESTER | Winchester | 38 |
CULPEPER | Culpeper | 33 |
STAUNTON | Staunton | 29 |
Counties
The counties of its ZIP codes, most residents first, with how many of its ZIP codes each has.
- Stafford County (10)
- Spotsylvania County (5)
- Rockingham County (20)
- Augusta County (22)
- Roanoke County (7)
- Montgomery County (12)
- Frederick County (10)
- Roanoke city (35)
- Fauquier County (20)
- Bedford County (9)
- Culpeper County (12)
- Franklin County (9)
- Pulaski County (4)
- Shenandoah County (13)
- Warren County (4)
- Rockbridge County (10)
- Louisa County (4)
- Orange County (7)
- Henry County (1)
- Winchester city (2)
- Fredericksburg city (3)
- King George County (5)
- Botetourt County (9)
- Page County (4)
- Alleghany County (5)
- Clarke County (6)
- Giles County (9)
- Floyd County (5)
- Madison County (14)
- Rappahannock County (8)
- Harrisonburg city (2)
- Craig County (2)
- Bath County (4)
- Nelson County (2)
- Loudoun County (3)
- Highland County (7)
- Radford city (2)
- Albemarle County (2)
- Martinsville city (3)
- Salem city (2)
- Caroline County (1)
- Staunton city (1)
Which code covers where you are now? What area code am I in? answers from your location.
Questions about area code 540
Where is area code 540?
Area code 540 is in Virginia. It covers Roanoke, Stafford, Harrisonburg and 289 other places: 315 ZIP codes in Stafford County, Spotsylvania County, Rockingham County and 39 others.
What ZIP codes are in area code 540?
315 ZIP codes, by the town each is mailed to: Roanoke (41, 24001 to 24050), Stafford (3, 22554 to 22556), Harrisonburg (4, 22801 to 22807), Blacksburg (4, 24060 to 24063) and 235 more towns. The full list is on this page.
What time zone is area code 540 in?
Eastern time.
Is a 540 number a mobile or a landline?
It can be either. 35% of 540 numbers are assigned to mobile carriers and 28% to local phone companies (NANPA, 2026-10-10); the rest are with cable, internet-calling, business and paging carriers. A number keeps its area code when it moves to another carrier.
What area codes overlay 540?
826. They cover the same area as 540, so a new number there can be given any of them.
Does a 540 number mean the caller is in Virginia?
Not necessarily. An area code says where the number was first issued. People keep their numbers when they move or switch carriers, and calling software can show any number, so a 540 call can come from anywhere.
Other area codes in Virginia
- 276 Martinsville
- 434 Charlottesville
- 571
- 686 Richmond
- 703
- 757 Norfolk
- 804 Richmond
- 826 Fredericksburg
- 948 Norfolk
All 10 Virginia area codes, by area, with the cities each covers
Source: NANPA NPA database, central office code and thousands-block assignments, 2026-10-10. Places are matched to NANPA's rate centres by name; see sources.
Cite this page
zipcodes.pro. “Area code 540.” Data release 2026-10-12. Retrieved 2026-10-20. https://zipcodes.pro/area-code/540
Underlying data is public domain or openly licensed — sources, vintages and licences.