Telnera

Area code 540: local numbers for Virginia businesses

A 540 number tells callers in Roanoke, Harrisonburg and Blacksburg that you're local. Pick one below and your whole team can answer it.

540 numbers available now

Area code 540 at a glance

State
Virginia
In service since
July 15, 1995
Time zone
Eastern Time
Main places
Roanoke, Harrisonburg, Blacksburg, Fredericksburg, Winchester and Staunton
Counties
Roanoke city, Montgomery County, Harrisonburg city, Fredericksburg city, Winchester city and Staunton city
Overlay
Shares its area with 826
Created from
Area code 703
Local calls
Dialed with 10 digits
Rate centers
117

About the 540 area

Roanoke is the largest place in the 540 area, with 99,111 people (Roanoke city). Harrisonburg has 50,839 people (Harrisonburg city), and Blacksburg has 45,104 in Montgomery County. Fredericksburg has 30,393, Winchester 28,272, Staunton 26,801, Salem 25,816 and Waynesboro 23,951, each in a city of the same name. Christiansburg, also in Montgomery County, has 22,442 people, Culpeper in Culpeper County has 22,074, Radford has 17,243, and Front Royal in Warren County has 15,722.

The 540 code began service in 1995, split from 703, which has been in service since 1947. In 2001 the 276 code was split from 540, and in 2022 the 826 code was added as an overlay, so 826 and 540 now share the same area of Virginia. Local calls are dialed with 10 digits, and the area keeps Eastern Time. There are 117 rate centers in total, including Roanoke, Harrisonburg, Blacksburg, Winchester and Front Royal.

Roanoke city had 3,151 business establishments in 2023. Retail Trade led with 532, followed by Health Care and Social Assistance with 402, Other Services with 357, Professional, Scientific, and Technical Services with 308 and Accommodation and Food Services with 289. Montgomery County had 2,016 establishments, where Retail Trade counted 305, Health Care and Social Assistance 256, Professional, Scientific, and Technical Services 254, Other Services 231 and Accommodation and Food Services 227.

Largest places in the 540 area

Roanoke
99,111 people · Roanoke city
Harrisonburg
50,839 people · Harrisonburg city
Blacksburg
45,104 people · Montgomery County
Fredericksburg
30,393 people · Fredericksburg city
Winchester
28,272 people · Winchester city
Staunton
26,801 people · Staunton city
Salem
25,816 people · Salem city
Waynesboro
23,951 people · Waynesboro city
Christiansburg
22,442 people · Montgomery County
Culpeper
22,074 people · Culpeper County
Radford
17,243 people · Radford city
Front Royal
15,722 people · Warren County

Counties served by 540

Roanoke city
99,111 people in the county
Montgomery County
98,434 people in the county
Harrisonburg city
50,839 people in the county
Fredericksburg city
30,393 people in the county
Winchester city
28,272 people in the county
Staunton city
26,801 people in the county
Salem city
25,816 people in the county
Waynesboro city
23,951 people in the county

Area code 540 timeline

1947
Area code 703 goes into service
July 15, 1995
Area code 540 goes into service, created from 703
September 1, 2001
Area code 276 created from 540
June 14, 2022
Area code 826 added as an overlay of 540
Projected: 4Q 2053
NANPA's October 2026 forecast for when the 540/826 area runs out of new numbers

Business establishments in Roanoke city, 2023

All sectors
3,151
Retail Trade
532
Health Care and Social Assistance
402
Other Services (except Public Administration)
357
Professional, Scientific, and Technical Services
308
Accommodation and Food Services
289

Business establishments in Montgomery County, 2023

All sectors
2,016
Retail Trade
305
Health Care and Social Assistance
256
Professional, Scientific, and Technical Services
254
Other Services (except Public Administration)
231
Accommodation and Food Services
227

Time in the 540 area

Area code 540 keeps Eastern Time, the tz database zone America/New_York: UTC-5 (EST) in winter and UTC-4 (EDT) during daylight saving time.

