HIPAA De-identification Checker

Is your data set actually de-identified?

Most teams believe they are one column away from de-identified data and are usually several. Walk the eighteen identifier categories at 45 CFR 164.514(b)(2), answer the actual knowledge question that Safe Harbor also requires, and this tool tells you whether the data set is de-identified, whether it qualifies as a limited data set instead, or whether it is still protected health information. Every step shows the paragraph it came from. Free, private, and no account required.

18identifier categories
2de-identification methods
0data leaves your browser

The checker

Twenty steps, one answer

Describe the data set as it actually leaves your systems, including free-text notes and joined tables. The tool names the standard your answers match and lists what is blocking the next one up.
0 of 20 answered
Names and the people around the patient

Identifier (A). The Safe Harbor list reaches the individual and the relatives, employers, and household members named alongside them.

A Does the data set contain any names?

Patient names, and also the names of relatives, employers, and household members that appear in the same record. Provider names are a separate question and the rule does not require their removal.

45 CFR 164.514(b)(2)(i)(A)
Geography and dates

Identifiers (B) and (C). These two are where most data sets fail, because they carry the analytic value people are trying to keep.

B What is the smallest geographic unit the data set keeps?

Safe Harbor removes every geographic subdivision smaller than a state, with one exception: the first three digits of a ZIP code, and only when the area those three digits cover holds more than 20,000 people.

45 CFR 164.514(b)(2)(i)(B)

C How precise are the dates tied to an individual?

Birth date, admission, discharge, death, visit, procedure, and specimen collection dates all count. OCR has said dates on laboratory reports are directly related to a specific individual, so a lab date is treated the same as a visit date.

45 CFR 164.514(b)(2)(i)(C)

C How are ages above 89 handled?

The same paragraph that governs dates says all ages over 89, and all date elements including the year that reveal such an age, must be aggregated into a single category of age 90 or older.

45 CFR 164.514(b)(2)(i)(C)
Contact details

Identifiers (D) through (F). Phone, fax, and email, including partial forms.

D Are telephone numbers present?

Any phone number tied to the individual, including a mobile number stored for appointment reminders.

45 CFR 164.514(b)(2)(i)(D)

E Are fax numbers present?

Still a live identifier in health care, and one that survives in scanned cover sheets and message headers.

45 CFR 164.514(b)(2)(i)(E)

F Are email addresses present?

Patient email addresses, including addresses embedded in message threads attached to a record.

45 CFR 164.514(b)(2)(i)(F)
Assigned numbers

Identifiers (G) through (M). Any number a system, insurer, agency, or manufacturer assigned that travels with the record.

G Are Social Security numbers present?

Including the last four digits, which is the single most common Safe Harbor failure in exported data.

45 CFR 164.514(b)(2)(i)(G)

H Are medical record numbers present?

The chart or patient number your own systems assign, in any of the places it appears.

45 CFR 164.514(b)(2)(i)(H)

I Are health plan beneficiary numbers present?

Member IDs, subscriber numbers, and Medicare beneficiary identifiers.

45 CFR 164.514(b)(2)(i)(I)

J Are account numbers present?

Billing account numbers, guarantor accounts, financial account numbers, and patient statement numbers.

45 CFR 164.514(b)(2)(i)(J)

K Are certificate or license numbers present?

The individual's own numbers, such as a driver license number, a professional license, or a birth certificate number.

45 CFR 164.514(b)(2)(i)(K)

L Are vehicle identifiers present?

License plates and vehicle identification numbers, which reach records more often than people expect through incident and transport notes.

45 CFR 164.514(b)(2)(i)(L)

M Are device identifiers or serial numbers present?

Implant serial numbers, pump and monitor serial numbers, and the device identifier and production identifier portions of a unique device identifier.

45 CFR 164.514(b)(2)(i)(M)
Digital and physical traces

Identifiers (N) through (Q). Web addresses, network addresses, biometrics, and images.

N Are web addresses present?

Patient portal links, personal web pages, and social profile URLs stored in a record.

45 CFR 164.514(b)(2)(i)(N)

O Are IP addresses present?

Addresses captured by portal logins, telehealth sessions, form submissions, and audit logs that ride along in an export.

45 CFR 164.514(b)(2)(i)(O)

P Are biometric identifiers present?

