Author-reviewedEvidence: highv1.0.2

Anonymization

Anonymization is processing personal health data so no one is identifiable by means reasonably likely to be used, taking it outside data protection law.

Status
Published, version 1.0.2
Last reviewed
10 Oct 2026, by Dr Darrin Baines
Report a problem
Tell us if something is wrong or out of date

Concept Architecture

Anonymization of Health Data and the Cost of Lost Detail

Anonymisation turns patient-level health records into information from which nobody can reasonably be identified, so that data protection law no longer applies to the result. Because it is a judgement about risk in context, the same extract can be anonymous for one recipient and personal data for another. For health economists it decides whether routine cost and outcome data can be released or must stay in a controlled environment, and every technique that lowers risk also removes detail. As of October 2026, the legal tests described are those in force.

Anonymisation, pseudonymisation and de-identification

The three terms are often confused, but in law they have different consequences. The UK GDPR defines personal data as information relating to an identified or identifiable natural person, and recital 26 places anonymous information, including personal data rendered anonymous so that the data subject is no longer identifiable, outside its scope.

Pseudonymisation, defined in Article 4(1)(5), means processing personal data so that they can no longer be attributed to a specific person without additional information kept separately and protected. Recital 26 treats such data as information on an identifiable person, so they remain personal data for anyone able to re-attribute them. The Information Commissioner's Office (ICO) contrasts the two and warns that datasets are often called "anonymised" when they are only pseudonymised.

"De-identification" has no general definition in UK law, and the ICO discourages its use as a synonym for either term. Section 171 of the Data Protection Act 2018 makes it an offence knowingly or recklessly to re-identify de-identified personal data without the consent of the controller that de-identified them. In the United States the word has a specific meaning under the HIPAA Privacy Rule, set out below.

The legal test of means reasonably likely to be used

Under recital 26, identifiability is judged by all the means reasonably likely to be used, such as singling out, by the controller or by another person.

The ICO's anonymisation guidance (28 March 2025) treats identifiability as a spectrum, under which data are effectively anonymised when the risk of identification is sufficiently remote, and risk need not be reduced to zero. It asks the "whose hands" question, because data may be personal for the organisation holding the key and anonymous for a recipient without it. Its motivated intruder test asks whether a reasonably competent person using resources such as the internet and public documents would be likely to identify someone. Public release needs most caution, as published data are almost impossible to retract. The guidance is marked as under review following the Data (Use and Access) Act 2025.

Section 67 of the Act, in force from 5 February 2026, renumbered Article 4 and added to the UK GDPR a meaning of scientific research and a rule that statistical purposes cover processing whose result is aggregate data that is not personal data. The Article 4(1) definitions of personal data and pseudonymisation are unchanged, so the recital 26 test still governs.

In the EU, the European Data Protection Board (EDPB) adopted draft Guidelines 02/2026 on Anonymisation (version 1.0, 7 July 2026) for consultation until 30 October 2026. The draft updates the 2014 Article 29 Working Party opinion, assesses anonymity from the perspective of each relevant entity, citing the Court of Justice in EDPS v SRB (C-413/23 P), and applies three criteria, namely No Record Isolation, No Linkage and No Inference.

In the US, 45 CFR 164.514 offers two routes to de-identified health information. Under expert determination, a qualified person finds and documents that the risk is very small that an anticipated recipient could identify an individual. Under safe harbor, 18 types of identifier are removed, including date elements other than year and geographic units smaller than a state (with a limited exception for three-digit ZIP codes), ages over 89 are grouped as 90 or older, and the covered entity has no actual knowledge that the rest could identify someone. A re-identification code may be kept if it is not derived from information about the person and is not used or disclosed for any other purpose.

Techniques of suppression, generalisation, noise and synthetic data

The ICO describes two main families. Generalisation reduces precision, for example replacing exact age with age bands; randomisation adds uncertainty through noise addition, permutation or synthetic data. Masking, which deletes or suppresses values or records, is not considered an anonymisation technique on its own.