In winter, 9 am in 540 is 8 am Central, 7 am Mountain and 6 am Pacific.

Rate centers in 540

A rate center is the local calling area a phone number belongs to. NANPA lists 117 for area code 540: Alum Ridge, Ballard, Basye, Bedford, Bent Mountain, Bergton, Berryville, Blacksburg, Blue Grass, Bluemont, Boones Mill, Boyce, Bridgewater, Broadway, Brokenburg, Brownsburg, Buchanan, Buena Vista, Burnt Chimney, Calverton, Catoctin, Chancellor, Christiansburg, Clifton Forge, Covington, Craigsville, Criglersville, Crows Hematite, Culpeper, Dahlgren, Dayton, Deerfield, Dublin, Eagle Rock, Edinburg, Edom, Elkton, Ferrum, Fincastle, Floyd, Fort Valley, Fredericksburg, Front Royal, Gainesboro, Glasgow, Gordonsville, Gore, Greenwood, Grottoes, Harrisonburg, Hartwood, Hinton, Hot Springs, Keezletown, King George, Lexington, Locust Grove, Louisa, Luray, Madison, Marshall, McClung, McDowell, McGaheysville, Middleburg, Mill Gap, Mineral, Monterey, Montvale, Mount Gilead, Mount Jackson, Mount Solon, Mountain Grove, Narrows, Natural Bridge, New Castle, New Hope, New Market, Newport, Orange, Oriskany, Paint Bank, Pearisburg, Pembroke, Potts Creek, Pulaski, Radford, Raphine, Remington, Roanoke, Rocky Mount, Salem, Shawsville, Shenandoah, Shenandoah Park, Sperryville, Spotsylvania, Stafford, Stanley, Staunton, Stephens City, Stone Mountain, Strasburg, The Plains, Toms Brook, Troutville, Union Hall, Unionville, Upperville, Warrenton, Washington, Waynesboro, Weyers Cave, Williamsville, Willis, Winchester and Woodstock.

How to get a 540 number with Telnera

  1. Pick a 540 number above, or search for one when you sign up, and start your 14-day free trial.
  2. Add your team: calls ring everyone's own phones, and whoever answers presses 1 to take the call.
  3. Set your hours. Callers outside them reach voicemail, with a transcript of each message.

Questions and answers

Which places are in the 540 area?

The largest places in the 540 area are Roanoke, Harrisonburg, Blacksburg, Fredericksburg and Winchester, by the Census Bureau's 2025 population estimates. NANPA lists 117 rate centers for the code.

Which counties does 540 cover?

Roanoke city, Montgomery County, Harrisonburg city, Fredericksburg city and Winchester city are among the counties served by 540.

Does another area code share 540's area?

Yes. 826 covers the same area as 540, as an overlay. A new local number there can come with either code, and NANPA lists local calls as dialed with 10 digits.

How old is area code 540?

Area code 540 went into service on July 15, 1995, when it was created from 703.

Are new 540 numbers still being given out?

Yes. NANPA's October 2026 forecast expects the 540/826 area to have new numbers until about the 4th quarter of 2053.

Can my whole team answer one 540 number?

Yes. With Telnera, calls to your number ring each person's own phone, everyone at once or one at a time. Plans start at $15 per user per month, billed yearly.

Nearby pages

Sources: Area codes, dates, overlays, time zones and dialing: North American Numbering Plan Administrator (NANPA) (2026-11-23); Rate centers: NANPA rate center report (2026-11-23); Places, counties and population: US Census Bureau, Vintage 2025 population estimates; Business establishments by sector: US Census Bureau, County Business Patterns 2023 (2026-11-23); Area code exhaust projection: NANPA NPA exhaust projections, forecast 2026.2 (October 2026) (2026-11-23); Time zone and offsets: IANA tz database (zone.tab) (2026-11-23).

540 area code: Roanoke, Virginia local numbers | Telnera