Area codes 757 and 948Area codes 410 and 443Area codes 240 and 301Area codes 304 and 681Area code 202Area code 434Area code 276Area code 804Area codes 571 and 703The area colored red indicates the northern region of Virginia served by area code 540
About this image

Area code 540 is a telephone area code in the North American Numbering Plan (NANP) for the north-western region of the U.S. State of Virginia.


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 Virginia State Corporation Commission approved a plan in June 2020 to add 826 as an all-service overlay. Implementation of the overlay is projected to be on June 14, 2022. This will make ten-digit dialing mandatory in the overlay area.[1]

Service 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 County, 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, whereas most of the county is in the numbering plan area 703/571.


  1. ^ 981-3239, Laurence Hammack. "Coming soon: New area code for Southwest Virginia". Roanoke Times. Retrieved 2020-06-19.
Virginia area codes: 276, 434, 540, 571/703, 757/948, 804
North: 304/681
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