Postal Code vs ZIP Code: What's the Difference?

A ZIP code is the US system — five digits. A Canadian postal code is six alternating letters and digits. They are not interchangeable. Here is what differs, why forms reject the wrong one, and what to enter where.

No, a postal code and a ZIP code are not the same thing. A ZIP code is the United States system: five digits, sometimes extended to nine, like 90210 or 90210-1234. A Canadian postal code is six characters alternating letters and digits, like M5V 0A0. The two systems belong to different countries, use different formats, and identify areas of very different size. Neither will validate against the other's rules.

If a form is rejecting your Canadian postal code, it is almost certainly validating it as a five-digit US ZIP code. Skip to what to do when a form rejects your postal code.

The postal codes in these examples. Each one pairs a real forward sortation area — the first three characters, which carry the geography — with 0A0 as a placeholder for the last three. That is deliberate, and it is the same point the guide makes elsewhere: only the first three characters support any inference. The last three identify a delivery unit and tell you nothing you can reason from. No example here is a real delivery point, and none is meant to be posted to.

The direct comparison

Canadian postal codeUS ZIP code
CountryCanadaUnited States
Format6 characters: letter-digit-letter space digit-letter-digit5 digits, optionally +4 more
ExampleM5V 0A090210 or 90210-1234
Issued byCanada PostUnited States Postal Service
Contains lettersYesNo
Typical area coveredPart of a neighbourhood; sometimes one buildingA town, or a section of a city
Name originDescriptive termAcronym — Zoning Improvement Plan

The single most practical difference: a Canadian postal code is far more precise than a US ZIP code. A five-digit ZIP code typically covers a whole town or a large slice of a city. The last three characters of a Canadian postal code can narrow delivery to one side of a single city block, or to one office tower.

That precision difference is why address systems built around ZIP codes often handle Canadian data badly: they assume a postal code identifies a broad area and build features on that assumption.

Why do people confuse them?

Three reasons, and each produces a slightly different problem.

The words are used loosely. "Zip code" has drifted into general use for any postal identifier, in the way "hoover" became a verb. People in Canada search for "Canadian zip code" all the time, meaning a postal code. Searchers from South Asia often say "pin code", from India's Postal Index Number system. All three words are pointing at the same six characters when a Canadian address is involved.

Forms ask for the wrong one. A checkout built for a US audience labels its field "ZIP code" and validates five digits. A Canadian customer types M5V 0A0, gets an error, and reasonably concludes their postal code is wrong. It is not — the form is.

Both sit in the same place in an address. In both countries, the code goes on the final line after the city and the state or province. Structurally they occupy the same slot, which makes them feel more interchangeable than they are.

What is a Canadian postal code?

A Canadian postal code is six characters in the pattern A1A 1A1 — letter, digit, letter, space, digit, letter, digit.

The first three characters are the Forward Sortation Area, which carries real geographic meaning: the opening letter identifies a province or region, the digit tells you whether the area is rural (0) or urban (1–9), and the third character narrows it further. The last three are a Local Delivery Unit — a routing identifier for a specific delivery point.

Six letters never appear at all: D, F, I, O, Q and U. Two more, W and Z, never appear as the first character but do appear later — M4W and H2Z are real codes. The full explanation covers the structure in detail.

What is a US ZIP code?

A US ZIP code is five digits, assigned by the United States Postal Service. The name is an acronym: the USPS launched the Zoning Improvement Plan in 1963 to handle rising mail volumes.

An extended form, ZIP+4, adds a hyphen and four further digits — 90210-1234. The USPS describes those extra digits as enabling mail to be sorted to a specific street, bringing the US code closer to the precision a Canadian Local Delivery Unit provides. In practice most people quote and store only the five-digit form, which is why ZIP codes are usually treated as covering a much larger area than a Canadian postal code.

Do Canada and the US use each other's system anywhere?

No. They are entirely separate systems, administered by separate postal operators, with no shared numbering and no overlap.

A Canadian address always takes a Canadian postal code. A US address always takes a ZIP code. Mail crossing the border keeps the destination country's format — you write a US address with a ZIP code even when posting it from Canada, and a Canadian address with a postal code even when posting it from the US, adding the destination country name as the final line.

What to do when a form rejects your postal code

If an online form refuses a valid Canadian postal code, work through these in order.

Check the country field first. Most address forms switch their validation rules based on the selected country. If the country is still set to United States, the postal code field is expecting five digits. Setting the country to Canada usually fixes it immediately.

