Is a ZIP code alone PII?
A ZIP code alone usually does not identify a person, so it is generally treated as a quasi-identifier rather than PII on its own. In a record about a person, it is part of their PII.
On its own, a ZIP code is usually not enough to identify anyone: most ZIP codes cover thousands of people. It is a quasi-identifier, though, and in combination with a birth date and sex it singles most people out. Inside a person's record it is part of their PII, and HIPAA restricts it to three digits, and only for populous areas, in de-identified health data.
Loading the PII tools.
NIST SP 800-122 treats information that is linked or linkable to an individual as PII. A ZIP code in a customer record is linked; a ZIP code in an anonymous survey is linkable if it can be combined with other fields. In the 2pii tier scale, a ZIP code alone is Tier 1, a quasi-identifier. It rises to Tier 2 when the record also holds a birth date and sex.
Research by Latanya Sweeney (2000) estimated that about 87% of the US population is likely uniquely identified by five-digit ZIP code, sex, and date of birth. A ZIP code also narrows things on its own in rural areas, where a single ZIP code may cover a small number of households, and with rare attributes such as an unusual job title.
Under the HIPAA Safe Harbor de-identification method, all geographic subdivisions smaller than a state must be removed, including street address, city, county, and ZIP code. The exception is the first three digits of a ZIP code, which may be kept if the geographic area formed by all ZIP codes sharing those three digits has more than 20,000 people. If it has 20,000 or fewer, the three digits must be changed to 000. See HIPAA sources.
The PII scanner finds ZIP codes as part of a street address, such as "123 Main Street, Springfield, IL 62701", not as standalone five-digit numbers, because most five-digit numbers in text are not ZIP codes. The masking tool's partial style for addresses keeps the state and the first three ZIP digits, in line with the HIPAA approach. For related fields, see is date of birth PII?
Education only, not legal advice. 2pii explains how privacy and security practitioners commonly treat personal data and points to the primary sources. Whether a law applies to your organization depends on facts only you and your counsel know. Last reviewed 2026-11-15; the law directory records the date each source link was last checked.
Everything is on the 2pii home page. Part of the 2suite.io privacy-first ecosystem.
You do not have to take our word for it. Browser developer tools list every request a page makes, so you can watch 2pii work and confirm that your text is never sent anywhere. The check takes about a minute.
F12, or Cmd+Option+I on a Mac, and select the Network tab.Text you paste or open is held in this tab's memory, checked by code that is already on the page, and handed back to you as a copy or a download. It is never uploaded, never stored in the browser, and gone when you close the tab. The only other request the site can make is the feedback form, and only when you submit it.
The production site also sends a Content-Security-Policy header that tells your browser to refuse connections to anywhere except this site and the anonymous analytics endpoint, so even a bug could not send your data elsewhere.
A ZIP code alone usually does not identify a person, so it is generally treated as a quasi-identifier rather than PII on its own. In a record about a person, it is part of their PII.
Under Safe Harbor you may keep only the first three digits, and only if the area formed by those three digits has more than 20,000 people. Otherwise they must be replaced with 000.
Together with sex, five-digit ZIP code and date of birth are estimated to uniquely identify about 87% of the US population, so the combination is directly identifying.
No. It finds ZIP codes as part of a street address, because standalone five-digit numbers are usually something else, such as order or product numbers.