Area code 540 — Virginia
Area code 540 is in Virginia and serves Fredericksburg, Roanoke, Blacksburg, Harrisonburg. Time zone, overlays, counties and ZIP codes.
| Location | Virginia (Fredericksburg, Roanoke, Blacksburg, Harrisonburg, Lexington, Staunton, Winchester, and parts of north-central Virginia) |
|---|---|
| Main places | Fredericksburg, Roanoke, Blacksburg, Harrisonburg, Lexington, Staunton, Winchester |
| State | Virginia |
| Status | In service · since 1995 |
| Time zone | Eastern · |
| Overlay codes | 826 Overlays share the same area. Local calls usually need 10-digit dialing. |
| Local dialing | 10 digits |
History
- Split of 703
- 2001: split to create 276
- 2022: overlaid by 826
Counties (approximate)
Albemarle CountyAlleghany CountyAugustaAugusta CountyBath CountyBedfordBedford CountyBotetourtBotetourt CountyCarolineCaroline CountyCarroll CountyCity of HarrisonburgClarke CountyCraig CountyCulpeper CountyEssex CountyFauquierFauquier CountyFloyd CountyFranklinFranklin CountyFrederickFrederick CountyFredericksburg (city)Fredericksburg cityGiles CountyHanover CountyHarrisonburg cityHighland
ZIP codes in area code 540
Approximate: area code boundaries follow telephone rate centers, not ZIP codes.
20117 Middleburg20119 Catlett20130 Paris20131 Philomont20132 Purcellville20134 Purcellville20135 Bluemont20138 Calverton20141 Round Hill20142 Round Hill20158 Hamilton20159 Hamilton20160 Lincoln20180 Lovettsville20184 Upperville20185 Upperville20197 Waterford22026 Dumfries22134 Quantico22135 Quantico22172 Triangle22401 Fredericksburg22402 Fredericksburg22403 Fredericksburg22404 Fredericksburg22405 Fredericksburg22406 Fredericksburg22407 Fredericksburg22408 Fredericksburg22412 Fredericksburg22427 Bowling Green22428 Bowling Green22430 Brooke22433 Burr Hill22435 Callao22436 Caret22438 Champlain22442 Coles Point22443 Colonial Beach22446 Corbin
Format a 540 number
US numbers are written as (540) 555-0123 or 540-555-0123. From outside the US, dial +1 540 555 0123.
Is a call from 540 a scam?
An area code only tells you where a number was assigned. Caller ID can be faked (“spoofed”), so do not trust a call just because the area code looks local. Never share codes or payment details with unexpected callers.
Sources: NANPA via NumberResearch.org (CC BY 4.0); place names and history from Wikipedia (CC BY-SA 4.0). See data sources.