Try it without the space. M5V0A0 rather than M5V 0A0. Some forms validate a six-character string and treat the space as a seventh character. This is a bug in the form, but it is a common one and the workaround costs nothing.

Try uppercase. Case should not matter. Occasionally it does.

If the form only ever accepts five digits, it does not support Canadian addresses at all — no combination of input will work. At that point the options are contacting the merchant, or using a different checkout path.

None of these are things you should have to do. They are symptoms of address validation written for one country and deployed internationally.

For developers: the mistake behind almost all of this

The root cause is nearly always a single validation rule applied globally.

# Rejects every valid Canadian address
^\d{5}(-\d{4})?$

The fix is to select the validation rule from the selected country rather than applying one pattern to everyone. And when you do write a Canadian pattern, the obvious one is still wrong:

# Wrong — allows D, F, I, O, Q, U, and W/Z in the first position
^[A-Z]\d[A-Z] ?\d[A-Z]\d$

That pattern permits letters that never occur, and depending on how it is written, often excludes W and Z everywhere — silently rejecting real codes like M4W 0A0 and H2Z 0A0.

Both halves of that are covered properly elsewhere rather than repeated here: the validation guide derives the correct pattern and the edge cases worth testing against, and this site's postal code validator will check a pasted code or a whole column against those rules.

If you need Canadian addresses to test any of this, the address generator produces structurally valid synthetic ones, and generating test addresses for Canada explains how to use them without putting real customer data in a test database.

Frequently asked questions

Is a postal code the same as a ZIP code?

No. A ZIP code is the US system and uses five digits. A Canadian postal code uses six alternating letters and digits. They belong to different countries and are not interchangeable.

Does Canada have ZIP codes?

No. Canada has postal codes. "Canadian zip code" is a common informal phrase for a Canadian postal code, but Canada Post's term — and the term used on official forms — is postal code.

What is a Canadian ZIP code example?

There is no such thing as a Canadian ZIP code, but an example of a Canadian postal code is M5V 0A0 — a Toronto code. Note the letters, which no US ZIP code contains.

Is a pin code the same as a postal code?

No. A PIN code is India's Postal Index Number — a third, separate system with its own numeric format, administered by India Post. People from South Asia often use "pin code" informally to mean any postal identifier, including Canadian postal codes, but the two systems are unrelated.

Which is more precise, a postal code or a ZIP code?

A Canadian postal code. Its last three characters can identify a single side of a block or a single large building. A five-digit ZIP code typically covers a town or a section of a city. ZIP+4 narrows the US code to a comparable level, but is far less commonly used.

Why does the checkout say my postal code is invalid?

Almost always because the country is set to the United States, so the form is validating five digits. Change the country to Canada. If that does not help, try entering the code without the space.

Do I write a ZIP code or a postal code on mail to Canada?

A postal code, in Canadian format, on the last line after the city and province symbol — then CANADA as a final line if you are posting from outside the country. How to write a Canadian address covers the full layout.

In short

Different countries, different formats, not interchangeable. Five digits is the US. Six alternating letters and digits is Canada. If a form disagrees, the form is wrong — and it is usually wrong because someone applied one country's validation rule to the whole world.

Tools and reference pages on this site

Related guides

Sources

Claims register (for CLAIMS.md)

#ClaimSource status
29US ZIP code is five digits, optionally +4USPS Postal Facts — verified
30ZIP = Zoning Improvement Plan, launched 1963USPS Postal Facts — verified (quoted). Note: the common rendering "Zone Improvement Plan" contradicts the USPS's own wording; use "Zoning"
31ZIP+4 digits sort mail to a specific streetUSPS Postal Facts — verified (quoted)
32Canadian postal code is six characters, ANA NANCanada Post — verified (claim 1)
33Canadian LDU can identify one side of a block or a single buildingVerified earlier in project
34PIN code is India's Postal Index Number, administered by India PostIndia Post — name verified; digit count deliberately omitted, no reachable primary source
35Destination country's format is used on cross-border mailCanada Post addressing guidelines — verified
36M4W 0A0 and H2Z 0A0 shown as structurally valid examplesStructure verified; not asserted as real delivery points

Claim 30 is worth flagging to anyone editing this page later: most secondary sources render ZIP as "Zone Improvement Plan". The USPS's own Postal Facts page says "Zoning Improvement Plan". The primary source wins. Do not "correct" it.

Related