AreaCodeCentral LogoAreaCodeCentral
540

Area Code 540

Fredericksburg, Virginia · United States

Geographic Eastern Since 1995

Split from 703. Northern Virginia. Overlay 826 TBD.

Current Time in 540
3:36 AM
Saturday, August 8, 2026
UTC OffsetUTC-5
Daylight SavingObserved
IANA ZoneAmerica/New_York
Primary city
Fredericksburg
State / Province
Virginia
Country
United States
Approx. users
3,614,342
540 Area Code Coverage Map
Approximate coverage area for the 540 area code in Virginia.
Loading map...
Fredericksburg, Virginia · Area code 540
Counties Served
12 counties fully or partially covered by area code 540.
Fairfax, VA1,150,795
25.5%
Prince William, VA488,021
10.8%
Virginia Beach City, VA455,618
10.1%
Loudoun, VA421,712
9.3%
Chesterfield, VA372,997
8.3%
Henrico, VA335,166
7.4%
Chesapeake City, VA247,811
5.5%
Arlington, VA238,941
5.3%
Norfolk City, VA238,005
5.3%
Richmond City, VA230,436
5.1%
Newport News City, VA179,225
4%
Alexandria City, VA159,200
3.5%

About Area Code 540

Area code 540 is a geographic telephone area code assigned to Fredericksburg, Virginia. It operates in the Eastern time zone and was first introduced in 1995. Split from 703. Northern Virginia. Overlay 826 TBD.

Within Virginia, area code 540 shares numbering capacity with 6 other area codes. The state's 8,715,698-person population (2023 Census Bureau estimate) is served by a combined 7 active codes, with 540 primarily responsible for the Fredericksburg region. Virginia's state capital is Richmond, and its largest city is Virginia Beach.

When you receive a call from a 540 number on your Caller ID, the call originated from a phone number assigned to the 540 area code — but be aware that Local Number Portability (in effect since 2003) means the caller could be physically located anywhere in the US or Canada. Area code 540 only confirms where the number was originally assigned.

Where is the 540 area code located?

Area code 540 is assigned to Fredericksburg, Virginia, in the Eastern time zone. The state of Virginia uses 7 active area codes, and 540 is one of them. Calls placed from the 540 area code originate from numbers assigned by NANPA — the North American Numbering Plan Administrator — and the 540 prefix appears on Caller ID for both landline and wireless calls placed from this region.

The Eastern time zone observes Daylight Saving Time, shifting from UTC-5 to UTC-4 in summer. The local time shown above is always current, so you can quickly check whether it's a reasonable hour to call back.

What cities and counties use the 540 area code?

The 540 area code serves 12 notable cities, listed below in order of population. The largest city in the 540 territory is Virginia Beach (455,618 residents in Unknown County).

  • Virginia Beach, VA — 455,618 residents (21.9% of 540 numbers)
  • Norfolk, VA — 238,005 residents (11.5% of 540 numbers)
  • Chesapeake, VA — 247,811 residents (11.9% of 540 numbers)
  • Richmond, VA — 230,436 residents (11.1% of 540 numbers)
  • Newport News, VA — 179,225 residents (8.6% of 540 numbers)
  • Alexandria, VA — 159,200 residents (7.7% of 540 numbers)
  • Hampton, VA — 137,148 residents (6.6% of 540 numbers)
  • Roanoke, VA — 99,143 residents (4.8% of 540 numbers)
  • Portsmouth, VA — 97,475 residents (4.7% of 540 numbers)
  • Suffolk, VA — 94,324 residents (4.5% of 540 numbers)

Phone number format in area code 540

All phone numbers within area code 540 follow the standard North American 10-digit format:(540) NXX-XXXX. The NXX is the central office prefix (also called an "exchange") and XXXX is the subscriber line number. For long-distance calls within the NANP, dial 1 + 540 + NXX + XXXX. From outside North America, dial your country's international access code, then 1 (the NANP country code), then the 10-digit number.

If you need to verify whether a specific 540 number is wireless, landline, or VoIP, you can use our reverse phone lookup tool. Be aware that number portability means the area code no longer guarantees the caller's physical location — only where the number was first assigned.

History of area code 540

Split from 703. Northern Virginia. Overlay 826 TBD.

