240 Area Code: Rockville, Maryland

Area code 240 serves Rockville, Frederick and western Maryland, including Gaithersburg, Bethesda and Hagerstown. It is in the Eastern Time Zone and shares its territory with area codes 301 and 227, and ten-digit dialing is required for every call there.

Facts

Code 240
State Maryland (MD)
Region western Maryland — the Maryland side of the Washington, DC metro area, southern Maryland and rural western Maryland, including Rockville, Frederick, Gaithersburg, Bethesda, Silver Spring and Hagerstown, the same territory as 301 and 227
Time zone Eastern Time
Overlays 227/240/301
In service since 1997 (NANPA NPA Database CSV: 1 June 1997; assigned 21 June 1996)
Dialing rule Yes — ten-digit dialing is required for all calls in this overlay area (NANPA CSV lists home-local dialing as 10D; mandatory in this area since the 1997 overlay).
Area code 240 diagram: Western Maryland, Eastern Time

Areas covered

The 240 footprint covers Rockville, Frederick, Gaithersburg, Bethesda, Silver Spring, Hagerstown, Germantown, Cumberland, Waldorf, Potomac and Landover. That list describes the area the code serves today. Because 240 is an overlay, it has no territory of its own: it sits on top of the same ground as 301 and 227, so a 240 number can belong to a phone anywhere in western Maryland. The area takes in Allegany, Charles, Garrett, Montgomery, Prince George’s, St. Mary’s and Washington counties, most of Frederick County and western Howard County. You can see the region on the interactive map on this site. The whole 240 footprint is in the Eastern Time Zone. Our time-zone guide lists the zone for every code on this site. Callers here should always dial the full ten-digit number, even for a local call.

History

In 1947, 301 was assigned to all of Maryland as an original code of the North American Numbering Plan. In 1991, Baltimore and the Eastern Shore split off as 410, leaving 301 the western half of the state. Within four years the Washington suburbs nearly exhausted 301, so on 1 June 1997 area code 240 was added as the state’s first overlay; NANPA records 240 in service on 1 June 1997 with 301 as parent. The arrangement spared more than a million people from changing their numbers. A 2022 study projected the 301/240 area would run out of codes by mid-2023, so the third overlay, 227, approved since 2001, went into service on 14 June 2023; NANPA records 227 in service on 14 June 2023. Existing numbers did not change; new numbers may use any of the three codes. Our guide to how overlays work explains that arrangement in plain terms. The Maryland section of the by-state directory lists every Maryland code on this site.

Dialing

Dialing rule: Yes — ten-digit dialing is required for all calls in this overlay area (NANPA CSV lists home-local dialing as 10D; mandatory in this area since the 1997 overlay). The reason is the overlay structure above, and our dialing guide explains the rule. NANPA notes dialing 1 first is also accepted at the provider’s discretion. From outside the United States, dial 1, then the area code and the local number. This page explains the area code only; it does not identify who owns a number or where a phone is.

Calls and spoofing

A call that shows a familiar area code is not proof of who is calling. Caller ID can be spoofed, so a number that looks local may come from anywhere. Do not share personal or financial details because of the number on the screen. If a number looks unfamiliar, our page to identify an unknown code can help, and our guide explains how spoofed calls work. This site does not identify callers or phone owners, and it does not list reported spam numbers.

Related codes

In Maryland: 301, 227, 410. See all 187 verified codes on the full list of codes we’ve covered so far.

Frequently asked questions

Does area code 240 cover Rockville?

Area code 240 is in Maryland, covering western Maryland and the Washington, DC suburbs — Rockville, Frederick, Gaithersburg — not Baltimore.

Is area code 240 in Eastern Time?

Area code 240 is in the Eastern Time Zone — check our time-zone guide for any other code.

Which codes share Rockville with 240?

The overlay partners for 240 are 301 and 227, in service as a group since 1997.

Do I dial 10 digits for a 240 number?

Yes — ten-digit dialing is required for all calls here, mandatory in this area since 1997.

When did 240 start working as an overlay for 301?

Area code 240 has been in service since 1 June 1997, as the first overlay on 301.

Sources

Sources: NANPA area code search · NANPA Database CSV · Wikipedia: Area codes 301, 240, and 227.

Based on a recent search of NANPA and official sources.

This website provides general information about North American area codes, compiled from public sources including NANPA. It is not affiliated with or endorsed by the FCC, NANPA or any telephone carrier. Area code details can change; confirm with your carrier or the official NANPA website. This site does not identify callers or phone owners.