Area codes 301, 240, and 227
Area codes 301, 240, and 227 are telephone area codes in the North American Numbering Plan (NANP) for the western part of the U.S. state of Maryland. The numbering plan area (NPA) comprises Maryland's portion of the Greater Washington, D.C. metro area, portions of southern Maryland, along with rural western Maryland. This includes the communities of Cumberland, Frederick, Hagerstown, Gaithersburg, Potomac, Germantown, Bethesda, Rockville, Landover, Silver Spring, and Waldorf.
Area code 301 was the first area code for all of Maryland, from 1947, when the area code system was created, until 1991, when the NPA was reduced in geographic extent. In 1997, it was converted to an overlay numbering plan with the addition of the second area code 240. On June 14, 2023, a third overlay code, 227, was added to provide more central office prefixes for new telephone numbers.