k-anonymity, set out as a formal model by Sweeney, measures what generalisation and suppression achieve. A release satisfies it when every combination of quasi-identifier values occurs at least kk times, as follows.

nq≥kfor every combination qn_q \geq k \quad \text{for every combination } q

where nqn_q is the number of records sharing combination qq of quasi-identifiers (such as age band and sex) and kk is the threshold. The ICO notes that the NHS standard for publishing health and social care data sets kk to five for strong anonymisation, and that k-anonymity is weak for data with many variables and open to homogeneity and background knowledge attacks, in which knowing that a person is in a group reveals an attribute such as a health condition.

Differential privacy is a formal guarantee about an algorithm. A randomised mechanism MM is (ε,δ)(\varepsilon, \delta)-differentially private if, for any two databases xx and yy differing in at most one record and any set of outputs SS,

Pr⁡[M(x)∈S]≤eεPr⁡[M(y)∈S]+δ\Pr[M(x) \in S] \leq e^{\varepsilon} \Pr[M(y) \in S] + \delta

where ε\varepsilon bounds how much one record can change the output distribution and δ\delta is a small allowance for exceeding that bound. The Laplace mechanism adds noise with scale Δf/ε\Delta f / \varepsilon, where Δf\Delta f is the most one record can change the statistic. The ICO treats differential privacy as a way to decide how much noise to add rather than as an anonymisation technique in itself. Synthetic data generate new records with the statistical properties of the original, but the EDPB draft warns that inferences about individuals can still be drawn from them.

What the re-identification evidence shows

Sweeney described how the Massachusetts Group Insurance Commission gave researchers, and sold to industry, encounter-level data on about 135,000 state employees and their families, believing them anonymous. Linking ZIP code, birth date and sex to a voter list bought for twenty dollars identified the governor's records, and an earlier analysis of 1990 census data found 87% of the US population likely to be unique on those three fields.

Rocher, Hendrickx and de Montjoye estimated that 99.98% of Americans would be correctly re-identified in any dataset using 15 demographic attributes, and that releasing only a sample does not protect against this. A systematic review by El Emam and colleagues is more mixed. Across 14 attacks roughly a quarter of records were re-identified, but the one attack on health data de-identified to an existing standard re-identified 0.013% of records, and the authors judged the evidence insufficient to assess standards-based methods.

Why anonymisation shapes health economic evidence

Real-world data supply much of the input to economic evaluation. The NICE real-world evidence framework (ECD9, 2022) lists resource use and costs among common data types, notes that sources can be linked or pooled, and cites an appraisal (benralizumab for severe eosinophilic asthma) that estimated economic burden from primary care electronic health record data linked to hospital episode data. Linked administrative data need a shared identifier, so research extracts are usually pseudonymised, not anonymous.

Department of Health and Social Care guidelines (2022) implement the commitment to make secure data environments the default way to access NHS health and social care data for research and analysis. Approved users analyse data that do not leave the environment, de-identified to a level that varies with the user's role, and outputs must be aggregated, non-identifiable results checked before release. NICE ECD9 lists them among ways to build trust in real-world evidence. Anonymisation therefore moves from input to output. The analyst works with pseudonymised records, and what leaves must be anonymous.

Worked example of k-anonymity and the cost of the oldest patients

The numbers in this example are illustrative. A trust plans to release annual care costs for 40 patients to an outside modeller, with age band and sex as quasi-identifiers and kk set to five. The extract holds 12 women and 10 men aged 65 to 74 (mean cost GBP 4,000 and GBP 5,000), 9 women and 6 men aged 75 to 84 (GBP 6,000 and GBP 7,000), and 2 women and 1 man aged 85 and over (GBP 15,000 and GBP 18,000).

1. The true mean. Total cost is 48,000 + 50,000 + 54,000 + 42,000 + 30,000 + 18,000 = 242,000, so

cˉ=24200040=6050\bar{c} = \frac{242000}{40} = 6050

where cˉ\bar{c} is the mean annual cost per patient in GBP.

