Cities in area code 540
These are the cities and communities covered by 540 in Virginia. "Covered" means the locality is a rate center holding 540 prefixes; the largest are Roanoke, Fredericksburg, Harrisonburg.
By numbering footprint the leading localities are Roanoke, Fredericksburg, Harrisonburg, Winchester, Culpeper, Staunton, Blacksburg and Warrenton, and 108 smaller communities down to single-prefix localities. Prefix counts track lines in service, so the ranking is a reasonable proxy for where the code's subscribers actually are.
32 of the localities fall within FCC top-100 metropolitan statistical areas; the rest are smaller communities.
66 of these localities are also reachable through other area codes — overlay territory where the same place answers to several codes.
All of the code's territory keeps Eastern time.
Remember that people keep numbers when they relocate, so a 540 number is a where-it-was-issued fact, not a where-they-are fact.
| Locality (rate center) | Active prefixes | Metro area | All codes serving it |
|---|---|---|---|
| Roanoke | 105 | — | 540, 826 |
| Fredericksburg | 63 | Washington-Arlington-Alexandria, DC-VA-MD-WV | 540, 826 |
| Harrisonburg | 43 | — | 540, 826 |
| Winchester | 38 | — | 540, 826 |
| Culpeper | 33 | Washington-Arlington-Alexandria, DC-VA-MD-WV | 540, 826 |
| Staunton | 29 | — | 540, 826 |
| Blacksburg | 21 | — | 540, 826 |
| Warrenton | 18 | Washington-Arlington-Alexandria, DC-VA-MD-WV | 540, 826 |
| Radford | 18 | — | 540 |
| Stafford | 18 | Washington-Arlington-Alexandria, DC-VA-MD-WV | 540, 826 |
| Christiansburg | 18 | — | 540, 826 |
| Waynesboro | 17 | — | 540 |
| Rocky Mount | 13 | — | 540 |
| Front Royal | 12 | Washington-Arlington-Alexandria, DC-VA-MD-WV | 540, 826 |
| Chancellor | 11 | Washington-Arlington-Alexandria, DC-VA-MD-WV | 540, 826 |
| Salem | 11 | — | 540, 826 |
| Lexington | 11 | — | 540 |
| Edinburg | 11 | — | 540, 826 |
| Bedford | 10 | — | 540, 826 |
| Luray | 9 | — | 540 |
| Dahlgren | 8 | (Washington, DC--MD--VA--WV PMSA) | 540, 826 |
| Covington | 8 | — | 540 |
| Mineral | 7 | (Richmond, VA Metropolitan Statistical Area) | 540 |
| Louisa | 7 | (Richmond, VA Metropolitan Statistical Area) | 540, 826 |
| Pearisburg | 7 | — | 540, 826 |
| Pulaski | 7 | — | 540 |
| Hartwood | 7 | Washington-Arlington-Alexandria, DC-VA-MD-WV | 540, 826 |
| Orange | 7 | (Washington-Arlington-Alexandria, DC-VA-MD-WV Metroploitan Statistical Area) | 540, 826 |
| Stone Mountain | 6 | — | 540 |
| Dublin | 6 | — | 540 |
| Washington | 5 | Washington-Arlington-Alexandria, DC-VA-MD-WV | 540, 826 |
| Buena Vista | 5 | — | 540 |
| Berryville | 5 | Washington-Arlington-Alexandria, DC-VA-MD-WV | 540, 826 |
| Mount Gilead | 5 | Washington-Arlington-Alexandria, DC-VA-MD-WV | 540, 826 |
| Madison | 5 | (Washington-Arlington-Alexandria, DC-VA-MD-WV Metroploitan Statistical Area) | 540 |
| Stephens City | 5 | Washington-Arlington-Alexandria, DC-VA-MD-WV | 540, 826 |
| The Plains | 4 | Washington-Arlington-Alexandria, DC-VA-MD-WV | 540, 826 |
| Elkton | 4 | — | 540 |
| Remington | 4 | Washington-Arlington-Alexandria, DC-VA-MD-WV | 540 |
| Middleburg | 4 | Washington-Arlington-Alexandria, DC-VA-MD-WV | 540, 826 |
| Marshall | 4 | Washington-Arlington-Alexandria, DC-VA-MD-WV | 540 |
| Gordonsville | 4 | (Richmond, VA Metropolitan Statistical Area) | 540, 826 |
| Spotsylvania | 4 | Washington-Arlington-Alexandria, DC-VA-MD-WV | 540, 826 |
| Catoctin | 4 | Washington-Arlington-Alexandria, DC-VA-MD-WV | 540, 826 |
| Troutville | 4 | — | 540 |
| Burnt Chimney | 4 | — | 540 |
| Calverton | 3 | Washington-Arlington-Alexandria, DC-VA-MD-WV | 540, 826 |
| Broadway | 3 | — | 540, 826 |
| Shenandoah | 3 | — | 540, 826 |
| Stanley | 3 | — | 540, 826 |
| Natural Bridge | 3 | — | 540 |
| Bridgewater | 3 | — | 540 |
| Glasgow | 3 | — | 540 |
| Shawsville | 3 | — | 540 |
| Bluemont | 3 | Washington-Arlington-Alexandria, DC-VA-MD-WV | 540, 826 |
| Ferrum | 3 | — | 540 |
| Narrows | 3 | — | 540, 826 |
| Shenandoah Park | 3 | — | 540 |
| King George | 3 | (Washington, DC--MD--VA--WV PMSA) | 540, 826 |
| Unionville | 3 | Washington-Arlington-Alexandria, DC-VA-MD-WV | 540, 826 |
| Clifton Forge | 3 | — | 540 |
| Woodstock | 2 | — | 540 |
| Weyers Cave | 2 | — | 540, 826 |
| Grottoes | 2 | — | 540 |
| Buchanan | 2 | — | 540 |
| Keezletown | 2 | — | 540 |
| Mount Solon | 2 | — | 540 |
| Mountain Grove | 2 | — | 540 |
| Ballard | 2 | — | 540 |
| McGaheysville | 2 | — | 540, 826 |
| Boyce | 2 | Washington-Arlington-Alexandria, DC-VA-MD-WV | 540, 826 |
| Boones Mill | 2 | — | 540, 826 |
| Brownsburg | 2 | — | 540 |
| Raphine | 2 | — | 540, 826 |
| McDowell | 2 | — | 540 |
| Greenwood | 2 | — | 540, 826 |
| Monterey | 2 | — | 540 |
| Brokenburg | 2 | Washington-Arlington-Alexandria, DC-VA-MD-WV | 540, 826 |
| Fincastle | 2 | — | 540 |
| Blue Grass | 2 | — | 540 |
| Mill Gap | 2 | — | 540 |
| Criglersville | 2 | (Washington-Arlington-Alexandria, DC-VA-MD-WV Metroploitan Statistical Area) | 540, 826 |
| Gainesboro | 2 | — | 540, 826 |
| Gore | 2 | — | 540, 826 |
| Sperryville | 2 | Washington-Arlington-Alexandria, DC-VA-MD-WV | 540, 826 |
| Upperville | 2 | Washington-Arlington-Alexandria, DC-VA-MD-WV | 540, 826 |
| McClung | 2 | — | 540 |
| Union Hall | 2 | — | 540, 826 |
| New Castle | 2 | — | 540 |
| Deerfield | 2 | — | 540 |
| Hot Springs | 2 | — | 540 |
| Floyd | 2 | — | 540, 826 |
| Edom | 2 | — | 540 |
| Montvale | 2 | — | 540, 826 |
| Craigsville | 2 | — | 540, 826 |
| Williamsville | 2 | — | 540 |
| Bent Mountain | 2 | — | 540 |
| New Hope | 1 | — | 540 |
| Toms Brook | 1 | — | 540, 826 |
| Strasburg | 1 | — | 540, 826 |
| Mount Jackson | 1 | — | 540, 826 |
| Newport | 1 | — | 540, 826 |
| Crows Hematite | 1 | — | 540 |
| Oriskany | 1 | — | 540, 826 |
| Pembroke | 1 | — | 540, 826 |
| Locust Grove | 1 | — | 540 |
| New Market | 1 | — | 540 |
| Potts Creek | 1 | — | 540 |
| Alum Ridge | 1 | — | 540 |
| Willis | 1 | — | 540 |
| Bergton | 1 | — | 540, 826 |
| Basye | 1 | — | 540, 826 |
| Hinton | 1 | — | 540, 826 |
| Dayton | 1 | — | 540, 826 |
| Eagle Rock | 1 | — | 540, 826 |
| Paint Bank | 1 | — | 540, 826 |
| Fort Valley | 1 | — | 540, 826 |
FAQ
What is the biggest city in area code 540?
Roanoke holds the most active prefixes (105), making it the code's largest numbering locality.
How many places does 540 cover?
117 rate centers in Virginia hold active 540 prefixes, from Roanoke down to communities with a single prefix.
Does a 540 number guarantee the caller lives in one of these places?
No — the tables show where number blocks were issued. Porting and VoIP let people keep or acquire numbers anywhere.