The 540 area code serves western and northern Virginia — Roanoke, Blacksburg, Harrisonburg, Staunton, Winchester, Front Royal, Culpeper, and Fredericksburg, plus western Loudoun County towns such as Purcellville and Middleburg — created in the 1995 division of area code 703 and sharing all of its territory with the 826 overlay since June 2022. Roanoke anchors its southwestern end and the Shenandoah Valley runs up its middle, but the regulatory file is what sets it apart: a jeopardy declaration, a three-way split that stopped halfway, and an overlay bound by a waiting rule almost no other code uses.
When 540 (or 826) appears unexpectedly on a screen, the caller is most often a business somewhere along the I-81 corridor, Winchester to Roanoke — but spoofing can stick 540 onto traffic from anywhere.
540 at a glance
| Quick fact | Answer |
|---|---|
| In service since | July 15, 1995 |
| Split from | 703 |
| Overlay | 826 (June 14, 2022) |
| Territory anchors | Roanoke, Harrisonburg, Winchester, Fredericksburg, Blacksburg |
| Dialing | Ten digits, mandatory since May 14, 2022 |
| Exhaust projection | Q1 2053 (NANPA, April 2026) |
The 1995 exit from 703
Virginia spent decades as 703 territory. The state’s original code lost its east to 804 in 1973, then kept absorbing growth until the Washington suburbs and everything beyond them could no longer share one pool of prefixes. NANPA’s records date the second cut to August 9, 1994, when 540 was assigned to the territory west and south of the Northern Virginia metro — the Fredericksburg corridor included — and service began on July 15, 1995.
The new code inherited enormous ground: the Shenandoah Valley end to end, the Roanoke and New River valleys, the Piedmont around Culpeper and Warrenton, and far Southwest Virginia down to the Tennessee and Kentucky lines.
Jeopardy, rationing, and a split that stopped halfway
Five years was all it took to outgrow that inheritance. On January 21, 2000, NANPA planning letter PL-207 declared the 540 NPA in jeopardy — prefix demand had “increased beyond industry forecast” and threatened to empty the code before relief could arrive. Every remaining prefix went under rationing procedures the industry had adopted by consensus on January 4, 2000, and stayed there while the Virginia State Corporation Commission weighed its options.
The remedy, approved February 22, 2001 in SCC case PUC990207, was a phased three-way geographic split — on paper. Phase one ran on schedule: at 12:01 a.m. Eastern on September 1, 2001, far Southwest Virginia became area code 276, while Roanoke and the upper Shenandoah Valley kept 540. Either code completed calls through the permissive period, which closed on March 16, 2002; misdials after that reached an intercept recording.
Wireless carriers in the new 276 got an unusual concession: their customers could keep 540 numbers until they upgraded handsets, though no later than February 22, 2003 — and in March 2002 the SCC staff stretched that window across eleven additional prefixes. Phase two, meanwhile, never happened at all. The “future split” line NANPA drew across the remaining territory stayed ink on a map, and by the time 540 needed help again, Virginia had stopped splitting codes altogether.
Where does 540 end and Northern Virginia begin?
The line drawn in 1995 still decides that question. Leesburg, Dulles, and most of Loudoun County dial 703 and its 571 overlay; western Loudoun towns such as Purcellville and Middleburg sit on the 540 side of the boundary, and so do Warrenton and Fredericksburg. Crossing it changes nothing else — same commutes, same Eastern Time — but it changes the prefix pool behind every new phone line.
NANPA’s overlay letter describes the rest of the footprint as the northwestern and southwestern reaches of the state: the counties of Augusta, Frederick, Montgomery, Roanoke, Rockingham, Shenandoah, Spotsylvania, Stafford, and Warren among them, plus that western slice of Loudoun, with Blacksburg, Christiansburg, Culpeper, Front Royal, Radford, Salem, Staunton, and Waynesboro on the city roll.
An overlay with an unusual waiting rule
On June 17, 2020, the State Corporation Commission approved an all-services overlay for 540 in case PUR-2019-00148, and NANPA scheduled it that August in planning letter PL-545. As with any modern overlay, no existing number changed; the region simply gained a second code, 826, covering identical ground.
The calendar came first. Permissive ten-digit dialing opened November 13, 2021; seven-digit dialing ended at 12:01 a.m. on May 14, 2022; and 826 became eligible for its first prefix activations on June 14, 2022 — weeks after 948 went in over Hampton Roads’ 757, making the valley the state’s third overlay region. Carriers proved their routing against a test number, 826-990-TEST (8378), live from March 14 through July 14, 2022.
Then comes the clause that sets this overlay apart. The Commission’s order — restated in PL-545 — makes 826 prefixes “available for assignment only when all assignable prefixes in the 540 area code have been assigned.” Most overlays begin issuing the new code alongside the old immediately; here, 826 stands in line behind the last of 540’s own inventory.
One list 540 never joined: when planning letter PL-556 (January 8, 2021) named the 82 area codes that had to adopt ten-digit dialing so 988 could reach the crisis line, Virginia’s two entries were 276 and 804 — the child code and the elder sibling. 540 was absent for a schedule reason, not an exemption: its own conversion was already booked on the overlay’s calendar.
A 2053 horizon, measured in prefixes
NANPA’s April 2026 exhaust analysis — computed on numbering data reported through March 1 — gives the 540/826 pair until the first quarter of 2053, a full sixteen quarters later than the October 2025 forecast. The correction sheet that followed on July 6, 2026 was four Texas entries long, so the Virginia figure stands: a runway the rationed code of 2000 could not have imagined.
The rest of the state fans out around it. Northern Virginia’s 571/703 empties first, in the first quarter of 2031; 434 follows in early 2042; Richmond’s 686/804 complex reaches the fourth quarter of 2055; Hampton Roads’ 757/948 holds to the third quarter of 2062; and 276 — the territory 540 gave up in 2001 — outlasts them all, into the final quarter of 2071. How prefix-by-prefix accounting produces dates like these is the business of our NPA-NXX guide.
Local digits for the I-81 corridor
From Winchester down through Harrisonburg, Staunton, and Roanoke — and east to Fredericksburg’s commuter belt — the businesses along I-81 answer to customers who screen unfamiliar codes reflexively. A display that reads like the valley is the least expensive credibility a caller can buy, and our local presence dialing guide quantifies the answer-rate difference it makes.
The three digits guarantee nothing by themselves, though. Caller ID spoofing can stick 540 onto traffic from anywhere, so the durable trust signal is cryptographic: STIR/SHAKEN attestation applied by a carrier that knows exactly whose call it is signing.
SIPNEX signs at that level. As an FCC-licensed carrier operating under its own authority — not a reseller — it issues local DID numbers in Roanoke, Winchester, Fredericksburg, or any other US rate center with inventory, delivered to your PBX or dialer over SIP trunking. Outbound calls carry A-level attestation under SIPNEX’s own STIR/SHAKEN certificate, and toll-free numbering runs on the same carrier’s RespOrg registration.
Common 540 area code questions
Which Virginia cities and counties are in the 540 area code?
Roanoke, Salem, Blacksburg, Christiansburg, Radford, Staunton, Waynesboro, Harrisonburg, Front Royal, Winchester, Culpeper, Warrenton, and Fredericksburg, in counties including Augusta, Frederick, Montgomery, Roanoke, Rockingham, Shenandoah, Spotsylvania, Stafford, and Warren. NANPA’s overlay letter sums the territory up as the northwestern and southwestern portions of Virginia, plus a western slice of Loudoun County — Purcellville and Middleburg dial 540, while Leesburg and the rest of Northern Virginia dial 703 or 571. The entire footprint keeps Eastern Time.
Why am I seeing 826 instead of 540 on caller ID?
Because 826 is a second area code laid over the exact territory 540 covers, in service since June 14, 2022 — an 826 caller is precisely as local as a 540 one. The Virginia State Corporation Commission approved the overlay in case PUR-2019-00148 with one distinctive condition: 826 prefixes may only be assigned once every assignable 540 prefix is taken. New 826 numbers are therefore the region’s latest arrivals, drawn from the second pool while the first one finishes emptying.
Has the 540 area code ever been split?
Yes, once — on September 1, 2001, far Southwest Virginia left 540 to become area code 276. That was phase one of a three-way split the State Corporation Commission approved in February 2001; dialing stayed permissive until March 16, 2002, some wireless customers kept 540 numbers as late as February 22, 2003, and the planned second phase was never implemented. 540 itself was born the same way, in the 1995 division of area code 703.
Can a local call in the 540 area code be dialed with seven digits?
No — since 12:01 a.m. on May 14, 2022, every local call within 540 and 826 requires all ten digits, and a seven-digit attempt reaches a recording instead of a neighbor. The habit had a transition ramp: permissive ten-digit dialing ran from November 13, 2021 until the cutover. Toll calls take 1 plus ten digits, and carriers may accept 1 plus ten on local calls at their own discretion.
What happens when 540 and 826 run out of numbers?
Nothing anytime soon — NANPA’s April 2026 analysis projects the pair’s prefix supply lasting into the first quarter of 2053, sixteen quarters longer than the previous forecast, and the July 6, 2026 revisions concerned Texas codes only. When exhaust finally nears, Virginia’s established remedy is another overlay, which changes no existing number. In the meantime, 540 DID inventory in named rate centers remains available to order.
Three digits that read Shenandoah Valley are a solvable procurement problem. SIPNEX provisions 540 rate-center numbers under its own FCC authority, delivers them anywhere SIP reaches, and signs every call at A-level on its own certificate — current rates are public, and the contact page or (833) 665-2220 reaches the desk.
Keep reading.
The carrier built by operators, for operators.
FCC-licensed carrier with its own STIR/SHAKEN SP certificate. Operator-owned. SIP trunks built for operators who dial at volume.