Finger and voice prints are named in the rule. Retinal scans, iris images, and raw voice recordings sit in the same category.

45 CFR 164.514(b)(2)(i)(P)

Q Are full-face photographs or comparable images present?

Clinical photography, wound images that include the face, and any image comparable to a full-face photograph. A distinctive tattoo or a facial reconstruction from imaging can fall in the same place.

45 CFR 164.514(b)(2)(i)(Q)
The catch-all and the knowledge test

Identifier (R) and the actual knowledge condition at 164.514(b)(2)(ii). The two steps most checklists skip.

R Is any other unique identifying number, characteristic, or code retained?

The catch-all. It reaches study codes, tattoo descriptions, occupations that describe one person, and any attribute that singles someone out. Paragraph (c) permits a re-identification code, but only under conditions.

45 CFR 164.514(b)(2)(i)(R) and 164.514(c)

ii Do you actually know that what remains could still identify someone?

Safe Harbor has a second condition beyond the list. OCR describes actual knowledge as clear and direct knowledge that the remaining information could identify an individual, alone or combined with other information. Knowing that re-identification research exists is not, by itself, actual knowledge.

45 CFR 164.514(b)(2)(ii)

This checker applies the de-identification standard at 45 CFR 164.514 and the OCR guidance issued under it. It runs entirely in your browser, stores nothing, and sends nothing anywhere. It reports which standard the data set you described appears to meet, based only on what you selected. It is not an expert determination under 164.514(b)(1), it is not a compliance determination, it is not legal advice, and it is not a government determination. An expert determination requires a qualified person applying statistical and scientific principles to your actual data.

What it shows

Six things this checker makes clear

The tool applies 45 CFR 164.514 and the OCR guidance issued under it. It reports which standard your answers match. It is not an expert determination, not a compliance determination, and not legal advice.

All eighteen

Every identifier category, not the famous six

Names, geography, and Social Security numbers are the ones people remember. Device serial numbers, IP addresses, vehicle plates, and web addresses are the ones that survive an export and quietly break the analysis.

Partial forms

That a last-four column is still an identifier

OCR treats parts and derivatives of a listed identifier as the identifier. Initials, the last four digits of a Social Security number, and a reversible hash of a record number all fail Safe Harbor.

The second condition

The actual knowledge test most checklists skip

Safe Harbor has two parts. Removing the eighteen categories is the first. The absence of actual knowledge that the remainder could identify someone is the second, at 164.514(b)(2)(ii).

The middle path

Whether a limited data set fits instead

If you need full dates or geography down to the city, Safe Harbor is closed but 164.514(e) is open. The checker tells you when you have landed there and what the data use agreement must say.

ZIP codes

The three-digit prefix rule and its 20,000 threshold

A three-digit ZIP prefix is allowed only when the area it covers holds more than 20,000 people. OCR published the prefixes that fail, and the checker treats them as blockers.

Codes

When a study code is permitted and when it is not

Paragraph (c) allows a re-identification code, but only when it is not derived from information about the individual, is used for no other purpose, and the mechanism stays undisclosed.

The full picture

How HIPAA lets data stop being PHI

A plain-English walk through the de-identification standard, the two methods that satisfy it, the eighteen categories that trip people up, the limited data set that sits between them, and the way re-identification pulls data back inside the rule.

De-identification is the only exit HIPAA offers

HIPAA does not have a general exemption for research, or for analytics, or for internal reporting, or for machine learning. It has permitted uses and disclosures, it has authorizations, and it has one door that takes information out of the rule's scope altogether. That door is de-identification, and it is defined at 45 CFR 164.514(a): health information that does not identify an individual, and with respect to which there is no reasonable basis to believe the information can be used to identify an individual, is not individually identifiable health information.

The consequence is stated at 45 CFR 164.502(d)(2). Once information meets that standard, it is no longer protected health information, and the Privacy Rule's restrictions on use and disclosure no longer apply to it. You do not need an authorization. You do not need a business associate agreement with the vendor who analyzes it. You do not need a data use agreement. The information has left HIPAA.

That is a large consequence, and the rule guards it with a correspondingly specific test. There are exactly two ways to satisfy the standard, both at 45 CFR 164.514(b): expert determination and Safe Harbor. There is no third method, no reasonable-effort standard, and no defense built on how careful you were. Either you applied one of the two methods or the data is still protected health information.

