Key points
- There is no single legal definition of de-identification. HIPAA, the CCPA and the GDPR each use their own test and terms.
- HIPAA recognizes two methods: Safe Harbor (remove 18 identifier categories, with no actual knowledge of identifiability) and Expert Determination (a qualified person documents that the risk is very small).
- The GDPR treats pseudonymised data as personal data, and only truly anonymous data falls outside its principles.
- California prohibits reidentifying data that has met the statutory deidentification requirements, subject to exceptions.
- Pick the legal test first, then pick the technique and the tool.
Data de-identification is the process of altering a dataset so it can no longer be used to identify a person, judged against a legal test. Under HIPAA there are two accepted methods, Safe Harbor and Expert Determination. Under the GDPR, data only escapes the law if it is truly anonymous, and merely pseudonymised data stays regulated.
If you plan to license data to AI companies, the test you must meet depends on what kind of data you hold and where the people in it live. This guide walks through each test, then through a practical sequence for preparing a dataset.
Is there one legal definition of de-identification?
No. HIPAA, the CCPA and the GDPR each use their own test and their own vocabulary. A dataset that satisfies one regime has not automatically satisfied the others.
| Regime | Key term | What the test looks at |
|---|---|---|
| HIPAA | De-identification | Safe Harbor (18 identifier categories removed, no actual knowledge) or Expert Determination (documented "very small" risk) |
| CCPA | Deidentified | The statutory deidentification requirements, plus a ban on reidentification |
| GDPR | Anonymous vs. pseudonymised | Whether anyone can identify the person using means reasonably likely to be used |
Treat the table as a map, not a checklist. Your lawyer should read the actual text for your situation.
What are the two HIPAA de-identification methods?
HHS guidance identifies two methods that satisfy the HIPAA Privacy Rule's de-identification standard: Expert Determination and Safe Harbor. The guidance exists to help covered entities understand de-identification, the general process for creating de-identified information, and the available methods.
HIPAA applies to protected health information handled by covered entities and business associates. Whether you or your AI buyer is subject to HIPAA depends on your role and your data, so confirm that before choosing a method.
How does Safe Harbor work?
Safe Harbor has two parts, and you need both.
- Remove 18 specified identifier categories. The removal covers identifiers of the individual and of the individual's relatives, household members, and employers.
- Have no actual knowledge. The covered entity must not have actual knowledge that the remaining information could identify the individual.
The second part catches a common mistake. If you know a leftover field points to a specific person, stripping the 18 categories is not enough.
How does Expert Determination work?
Expert Determination puts a qualified person in charge of the judgment. That person must determine that the risk is very small that the information could be used, alone or with reasonably available information, to identify an individual.
The expert must also document the methods and results supporting that determination. When you license the data, that documentation is what you show a buyer who asks why your dataset counts as de-identified.
Can you keep a code to link records later?
Only in a narrow case. HIPAA permits a re-identification code only when it is not derived from information about the individual and is not otherwise translatable to identify the individual.
A code built from a name, birth date, or medical record number fails that rule. A randomly generated code that nobody can translate back can meet it.
What does the CCPA say about deidentified data?
The CCPA sets statutory deidentification requirements, and California law prohibits reidentifying or attempting to reidentify information that has met them, subject to statutory exceptions.
For a data seller, that ban matters in two places. Your own team must not try to reidentify the data, and your buyer contract should bar reidentification too. Our guide to the clauses in a data licensing agreement shows where that language usually sits.
The statute has more detail than this article covers, including how it defines deidentified information. Have counsel read that definition against your dataset.
What is the GDPR's version: anonymisation vs. pseudonymisation?
The GDPR draws a hard line. Its principles do not apply to anonymous information, or to personal data rendered anonymous so the data subject is no longer identifiable. That includes anonymous information used for statistical or research purposes.
Pseudonymisation is different. The GDPR defines it in Article 4(5) as processing personal data so it can no longer be attributed to a specific person without additional information. That additional information must be kept separately and protected by technical and organizational measures.
Under Recital 26, pseudonymised information remains information about an identifiable person when it can be attributed using additional information. In practice, pseudonymised data is still personal data.
The European Commission explains the distinction this way: properly anonymized data cannot be attributed to a specific person even with additional data, so it is non-personal data.
How do you judge whether data is anonymous?
Recital 26 assesses identifiability using all means reasonably likely to be used. It names costs, time, available technology, and technological developments.
That is a moving test. A dataset that looked anonymous when you built it can fail later if technology makes linking cheaper. The GDPR material you can cite here does not give a step-by-step risk method, so document your own reasoning.
How broad is "personal data"?
Broad. Article 4(1) covers information relating to an identified or identifiable natural person, including identification by an online identifier or location data. A table with no names can still be personal data if it carries device IDs or location trails.
What is the difference between de-identification and anonymization?
De-identification is the broader working term, and each law gives it its own meaning. Anonymization, in the GDPR sense, is the strictest outcome: nobody can attribute the data to a person, even with additional data.
- HIPAA accepts a dataset as de-identified under Safe Harbor or Expert Determination, using its own language.
- GDPR separates anonymous data (outside the law) from pseudonymised data (still personal data).
- CCPA uses "deidentified" and attaches a reidentification ban.
Do not assume that "de-identified" under HIPAA means "anonymous" under the GDPR. For more on the anonymization side, see data anonymization before you sell your data.
How do you de-identify a dataset before licensing it?
The legal sources give you tests, not a complete operating procedure. The sequence below applies those tests in a practical order.
- Identify which regimes apply. Health data held by a covered entity points to HIPAA. California consumer data points to the CCPA. Data about people in the EU points to the GDPR.
- Choose your standard. For HIPAA, pick Safe Harbor or Expert Determination. For the GDPR, decide whether you are aiming for anonymous data or only pseudonymised data.
- Transform the data to meet that standard. For Safe Harbor, remove the 18 identifier categories, including those tied to relatives, household members, and employers.
- Check what you still know. Safe Harbor fails if you have actual knowledge that the remaining data could identify someone.
- Test against reasonably available information. Both Expert Determination and the GDPR's Recital 26 ask about outside information and means reasonably likely to be used.
- Write it down. Expert Determination requires documented methods and results. Keep the same record for any regime.
- Separate any keys. If you keep a way back to individuals, store it apart and protect it. For HIPAA, any re-identification code must not be derived from the person's information or be translatable.
- Put the rules in the contract. Bar reidentification attempts, since California prohibits them for data that met its requirements.
Build protection in from the start. The GDPR requires data protection by design and default under Article 25(1), and Article 32(1)(a) lists pseudonymisation and encryption among measures appropriate to risk.
If your data comes from patients, also read our piece on whether providers need consent to license de-identified data.
Which techniques count: masking, aggregation, and others?
Teams often use masking, aggregation, generalization, suppression, perturbation, and synthetic data. None of these names is a legal standard.
The law asks about the result. HIPAA asks whether a qualified person finds a very small risk or whether Safe Harbor is met. The GDPR asks whether means reasonably likely to be used could identify someone.
So a technique works only if the output passes your chosen test. Do not tell a buyer a technique is "compliant" in general. Say which test the dataset meets and show the record.
How should you pick de-identification software for AI datasets?
This article does not rank tools, and you should not rely on a vendor's own compliance claim. Check each vendor's current documentation, pricing, and contract terms yourself, since they change.
Instead, score each tool against the legal tests above:
- Can it remove all 18 Safe Harbor identifier categories, including those about relatives, household members, and employers?
- Does it produce records an expert can use to document methods and results?
- Can it keep pseudonymisation keys or re-identification codes separate, and not derive codes from personal information?
- Does it let you test against reasonably available outside information?
If you plan to sell through a marketplace, check what the venue asks of you. Our AI data marketplace guide compares nine of them, and AI data licensing: how the deals and terms work covers the contract side.
What do de-identified datasets look like in practice?
Think in terms of the legal outcome, not a product label.
- A HIPAA dataset becomes de-identified under Safe Harbor when the 18 categories are gone and you have no actual knowledge of remaining identifiability.
- A HIPAA dataset becomes de-identified under Expert Determination when a qualified person documents a very small risk.
- A GDPR dataset is out of scope when it is anonymous. It stays in scope when you only pseudonymised it.
This is general information, not legal advice, and a lawyer should read the rules against your specific data and buyer.
What should you do next?
Write down which regime applies, which test you are using, and who signed off. Then run the sequence above and keep the record with the dataset. If you hold records for audit later, see how publishers audit AI models to verify data deletion.
Common questions
What is the difference between data de-identification vs anonymization?
De-identification is a broad term whose meaning depends on the law, such as HIPAA's two methods or California's statutory requirements. Anonymization in the GDPR sense means data cannot be attributed to a person even with additional data, which puts it outside the GDPR's principles. Pseudonymised data is not anonymous and stays personal data.
What are the two types of de-identification methods?
HIPAA recognizes Safe Harbor and Expert Determination. Safe Harbor removes 18 specified identifier categories and requires no actual knowledge that the remaining data could identify someone. Expert Determination relies on a qualified person who finds a very small identification risk and documents the methods and results.
How do you deidentify patient data?
Choose Safe Harbor or Expert Determination. For Safe Harbor, remove the 18 identifier categories, including those about relatives, household members, and employers, and confirm you have no actual knowledge of remaining identifiability. For Expert Determination, have a qualified person assess the risk and document the work. Confirm with a lawyer whether HIPAA applies to you.
What are examples of de-identified data?
A health dataset with the 18 Safe Harbor identifier categories removed and no actual knowledge of identifiability is one example. So is a dataset an expert has documented as carrying a very small identification risk. Under the GDPR, data rendered anonymous so the person is no longer identifiable is outside its principles.
What data de-identification tools and software are best for AI datasets?
No tool is best in every case, and you should check each vendor's current documentation and terms yourself. Judge a tool by whether it helps you meet your chosen legal test, supports documented methods and results, and keeps pseudonymisation keys or re-identification codes separate and protected.
Sources
- U.S. Department of Health and Human Services, Guidance Regarding Methods for De-identification of Protected Health Information
- California Privacy Protection Agency, California Consumer Privacy Act statute
- EUR-Lex, Regulation (EU) 2016/679, GDPR
- EUR-Lex, European Commission document on data protection rules
- EUR-Lex, Regulation (EU) 2016/679, Article 4(5)
Checked when this guide was written. Laws, prices and terms change, so confirm on each page. General information, not legal advice.