2. Suppression. The two groups aged 85 and over (3 records, GBP 48,000) fail k=5k = 5. Dropping them gives

cˉs=242000−4800040−3=19400037=5243.24\bar{c}_{s} = \frac{242000 - 48000}{40 - 3} = \frac{194000}{37} = 5243.24

where cˉs\bar{c}_{s} is the mean after suppression. The estimate falls by GBP 806.76, or 13.3%, because the suppressed records were the most expensive. The missing data depend on age band, and with no records left aged 85 and over there is nothing from which to impute their costs.

3. Generalisation. Merging the two oldest bands into "75 and over" gives classes of 11 women (GBP 84,000 / 11 = GBP 7,636) and 7 men (GBP 60,000 / 7 = GBP 8,571). The overall mean stays at GBP 6,050, but the cost for people aged 85 and over (GBP 48,000 / 3 = GBP 16,000) can no longer be estimated; the nearest figure, for all patients aged 75 and over, is GBP 144,000 / 18 = GBP 8,000.

4. The decision consequence. A falls service for people aged 85 and over costs GBP 1,200 per person and is assumed to cut annual care costs by 10%. With the true subgroup cost,

ΔC=1200−0.10×16000=−400\Delta C = 1200 - 0.10 \times 16000 = -400

where ΔC\Delta C is programme cost minus costs avoided per person, in GBP, so the service saves money. With the generalised figure, 1,200 minus 0.10 × 8,000 gives GBP 400, a net cost. One version biases the mean; the other hides the subgroup analysis the decision needed.

Choosing between privacy and analytic value

Health care costs are right-skewed, and the rare, high-cost patients who drive the mean are also the easiest to single out, so suppression can bias costs downwards and generalisation flattens the skewness and heterogeneity models need. Zero-mean noise leaves a released total unbiased but adds variance that belongs in parameter uncertainty. Dwork and Roth state the underlying limit, that overly accurate answers to too many questions will eventually destroy privacy.

The release model, the quasi-identifiers and threshold, and the technique chosen all change the result. A cost-effectiveness analysis built on anonymised outputs should report the disclosure controls applied and test in sensitivity analysis whether suppressed or merged groups could change the decision.

Common misreadings of anonymised health data

Several errors recur in economic and policy work. Each treats a technical step as a legal status.

  1. Removing names makes data anonymous. Data with a retained key or rich quasi-identifiers are usually pseudonymised personal data.
  2. HIPAA de-identified data are anonymous in the UK. UK and EU law apply the reasonably likely means test from each holder's perspective, not the HIPAA routes.
  3. Anonymous once, anonymous for ever. Recital 26 refers to technological developments, and the ICO expects assessments to be reviewed, for example when new datasets are released.

Sources

Institutional Perspectives (1)

  • EMA

    Clinical Reports Anonymised to a Re-identification Risk Threshold of 0.09

    Under its clinical data publication policy, EMA treats clinical reports as pseudonymised data that companies must render anonymous before publication, so that participants can no longer be identified by any means reasonably likely to be used by the controller or a third party. EMA advises a conservative re-identification risk threshold of 0.09, letting companies justify a different value, and favours quantitative measurement of risk. Anonymisation should maximise data utility while protecting the privacy of trial participants.

    European Medicines Agency, External guidance on the implementation of the European Medicines Agency policy on the publication of clinical data for medicinal products for human use (EMA/90915/2016, version 1.5, 14 May 2025), sections 3.4.2, 3.4.3, 3.5.2 and 3.5.4View source →

Library

Publications