Method one: Safe Harbor, and why it looks easier than it is

Safe Harbor at 45 CFR 164.514(b)(2) is the method most organizations reach for, because it is mechanical. Remove eighteen categories of identifiers, satisfy one knowledge condition, and you are done. Two people applying it to the same data set should get the same answer, which is exactly what you want when the alternative is hiring a statistician.

The eighteen categories are lettered (A) through (R) in the regulation. Names come first, and the category reaches more than the patient: it covers the names of relatives, employers, and household members appearing in the record. Notably, OCR has confirmed there is no explicit requirement to remove the names of the providers treating the patient, which surprises people in both directions.

Then geography, then dates, and these two are where nearly every real data set fails, because they carry the analytic value people are trying to preserve. Geography strips down to the state. The only exception is the first three digits of a ZIP code, and only when the geographic unit formed by combining all ZIP codes sharing those three digits contains more than 20,000 people according to current publicly available Census data. Prefixes covering 20,000 or fewer people must be changed to 000. OCR published the seventeen three-digit prefixes that failed the threshold under 2000 Census data, listed below, along with an instruction not to rely on that listing once more current data has been published.

Restricted three-digit ZIP prefixes in the OCR listing: 036, 059, 063, 102, 203, 556, 692, 790, 821, 823, 830, 831, 878, 879, 884, 890, 893.

Dates are stricter than people assume. Every element of a date more precise than the year has to go, for any date directly related to an individual: birth, admission, discharge, death, visit, procedure. OCR has stated that dates associated with test measures, such as those derived from a laboratory report, are directly related to a specific individual, so lab dates are covered too. And the same paragraph handles the elderly separately: all ages over 89, and all date elements including the year that indicate such an age, must be aggregated into a single category of 90 or older. OCR illustrates the trap with an example. If a patient's year of birth is 1910 and the year of service is 2010, the year of birth reveals an age above 89 and should be reported as on or before 1920, even though only years are present.

After that the list is more mechanical: telephone numbers, fax numbers, email addresses, Social Security numbers, medical record numbers, health plan beneficiary numbers, account numbers, certificate and license numbers, vehicle identifiers including license plates, device identifiers and serial numbers, web addresses, Internet Protocol addresses, biometric identifiers including finger and voice prints, and full-face photographs and comparable images.

The single most common failure across all of them is the partial form. OCR's guidance is direct: parts or derivatives of any of the listed identifiers cannot be disclosed. A column holding the last four digits of a Social Security number is not a de-identified column. Neither is a set of initials, a truncated medical record number, an area code on its own in a small geography, or a cropped photograph where the face remains recognizable. This is the point at which pipelines that look clean in a schema review turn out not to be.

Identifier (R), the catch-all that does the real work

The eighteenth category is any other unique identifying number, characteristic, or code, and it is not a formality. It is what stops the first seventeen from becoming a checklist you can satisfy while leaving obviously identifying material in place. A rare diagnosis in a small population, an occupation that describes one person, a distinguishing physical feature recorded in a note, a study identifier that nobody thought of as an identifier: all of them sit here.

The catch-all has one carve-out, at 45 CFR 164.514(c). A covered entity may assign a code or other means of record identification to allow de-identified information to be re-identified later, but only under conditions. The code must not be derived from or related to information about the individual and must not otherwise be capable of being translated to identify them. And the covered entity must not use or disclose the code for any other purpose, or disclose the mechanism for re-identification.

This is why a hashed medical record number is a harder question than it looks. A hash is derived from information about the individual, so a hash whose function and salt travel with the data does not satisfy the first condition. OCR's guidance does contemplate disclosing codes derived from protected health information as part of a de-identified data set through cryptographic hash functions, provided the keys associated with those functions are not disclosed to anyone, including the recipients. A randomly generated study code, with the crosswalk held on the identified side of the wall, avoids the argument entirely and is what most well-run programs use.

The condition that is not on the list

Safe Harbor has a second requirement that lives at 45 CFR 164.514(b)(2)(ii), and it is the one most summaries drop: the covered entity must not have actual knowledge that the information could be used alone or in combination with other information to identify an individual who is a subject of the information.

