Massachusetts Area Codes: Complete List With Cities Served

Massachusetts is served by 9 area codes. Growth in phone lines has pushed the state to add new codes over the years, often as overlays on existing regions.

Massachusetts area code list

Area codeMain places served
339Lynn, Woburn, Waltham and Burlington
351Lowell, Andover, Haverhill and Lawrence
413Springfield, Chicopee, Amherst and Northampton
508Worcester, New Bedford, Framingham and Brockton
617Boston, Cambridge, Quincy and Dorchester
774Worcester, Fall River, New Bedford and Framingham
781Lynn, Boston, Waltham and Somerville
857Boston, Cambridge, Dorchester and Somerville
978Lowell, Haverhill, Lawrence and Acton

Place names come from ZIP code records linked to each area code, so they show where a code is most common rather than exact boundaries.

Area codes by major city

CityArea codes
Boston617, 781, 857
Springfield413
Worcester508, 774, 978
Cambridge339, 617, 781, 857
Fall River508, 774
Lowell351, 978
Lynn339, 351, 781, 978
New Bedford508, 774
Chicopee413
Dorchester617, 857
Haverhill351, 978
Lawrence351, 978
Quincy339, 617, 781, 857
Somerville339, 617, 781, 857
Waltham339, 617, 781, 857

How to format a Massachusetts phone number

US numbers have ten digits: the area code, a three-digit exchange and a four-digit line number. A Massachusetts number is written as (339) 555-0123 for display, or +13395550123 in E.164 format for storage.

Safe numbers for testing

The range 555-0100 to 555-0199 is reserved for fictional use in every area code. Our generator combines these with real local area codes, so test data looks right without reaching a real person.

Why overlays matter for your forms

With overlays, you cannot guess a city from its area code alone, and people who move keep their numbers. Use area codes for display and formatting, not for location checks.

Create realistic Massachusetts addresses for testing, with real cities, counties and ZIP codes.

Generate Massachusetts addresses