11
  • Journal article

    k-anonymity: a model for protecting privacy — Sweeney L, Vol. 10, No. 5, pp. 557-570 ed., 2002 (International Journal of Uncertainty, Fuzziness and Knowledge-Based Systems)

    Paper setting out k-anonymity as a formal model for protecting privacy in released data, cited for requiring each combination of quasi-identifier values to appear at least k times, for Massachusetts insurance data re-identified by linking ZIP code, birth date and sex to a voter list, and for 87% of the US population likely being unique on those attributes.

  • Guidance

    Guidelines 02/2026 on Anonymisation — European Data Protection Board, Version 1.0, adopted 7 July 2026 for public consultation ed., 2026 (European Data Protection Board)

    Draft European Data Protection Board guidelines on anonymisation, open for feedback until 30 October 2026, cited for updating the 2014 Article 29 Working Party opinion, assessing anonymity from each relevant entity's perspective, testing anonymity by no record isolation, no linkage and no inference, and warning that inferences can still be drawn from synthetic data.

  • Journal article

    The algorithmic foundations of differential privacy — Dwork C, Roth A, Vol. 9, No. 3-4, pp. 211-407 ed., 2014 (Foundations and Trends in Theoretical Computer Science)

    Monograph on the algorithmic foundations of differential privacy, cited for the definition of epsilon-delta differential privacy over databases differing in one record, the Laplace mechanism with noise scaled to sensitivity divided by epsilon, and the Fundamental Law of Information Recovery, under which overly accurate answers to too many questions will destroy privacy.

  • Journal article

    A systematic review of re-identification attacks on health data — El Emam K, Jonker E, Arbuckle L, Malin B, Vol. 6, No. 12, Article e28071 ed., 2011 (PLoS ONE)

    Systematic review of re-identification attacks on health and other data, cited for 14 distinct attacks that re-identified about a quarter of records on average, only one of them on health data de-identified by standards-based methods, where 0.013% of records were re-identified, and for judging the evidence insufficient to assess de-identification methods.

  • Other

    45 CFR 164.514: Other requirements relating to uses and disclosures of protected health information — US Department of Health and Human Services, eCFR text as of 1 October 2026 ed., 2026 (Electronic Code of Federal Regulations)

    HIPAA Privacy Rule section on de-identification of protected health information, cited for the expert determination route requiring a documented finding that the risk of identification is very small, the safe harbor removal of 18 identifier types with limits on dates, geography and ages over 89, and the conditions for a re-identification code.

  • Journal article

    Estimating the success of re-identifications in incomplete datasets using generative models — Rocher L, Hendrickx JM, de Montjoye YA, Vol. 10, Article 3069 ed., 2019 (Nature Communications)

    Study using generative models to estimate the success of re-identification in incomplete datasets, cited for finding that 99.98% of Americans would be correctly re-identified in any dataset using 15 demographic attributes, and for rejecting the claim that sampling or releasing partial datasets provides plausible deniability.

  • Other

    Data (Use and Access) Act 2025, section 67 — UK Parliament, Section 67, enacted text; commenced 5 February 2026 by SI 2026/82 ed., 2025 (legislation.gov.uk)

    UK statute amending the UK GDPR, cited for section 67, in force from 5 February 2026, which adds meanings of processing for scientific research purposes and for statistical purposes, the latter covering statistical surveys or results where the information that results is aggregate data that is not personal data.

  • Other

    Data Protection Act 2018, section 171 — UK Parliament, Section 171, revised version up to date to 3 October 2026 ed., 2018 (legislation.gov.uk)

    UK data protection statute, cited for section 171, which makes it an offence for a person knowingly or recklessly to re-identify de-identified personal data without the consent of the controller responsible for de-identifying it, in the article's account of the legal status of pseudonymised and de-identified data.

  • Guidance

    Anonymisation — Information Commissioner's Office, Published 28 March 2025; marked under review after the Data (Use and Access) Act 2025 ed., 2025 (Information Commissioner's Office)

    UK Information Commissioner's Office guidance on anonymisation and pseudonymisation, cited for identifiability as a spectrum with data effectively anonymised when the risk is sufficiently remote, the whose hands and motivated intruder tests, generalisation and randomisation techniques, the NHS standard setting k to five, and the guidance being under review after the 2025 Act.

  • Guidance

    Secure data environment for NHS health and social care data: policy guidelines — Department of Health and Social Care, First published 6 September 2022, updated 23 December 2022 ed., 2022 (GOV.UK)

    Department of Health and Social Care policy guidelines on secure data environments for NHS health and social care data, cited for making them the default way to access the data for research and analysis, keeping data inside the environment, varying de-identification by user role and releasing only checked, aggregated and non-identifiable results.

  • Other

    UK GDPR (Regulation (EU) 2016/679 as retained and amended), Article 4 and recital 26 — European Parliament and Council of the European Union, Article 4 and recital 26, revised version as at 4 October 2026 ed., 2016 (legislation.gov.uk)

    UK General Data Protection Regulation, cited for the Article 4 definitions of personal data and pseudonymisation and for recital 26, which places anonymous information outside data protection, treats pseudonymised data as personal data and judges identifiability by all means reasonably likely to be used, such as singling out, with regard to cost, time and available technology.

