Back to area codes

Area code 540: Roanoke, Virginia

Area code 540 serves Roanoke, Harrisonburg, and Fredericksburg in Virginia, United States, in the Eastern Time zone.

It is the original area code for this area. Overlay codes added later: 826.

Local time now--:--:--

Area code 540 at a glance

State
Virginia
Main cities
Roanoke, Harrisonburg, Fredericksburg, Winchester, Staunton, Blacksburg, Salem, Waynesboro
Time zone
Eastern Time (UTC−5)
Overlay codes
826
In service since
1995

Cities and communities with 540 numbers

Numbers with area code 540 are mainly issued in Roanoke, Harrisonburg, Fredericksburg, Winchester, Staunton, Blacksburg, Salem, and Waynesboro. A phone number keeps its area code when its owner moves or changes provider, so a number with 540 does not prove the person is in Virginia today.

540 and the other codes in the same area

540 and 826 cover the exact same area, and every call there is dialed with all 10 digits.

  • 540Roanoke, Harrisonburg, and Fredericksburg. In service since 1995. This page
  • 826Roanoke, Harrisonburg, and Fredericksburg. In service since 2022.

Time zone and time difference

Area code 540 follows Eastern Time, which is currently UTC−5. Right now the local time there is the same as New York, 5 hours behind London and 14 hours behind Tokyo. A working day there, 9:00 to 17:00, is 09:00–17:00 in New York, 14:00–22:00 in London and 23:00–07:00 (next day) in Tokyo. Clocks there change in spring and autumn, so the time difference with other cities can shift by an hour for part of the year. Eastern Time is the main time zone of 177 of the 372 area codes in United States.

Other area codes in Virginia

Virginia has 10 area codes in service. The oldest is 703, in service since 1947, and the newest is 686, since 2024.

  • 276Bristol, Martinsville, and Galax. In service since 2001.
  • 434Lynchburg, Charlottesville, and Danville. In service since 2001.
  • 571Alexandria, Fairfax, and Falls Church. In service since 2000.
  • 686Richmond, Chesterfield, and Henrico. In service since 2024.
  • 703Alexandria, Fairfax, and Falls Church. In service since 1947.
  • 757Virginia Beach, Norfolk, and Chesapeake. In service since 1996.
  • 804Richmond, Chesterfield, and Henrico. In service since 1973.
  • 948Virginia Beach, Norfolk, and Chesapeake. In service since 2022.

How to dial numbers with area code 540

From abroad

Dial +1, then 540, then the seven-digit number, for example +1 540 555 0123 (a fictional number). On a mobile phone you can type + instead of an exit code; on a landline use your country's international access code, such as 00 from most of Europe or 010 from Japan.

Calling 540 from inside the US or Canada

Dial 1, then 540, then the seven-digit number, for example 1-540-555-0123. 540 shares its area with 826, so even a local call needs all ten digits.

Call a 540 number from abroad

Call any 540 number from your browser — no SIM, no app install, and no international roaming charge.

Calls to 540 numbers cost $0.02/min with QuikRing.

At that rate, a 10-minute call costs about $0.20.

Make a call

Calling a 540 number or a 1-800 number from outside the US or Canada? Here is how to reach it from abroad.

Get a 540 number

Rent a real 540 number and receive calls and text messages on it from anywhere. Calls ring in your browser, and voicemail is transcribed automatically.

⁨$3.90⁩/month

Available now

  • +1 540 401 1131
  • +1 540 609 9796
  • +1 540 401 1136
  • +1 540 585 0472
  • +1 540 502 3636

A call from 540 that you do not recognise

An area code shows where a phone number was first issued, not who is calling or where they are now. Numbers move between people, carriers and internet phone services, and a caller can make any number appear on your screen, so seeing 540 on its own proves little.

  • Let calls you do not recognise go to voicemail. A genuine caller usually leaves a message.
  • Do not call back a number that rang once and stopped, or one a message urges you to ring: some numbers charge by the minute.
  • Never share a password, a one-time code or card details with someone who called you, whichever area code appears.
  • To check a call, hang up and ring the organisation back on the number printed on its website, your card or your statement.

Reported unwanted calls

Between October 1, 2025 and September 30, 2026, 290 consumer complaints to the FCC about robocalls and telemarketing named a caller ID starting with 540, out of 54,003 complaints that named any caller ID.

Source: the FCC's open consumer-complaints data, checked on October 8, 2026. Complaints are individual reports that the FCC does not verify, and caller IDs are often spoofed, so this counts what phones displayed, not where calls came from. FCC unwanted-calls dataset

Frequently asked questions

Where is area code 540?

Area code 540 covers Roanoke, Harrisonburg, and Fredericksburg in Virginia, United States.

What time is it in area code 540?

Area code 540 follows Eastern Time, which is currently UTC−5. The clock at the top of this page shows the local time right now.

Is 826 the same area as 540?

Yes. 826 and 540 cover the exact same area, so every call there needs all 10 digits dialed.

How do I dial a number with area code 540 from abroad?

Dial +1, then 540, then the seven-digit number, for example +1 540 555 0123.

Do I need to dial the area code for a local call?

540 shares its area with 826, so even a local call needs all ten digits.

When did area code 540 go into service?

Area code 540 went into service in 1995. 233 of the 372 area codes in United States entered service after it.

How do I get an area code 540 phone number?

Sign up for QuikRing and rent one of the available 540 numbers shown above. It starts working immediately and can receive real calls and text messages.

How much does it cost to call 540 from abroad?

Calls to United States numbers, including area code 540, start at $0.02/min with QuikRing. Calls to 540 numbers cost $0.02/min with QuikRing. No roaming plan or SIM is needed.