OCR describes actual knowledge as clear and direct knowledge that the remaining information could be used to identify an individual. The guidance draws a line that matters in practice. Knowing that re-identification research exists, and that academics have demonstrated methods for linking de-identified records to external sources, does not by itself give a covered entity actual knowledge that those methods would be used against the data it is disclosing. The condition is about what you actually know, not about what is theoretically possible.

The examples OCR gives are concrete. A record describing a former president of a state university, alongside an age and a state, is identifiable to anyone who reads a newspaper. Clinical details that would let a recipient recognize a relative are actual knowledge. A rare event reported in the media, such as an unusual multiple birth, is actual knowledge. And knowing that a particular recipient already holds the key to fields you left in the data is actual knowledge in the most direct sense. The test asks you to think about a specific data set going to a specific recipient, and to act on anything you already know.

Method two: expert determination, and what makes someone an expert

The other method, at 45 CFR 164.514(b)(1), replaces the list with an analysis. A person with appropriate knowledge of and experience with generally accepted statistical and scientific principles and methods for rendering information not individually identifiable applies those principles, determines that the risk is very small that an anticipated recipient could use the information alone or in combination with other reasonably available information to identify an individual, and documents the methods and results of the analysis that justify that determination.

Two things about that standard are worth stating plainly. First, OCR has said there is no specific professional degree or certification program that designates who is an expert. What OCR reviews is the relevant professional experience and academic or other training of the expert, along with actual experience using de-identification methodologies. Second, there is no universal numeric threshold for very small risk. It depends on the data, the recipient, and what else is reasonably available, which is precisely why the method requires a documented analysis rather than a conclusion.

The Privacy Rule does not require expert determinations to expire, but OCR's guidance observes that experts may apply time-limited certifications, since technology, social conditions, and the availability of external data change. An expired certification does not invalidate data already disseminated. Experts may also design multiple solutions tailored to different recipients, so long as the resulting data sets cannot be combined in a way that compromises the protections.

Expert determination is the right method when the analysis genuinely needs what Safe Harbor forbids: exact dates for a longitudinal study, five-digit ZIP codes for a geographic health analysis, granular ages at the top of the distribution. It costs money and takes time, and organizations that need it usually know they do.

The limited data set: the middle path people forget exists

Between fully identified data and de-identified data sits a third option that solves a large share of real requests: the limited data set at 45 CFR 164.514(e). It removes sixteen direct identifiers rather than eighteen categories. The list it drops is essentially the Safe Harbor list minus dates, minus the geographic detail down to town or city, state, and ZIP code, and minus the catch-all. Street addresses still have to go; town, city, state, and ZIP code may stay.

That difference is exactly the difference most analysts care about. A limited data set keeps full dates and keeps geography at a usable resolution, which makes it viable for epidemiology, outcomes research, and quality measurement in a way Safe Harbor data often is not.

The trade is that a limited data set remains protected health information. It may be used or disclosed for three purposes only, research, public health, and health care operations, and only under a data use agreement satisfying 45 CFR 164.514(e)(4). That agreement has required content: the permitted uses and disclosures, who may use or receive the data, a prohibition on further use or disclosure beyond the agreement or what law requires, a requirement to use appropriate safeguards, a requirement to report any use or disclosure the agreement does not provide for, an obligation to bind agents and subcontractors to the same terms, and a prohibition on identifying the information or contacting the individuals. If the covered entity learns of a pattern of activity that breaches the agreement, it has to take reasonable steps to fix it and, if that fails, to end the disclosure or report the problem.

The failure mode here is linguistic rather than technical. Teams build a perfectly good limited data set, describe it as de-identified in a research protocol or a vendor contract, and then discover during a breach investigation or an audit that the paperwork says something the data does not support. A limited data set can be breached. De-identified data cannot, because it is not protected health information. That distinction decides whether an incident triggers the notification rules at 45 CFR 164.400 through 164.414.

Free text, joins, and the places de-identification quietly fails

OCR's guidance states that the de-identification standard makes no distinction between data entered into standardized fields and information entered as free text. That single sentence accounts for more failed de-identification than every other rule combined.