The original 86 area codes were assigned by AT&T and Bell Labs in 1947 as part of the North American Numbering Plan. At the time, rotary-dial phones meant codes with lower digits (like 212 for NYC, 213 for LA, 312 for Chicago) were given to the largest cities because they took less time to dial. Today's area code assignments still reflect those early choices, even though touch-tone and cell phones made the original reason obsolete.

Is the 540 area code safe to answer?

Area code 540 itself is a normal geographic code with no elevated spam risk. That said, scammers can spoof any area code — including 540 — so if you don't recognize the full number, let it go to voicemail and verify the caller's identity before calling back.

Top 12 Cities in Area Code 540
Cities served by the 540 area code, ranked by 2022 ACS population.
CityCountyPopulation% of 540
Virginia Beach, VAUnknown455,61821.9%
Norfolk, VAUnknown238,00511.5%
Chesapeake, VAUnknown247,81111.9%
Richmond, VAUnknown230,43611.1%
Newport News, VAUnknown179,2258.6%
Alexandria, VAUnknown159,2007.7%
Hampton, VAUnknown137,1486.6%
Roanoke, VAUnknown99,1434.8%
Portsmouth, VAUnknown97,4754.7%
Suffolk, VAUnknown94,3244.5%
Lynchburg, VAUnknown84,3004.1%
Harrisonburg, VAUnknown54,0972.6%
Counties in Area Code 540
County-level population data from the 2022 ACS 5-year estimates. "% of 540" shows the share of 540 phone exchanges in each county.
CountyPopulation% of 540% of County
Fairfax, VA1,150,79525.5%41%
Prince William, VA488,02110.8%43%
Virginia Beach City, VA455,61810.1%80%
Loudoun, VA421,7129.3%62%
Chesterfield, VA372,9978.3%34%
Henrico, VA335,1667.4%43%
Chesapeake City, VA247,8115.5%57%
Arlington, VA238,9415.3%89%
Norfolk City, VA238,0055.3%51%
Richmond City, VA230,4365.1%47%
Newport News City, VA179,2254%57%
Alexandria City, VA159,2003.5%37%
Carrier Market Share in Area Code 540
Approximate share of assigned 540 numbers by carrier, based on FCC number-pooling data.
Cellco Partnership (Verizon Wireless)30%
Wireless
T-Mobile USA22%
Wireless
AT&T Mobility18%
Wireless
Comcast (Xfinity)8%
Cable
Frontier Communications6%
Landline
CenturyLink (Lumen)6%
Landline
Bandwidth.com (VoIP)5%
VoIP
Cox Communications3%
Cable
Spectrum (Charter)2%
Cable
Sample Prefixes in Area Code 540
A selection of 540 exchanges (NXX prefixes) with their assigned city and carrier.
PrefixCityCarrierAssigned
540-219FredericksburgComcast2012
540-241FredericksburgAT&T Mobility1996
540-263Virginia BeachCenturyLink2018
540-285FredericksburgCenturyLink2018
540-307FredericksburgCable One1986
540-329FredericksburgCox Communications1978
540-351FredericksburgFrontier Communications1984
540-373FredericksburgT-Mobile USA1983
540-395FredericksburgBandwidth.com2006
540-417FredericksburgSprint2017
540-439FredericksburgCox Communications2020
540-461FredericksburgCable One1995
540-483AlexandriaAT&T Mobility2014
540-505FredericksburgT-Mobile USA2018
540-527FredericksburgAT&T Mobility2015
540-549ChesapeakeSprint2016
540-571FredericksburgSpectrum2006
540-593HamptonBandwidth.com1992
540-615FredericksburgBandwidth.com2020
540-637FredericksburgSprint2008
540-659FredericksburgSpectrum2002
540-681FredericksburgVerizon Wireless1997
540-703HamptonComcast1976
540-725FredericksburgCable One1997
540-747FredericksburgAT&T Mobility1999
540-769FredericksburgSpectrum2021
540-791HamptonAT&T Mobility2015
540-813RichmondComcast1979
540-835RichmondCenturyLink1995
540-857FredericksburgCox Communications2015
540-879AlexandriaComcast2020
540-901FredericksburgFrontier Communications2008
540-923HamptonComcast2001
540-945FredericksburgAT&T Mobility1996
540-967Virginia BeachFrontier Communications1983
Frequently Asked Questions about Area Code 540

Need to look up a specific 540 number?

Use our free reverse phone lookup to identify the carrier and line type for any 10-digit 540 number.

Try Reverse Lookup