Area code 540 was established on July 15, 1995, when numbering plan area 703 was divided. Due to the continued growth of telecommunication services in the area, it was necessary to split the area as well. On September 1, 2001, the farthest western region of Virginia was established as a separate numbering plan area with area code 276.
The pool of telephone numbers in 540 is projected to exhaust in 2022. For relief, the public service commission announced a plan in June 2020 to overlay the numbering plan area with a second area code, 826. Implementation of the overlay is projected to take at least thirteen months. This will make ten-digit dialing mandatory in the overlay area.
The numbering plan area with area code 540 includes the communities of Buchanan, Buena Vista, Cave Spring, Eagle Rock, Fincastle, Floyd County, Fredericksburg, Franklin County, Giles County, Greenville, Harrisonburg, King George, Lexington, Madison, Montgomery County, Pulaski County, Radford, Roanoke County, Salem, Springwood, Staunton, Warren, Waynesboro, and Winchester. It serves the counties of Augusta, Caroline, Culpeper, Spotsylvania, Rockbridge, Orange, Fauquier, Rappahannock, Rockingham, and Shenandoah. It also partially serves western Loudoun County, and parts of Stafford County, most of which are in area code 703 and area code 571.
- [email protected] 981-3239, Laurence Hammack. "Coming soon: New area code for Southwest Virginia". Roanoke Times. Retrieved 2020-06-19.
|West: 276, 304/681||540||East: 571/703, 240/301|
|South: 434, 804|
|Maryland area codes: 240/301, 410/443/667|
|West Virginia area codes: 304/681|