The pattern is familiar. A team writes a careful extract that drops the identifier columns, reviews the schema, and ships it. What ships alongside it is a discharge summary naming a spouse, a nursing note with a callback number, a scanned referral with a fax header, a PDF whose document properties carry the author's name, an image file whose metadata holds a device serial number and GPS coordinates, and a joined audit table carrying IP addresses because someone needed session context. None of those are in the column list. All of them are identifiers.

Two habits prevent most of this. The first is to run the analysis against the artifact that actually leaves the building rather than against the query that produces it, including attachments, metadata, and every joined table. The second is to re-run the analysis whenever the extract changes. A de-identification determination describes a data set at a moment. It is not a property the pipeline keeps.

Re-identification, and what happens if someone does it

De-identified information that gets re-identified becomes protected health information again in the hands of a covered entity or business associate holding it, with every obligation that follows. This is why 45 CFR 164.514(c) is drafted the way it is: the code and the mechanism are what stand between a de-identified data set and a re-identifiable one, and the rule protects both.

The Privacy Rule also makes de-identification itself a permitted activity. Under 45 CFR 164.502(d)(1), a covered entity may use protected health information to create de-identified information, and may disclose it to a business associate for that purpose. That matters operationally, because it means the vendor doing your de-identification work is a business associate and needs an agreement, even though the output of the work will not be protected health information at all.

Where training fits

The people who decide whether a data set is de-identified are rarely the privacy officer. They are analysts, report writers, data engineers, and researchers, and they are handling protected health information right up until the moment the extract is produced. The Privacy Rule training requirement at 45 CFR 164.530(b) and the security awareness and training program at 45 CFR 164.308(a)(5) reach them like everyone else.

The practical case is stronger than the regulatory one. Almost none of the failures in this area are deliberate. They are a last-four column that looked harmless, a lab date nobody thought of as a date, an audit join added for debugging, a scanned attachment that never got opened. Those are recognition problems, and recognition is what training produces. It is worth being precise about what training proves: completing a course demonstrates that named individuals received instruction on a date, and produces a record you can show. It does not make an organization compliant, no training provider can certify that it is, and the federal government does not accredit or endorse training providers.

Primary sources

Keep going

What to read once you know which standard applies

The checker answers one question about one data set. These pages cover the agreements, the safeguards, and the training that follow from the answer.

De-identification FAQ

Common questions about the 18 identifiers and Safe Harbor

What are the 18 HIPAA identifiers?

They are the categories listed at 45 CFR 164.514(b)(2)(i)(A) through (R): names; all geographic subdivisions smaller than a state, with a narrow exception for the first three digits of a ZIP code; all elements of dates except the year, plus ages over 89; telephone numbers; fax numbers; email addresses; Social Security numbers; medical record numbers; health plan beneficiary numbers; account numbers; certificate and license numbers; vehicle identifiers and serial numbers including license plates; device identifiers and serial numbers; web addresses; Internet Protocol addresses; biometric identifiers including finger and voice prints; full-face photographs and comparable images; and any other unique identifying number, characteristic, or code. That last one is a catch-all, not a filler, and it does most of the work people do not expect.

Is removing the 18 identifiers enough to de-identify data?

Not by itself. Safe Harbor is a two-part specification. The first part is removal of the eighteen categories. The second, at 45 CFR 164.514(b)(2)(ii), is that the covered entity must not have actual knowledge that the remaining information could be used alone or in combination with other information to identify an individual. OCR describes actual knowledge as clear and direct knowledge, and has said that a covered entity's mere awareness of published re-identification research does not by itself create it. What does create it is knowing something specific: that a case was widely reported, that a recipient would recognize a relative, or that the recipient holds a key to the fields you left in.

Can I keep the year of birth and the ZIP code?

You can keep the year, and you can keep the first three digits of the ZIP code if the area formed by combining all ZIP codes with those three digits holds more than 20,000 people. Prefixes covering 20,000 or fewer people must be changed to 000. OCR published a list of seventeen such prefixes derived from 2000 Census data and stated that entities should not rely on that listing once more current Census data has been published. Full five-digit ZIP codes, cities, counties, and precincts are all outside Safe Harbor, and so is any date element narrower than the year.

What is the difference between de-identified data and a limited data set?