Frequently Asked Questions (6)

  • What is anonymization?

    Anonymization is processing personal health data so no one is identifiable by means reasonably likely to be used, taking it outside data protection law.

    Source: ICO 2025

  • What does anonymization strip from a dataset, and how permanently?

    Anonymization strips identifying information from a dataset so thoroughly that individuals can no longer be identified, even indirectly, and it does so permanently. Unlike de-identification, which can be reversed by relinking to a key, true anonymization leaves no route back to the person, so the data are no longer personal in the legal sense. This lets health data be shared or published for research with far less privacy risk. Removing identity beyond recovery is what it does. The HHS HIPAA Privacy Rule frames these standards.

    Source: HHS, HIPAA Privacy Rule

  • What does anonymization do?

    Anonymization removes identifying information from a dataset so that individuals can no longer be identified, even indirectly, so the data cannot be linked back to the people it describes. So anonymization removes identifiability, which is why it protects privacy, since taking away the information that could identify individuals, even indirectly, means the data no longer reveals who it concerns, and anonymization thereby makes the dataset non-identifiable, protecting the individuals whose data it contains.

    Source: HHS, HIPAA Privacy Rule

  • How does anonymization differ from de-identification?

    Anonymization differs from de-identification in that anonymization removes identifying information so individuals can no longer be identified even indirectly, and is not reversible, while de-identification may be reversible or leave some indirect identifiability. So anonymization is more complete and irreversible than de-identification, which is why they are distinguished, since anonymization aims to prevent identification even indirectly and permanently whereas de-identification removes specified identifiers but may be reversible, and this difference in completeness and reversibility separates anonymization from de-identification.

    Source: HHS, HIPAA Privacy Rule

  • Why is anonymization used?

    Anonymization is used to protect individuals' privacy by making a dataset non-identifiable, so the data can be used or shared without revealing who it concerns. So anonymization is used to protect privacy while enabling data use, which is why it removes identifiability, since making data non-identifiable allows it to be used or shared without exposing individuals, and using anonymization protects privacy by ensuring the data cannot be linked to individuals, supporting the use of data in a way that safeguards the people it describes.

    Source: HHS, HIPAA Privacy Rule

  • Why is anonymization important for health data?

    Anonymization is important for health data because health information is sensitive, so making it non-identifiable protects patients' privacy while allowing the data to be used, for example in research, without revealing individuals. So anonymization matters for protecting sensitive health data, which is why it is used, since health data is private and its use must safeguard patients, and anonymization allows health data to be used or shared without identifying individuals, protecting patient privacy while enabling beneficial uses of the data.

    Source: HHS, HIPAA Privacy Rule

Trust Record

Verified by Dr Darrin Baines

British health economist

Professional identity: darrinbaines.org

Verification date: 10 Oct 2026

Content version: 1.0.2

Canonical Identity

Term code
HS-HP-DH-003
Wikidata
Q17006654

Stable URI · Machine-readable · Resolvable · CC BY 4.0

This article is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).

Author: Dr Darrin Baines · Publisher: Intelligent Parameters Ltd · Identifier: https://healtheconomics.wiki/concept/anonymization