De-identification is the process of removing, generalizing or transforming identifying information in a dataset so that individual records can no longer be readily associated with a specific person. In privacy engineering, it is the umbrella term for techniques that range from simple suppression of direct identifiers to statistically assessed release of data.
De-identification is a risk reduction measure, not a binary state. Its result can be pseudonymized data that remains personal data or, with sufficient transformation and controls, data that is effectively anonymous. Which outcome is reached depends on the data, the release context and the reasonably likely means of re-identification.
How de-identification reduces identifiability
De-identification reduces identifiability by treating different kinds of attributes differently. Direct identifiers such as names, account numbers or email addresses are removed or replaced, while quasi-identifiers such as birth date, postcode and sex are generalized, because their combination can single out a person.
A well-known study by Latanya Sweeney estimated that about 87 percent of the US population could be uniquely identified by five-digit ZIP code, sex and full date of birth. That finding explains why removing names alone is never sufficient.
The table below classifies attributes by their role in a de-identification project.
| Attribute type | Examples | Usual treatment |
|---|---|---|
| Direct identifier | Name, passport number, phone number | Remove or replace with a token |
| Quasi-identifier | Birth date, postcode, occupation | Generalize or suppress rare values |
| Sensitive attribute | Diagnosis, income, religion | Keep for analysis, protect against inference |
| Non-identifying attribute | Product category, device type | Usually retained unchanged |
Core techniques and what they trade off
Every de-identification technique trades data utility against disclosure risk. The standard ISO/IEC 20889 classifies these techniques and their properties, and practitioners usually combine several of them.
| Technique | How it works | Main trade-off |
|---|---|---|
| Suppression | Deletes values, records or columns | Simple, but loses data and can bias results |
| Generalization | Replaces precise values with ranges | Keeps patterns, reduces precision |
| Pseudonymization | Replaces identifiers with tokens or keyed hashes | Preserves linkage, remains reversible with the key |
| Data masking | Obscures characters or substitutes realistic values | Good for testing, weak for analytics |
| Perturbation | Adds noise or swaps values between records | Protects individuals, distorts small groups |
| Aggregation | Publishes counts or averages only | Strong protection, no record-level analysis |
Formal models give these techniques measurable targets. k-anonymity requires that each record be indistinguishable from at least k minus one others on its quasi-identifiers, while l-diversity and t-closeness add protection for sensitive attributes. Differential privacy goes further by bounding what any output can reveal about one person.
De-identification, pseudonymization and anonymization
De-identification is the broader process, while pseudonymization and anonymization describe possible legal outcomes. The distinction matters because data protection obligations attach to the outcome, not to the effort invested.
| Concept | Re-identification possible | Status under the GDPR |
|---|---|---|
| De-identified data | Depends on method and context | Personal or anonymous, case by case |
| Pseudonymized data | Yes, with additional information | Still personal data |
| Anonymized data | Not by reasonably likely means | Outside the scope of the GDPR |
| Aggregated statistics | Low, unless cells are very small | Usually anonymous |
In the United States, the HIPAA Privacy Rule recognizes two de-identification methods for health data: Safe Harbor, which removes 18 listed identifier types, and Expert Determination, in which a qualified expert concludes that the risk of identification is very small. NIST SP 800-188 offers comparable guidance for government datasets.
Choosing a de-identification approach
The right approach depends mainly on who receives the data and what they need to do with it. A dataset shared with a contracted researcher under strict controls can retain more detail than one published openly.
| Scenario | Recommended approach | Reason |
|---|---|---|
| Internal analytics team | Pseudonymization plus access control | Linkage needed, environment trusted |
| Software testing | Masking with synthetic substitutes | Realistic format, no real values required |
| External research partner | Generalization, k-anonymity, contract | Balances detail with legal safeguards |
| Open data publication | Aggregation or differential privacy | Recipients are unknown and unrestricted |
A sound process starts with a personal data inventory, classifies attributes, models plausible attackers and measures residual risk before release. Recording each decision supports a later privacy impact assessment and shows accountability.
Risk is usually expressed as the probability of re-identification per record or for the whole release. Practitioners in health data often apply thresholds between 0.05 and 0.2 for the maximum record risk, choosing the stricter value when the data is sensitive or the recipients are less controlled. These thresholds are conventions, not legal guarantees, and they should be justified in writing.
Limitations and re-identification risk
The main limitation of de-identification is that risk changes over time. New public datasets, better linkage tools and auxiliary knowledge can make a previously safe release identifiable.
- Linkage attacks: joining a released dataset with voter rolls or social media profiles can restore identities.
- High-dimensional data: location traces, browsing histories and genomic data are hard to de-identify because few points are unique.
- Weak hashing: unsalted hashes of phone numbers or emails can be reversed by enumeration.
- Small cells: rare combinations in tables can reveal individuals even after aggregation.
For these reasons, mature programs treat de-identification as ongoing risk management, with periodic reassessment, release agreements and monitoring for re-identification attempts.
A common mistake is to assume that a technique which worked for one dataset will work for the next. Each release has its own distribution of rare values, and the same generalization rules can leave very different residual risk. Another error is ignoring free-text fields, where clinicians or support agents often write names, dates and addresses that structured cleaning never touches.
A non-technical view
De-identification means scrubbing personal details out of data so that people can study it without knowing who is who. Names come out, exact birthdays become birth years, and full addresses become regions.
It is a bit like blurring faces in a crowd photo. Blurring helps, but someone wearing a very unusual coat might still be recognized. That is why experts keep checking whether the remaining details still point to someone.
A concrete example
A hospital network wants to share two years of emergency department records with a university team studying waiting times. The privacy engineer removes names, record numbers and phone numbers, replaces patient IDs with keyed pseudonyms, converts dates of birth to five-year age bands and truncates postcodes to the first three characters.
A risk analysis then shows that 214 records still form groups smaller than five, mostly rare diagnoses in rural areas. The engineer generalizes those diagnoses to broader categories and suppresses 31 records, reaching k-anonymity with k of 5. The data is released under a data use agreement that forbids linkage, and the researchers complete their waiting time analysis without any report of re-identification.