Massachusetts ZIP Codes: Ranges, Prefixes and Major Cities

From 01001 to 05501, the ZIP codes of Massachusetts follow a clear pattern once you know what the first three digits mean. Below you will find the ranges, prefixes and city-by-city codes for the Bay State.

ZIP code range and prefixes

Every Massachusetts ZIP code starts with one of 19 three-digit prefixes. Each prefix points to a sectional center facility, the processing plant that sorts mail for a group of nearby post offices.

  • 010
  • 011
  • 012
  • 013
  • 014
  • 015
  • 016
  • 017
  • 018
  • 019
  • 020
  • 021
  • 022
  • 023
  • 024
  • 025
  • 026
  • 027
  • 055

Types of ZIP codes in Massachusetts

TypeCountWhat it covers
Standard491Street delivery areas
PO Box157Post office boxes only
Unique33A single high-volume organization

ZIP codes for major Massachusetts cities

CityCountyStandard ZIPsRange
BostonSuffolk County1602108–02222
SpringfieldHampden County1201103–01152
WorcesterWorcester County1001602–01655
CambridgeMiddlesex County502138–02142
Fall RiverBristol County402720–02724
LowellMiddlesex County401850–01854
LynnEssex County401901–01905
New BedfordBristol County402740–02746
ChicopeeHampden County301013–01022
DorchesterSuffolk County302121–02125
HaverhillEssex County301830–01835
LawrenceEssex County301840–01843
QuincyNorfolk County302169–02171
SomervilleMiddlesex County302143–02145
WalthamMiddlesex County302451–02453

Boston is the state capital. Larger cities have many ZIP codes because each code follows mail delivery routes, not city limits.

Sample addresses

David Jackson 3502 Main Rd Fall River, MA 02724
Olivia King 4541 Oak Ave Cambridge, MA 02140
Aaliyah Patel 262 Birch Ct Dorchester, MA 02122

These examples use real city and ZIP pairs with invented street lines, so they are safe for testing and documentation.

Tips for working with these ZIP codes

  • Massachusetts ZIP codes start with 0. Store them as text, or spreadsheets and databases will drop the leading zero.
  • All of Massachusetts is in the Eastern time zone, which keeps scheduling logic simple.
  • A quick sanity check: a valid MA ZIP code begins with one of the prefixes listed above.
  • City names in addresses are post office names. A suburb may share a ZIP code and city name with a nearby larger town.

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

Generate Massachusetts addresses