Area code 540: Virginia

540 is an area code in Virginia. Its prefixes sit mostly in Roanoke, Fredericksburg and Winchester.

Source: NANPA area code database dated 1 December 2026; prefix records dated 1 December 2026. By the ReverseIt Editorial Team.

Check a 540 number

The area code 540 is filled in. Add the other seven digits. The number never leaves your browser.

Where 540 is used

540 serves Virginia. The places below appear most often in the prefix list libphonenumber ships. Counts are prefixes, not people.

  • Roanoke, VA (28 prefixes)
  • Fredericksburg, VA (21 prefixes)
  • Winchester, VA (12 prefixes)
  • Harrisonburg, VA (10 prefixes)
  • Blacksburg, VA (6 prefixes)
  • Stafford, VA (6 prefixes)
  • Salem, VA (5 prefixes)
  • Staunton, VA (5 prefixes)

Time zone and current time

540 is in Eastern time (UTC−5, UTC−4 in summer).

  • Eastern time: Now: turn on scripts to see the time

Times come from your device. They update while the page is open.

When it went into service

NANPA records 540 as in service since 15 July 1995.

Overlays and neighbouring codes

540 shares its area with 826 in an overlay. In an overlay, people in the same place can have different area codes.

NANPA lists 703 as the code that 540 was split from.

Other in-service codes in Virginia: 276, 434, 571, 686, 703, 757, 804, 948.

Prefixes assigned in 540

An area code has 800 possible three-digit prefixes, because the first digit runs from 2 to 9 and the other two from 0 to 9. NANPA's records list 786 assigned prefixes in 540, so nearly all of them are in use. 628 prefixes are listed as pooled, which means thousands-blocks (ranges of 1,000 numbers) can be given to different companies.

Rate centers

The prefixes are spread over 117 rate centers. Roanoke leads with 105 prefixes. 116 other rate centers hold the rest.

Rate centers by number of prefixes
Rate center (as NANPA writes it)Prefixes
ROANOKE105
FREDECKSBG63
HARRISONBG43
WINCHESTER38
CULPEPER33
STAUNTON29
BLACKSBURG21
CHRISTISBG18
RADFORD18
STAFFORD18
WARRENTON18
WAYNESBORO17

In general, a rate center is a place name the phone industry uses as a reference point for a prefix. Some names are abbreviations.

Companies by number of prefixes

Verizon Virginia, Inc. leads with 155 prefixes. 51 other companies hold the rest. 52 companies hold at least one prefix, and the table shows the top ten.

Top companies by assigned prefixes in 540
CompanyPrefixes
Verizon Virginia, Inc.155
Omnipoint Communications Cap Operations, LLC85
Cellco Partnership DBA Verizon Wireless79
New Cingular Wireless PCS, LLC66
Level 3 Communications, LLC50
Verizon South, Inc. - VA (Contel)35
Onvoy, LLC31
Brightspeed Of Virginia, LLC28
Metropcs, Inc.25
Bandwidth.com CLEC, LLC24

This is who each prefix was first assigned to. Numbers are pooled and ported, so the company serving a particular 540 number can be different.

Related area codes

Browse the full list in the area code lookup, or see all area codes in Virginia.