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
| Type | Count | What it covers |
|---|---|---|
| Standard | 491 | Street delivery areas |
| PO Box | 157 | Post office boxes only |
| Unique | 33 | A single high-volume organization |
ZIP codes for major Massachusetts cities
| City | County | Standard ZIPs | Range |
|---|---|---|---|
| Boston | Suffolk County | 16 | 02108–02222 |
| Springfield | Hampden County | 12 | 01103–01152 |
| Worcester | Worcester County | 10 | 01602–01655 |
| Cambridge | Middlesex County | 5 | 02138–02142 |
| Fall River | Bristol County | 4 | 02720–02724 |
| Lowell | Middlesex County | 4 | 01850–01854 |
| Lynn | Essex County | 4 | 01901–01905 |
| New Bedford | Bristol County | 4 | 02740–02746 |
| Chicopee | Hampden County | 3 | 01013–01022 |
| Dorchester | Suffolk County | 3 | 02121–02125 |
| Haverhill | Essex County | 3 | 01830–01835 |
| Lawrence | Essex County | 3 | 01840–01843 |
| Quincy | Norfolk County | 3 | 02169–02171 |
| Somerville | Middlesex County | 3 | 02143–02145 |
| Waltham | Middlesex County | 3 | 02451–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