A de-identified data set is not protected health information at all. Under 45 CFR 164.502(d)(2), the Privacy Rule's use and disclosure restrictions do not apply to it, and no agreement is required. A limited data set is still protected health information. It removes sixteen direct identifiers listed at 164.514(e)(2) rather than eighteen categories, which lets you keep full dates and geography down to the town, city, state, and ZIP code. In exchange, it may be used or disclosed only for research, public health, or health care operations, and only under a data use agreement that satisfies 164.514(e)(4). Calling a limited data set de-identified in a contract or a protocol is a common and costly mistake.

What does a data use agreement have to say?

45 CFR 164.514(e)(4) sets the required content. The agreement must establish the permitted uses and disclosures of the limited data set, identify who may use or receive it, and prohibit the recipient from using or further disclosing it except as the agreement permits or as law requires. It must require the recipient to use appropriate safeguards, to report any use or disclosure the agreement does not provide for once it becomes aware of it, to bind its own agents and subcontractors to the same restrictions, and not to identify the information or contact the individuals. If the covered entity learns of a pattern of activity that breaches the agreement, it has to act on it.

Is a hashed medical record number de-identified?

It depends on the derivation and on what travels with it. 45 CFR 164.514(c) permits a covered entity to assign a code for re-identification, but only when the code is not derived from or related to information about the individual, cannot otherwise be translated to identify them, is not used or disclosed for any other purpose, and the mechanism for re-identification is not disclosed. A hash of the medical record number is derived from information about the individual, so a hash whose method and salt travel with the data does not qualify. OCR's guidance does contemplate disclosing codes derived from protected health information as part of a de-identified data set through cryptographic hash functions, provided the keys associated with those functions are not disclosed to anyone, including the recipients. A randomly generated study code with the crosswalk held back is the cleaner path and does not depend on that nuance.

What is expert determination and when should I use it?

Expert determination is the other method at 45 CFR 164.514(b)(1). A person with appropriate knowledge of and experience with generally accepted statistical and scientific principles and methods for rendering information not individually identifiable applies those methods, determines that the risk is very small that an anticipated recipient could use the information alone or in combination with other reasonably available information to identify an individual, and documents the methods and results of the analysis. OCR has said there is no specific degree or certification that makes someone an expert, and no single numeric threshold that defines very small risk. Use it when the analysis needs fields Safe Harbor forbids, such as exact dates or five-digit ZIP codes, and when a limited data set does not fit because the recipient or the purpose falls outside the three permitted categories.

Does an expert determination expire?

The Privacy Rule does not set an expiration date, but OCR's guidance notes that experts may apply time-limited certifications, recognizing that technology, social conditions, and the availability of external data change over time. An expired certification does not retroactively invalidate data already disseminated under it. The practical approach is to treat a determination as describing a specific data set, a specific recipient, and a specific moment, and to re-run it when any of the three changes. That is also why the analysis has to be documented rather than concluded verbally: the documentation requirement is part of the method.

Do free-text notes count?

Yes, and they are where most Safe Harbor failures actually live. OCR's guidance is explicit that the de-identification standard makes no distinction between data entered into standardized fields and information entered as free text. A discharge summary that names a spouse, a nursing note with a phone number, a scanned fax header, and image metadata carrying a device serial and GPS coordinates all count. A pipeline that strips structured columns and leaves narrative fields untouched has not met the specification, no matter how clean the column list looks.

Do I need training if we only work with de-identified data?

The people producing the de-identified data are handling protected health information right up until the moment it is de-identified, so the ordinary workforce training obligations at 45 CFR 164.530(b) and the security awareness and training program at 164.308(a)(5) apply to them. There is a second, practical reason. The analysts and engineers building these extracts are the ones who decide whether the specification is actually met, and the failures in this area are almost never malicious. They are a last-four column, a lab date, a joined audit table with IP addresses, or a scanned attachment nobody opened. Training is what turns those into things people notice. Note that completing training proves named individuals received instruction on a date. It does not make an organization compliant, and no provider can certify that it is.

If the checker says the data is still protected health information, the people handling it need training. Start with HIPAA certification or plan a team rollout for everyone who touches PHI.

Train the people who build the extracts

De-identification is a decision your analysts make, usually without a lawyer in the room.

The Privacy Rule requires workforce training and the Security Rule requires a security awareness program. The people writing queries against PHI are inside both. Train them with a course that produces dated, verifiable certificates, and keep the records with the rest of your documentation.