K-Anonymity
K-anonymity is a privacy technique for releasing data about people in a way that makes it harder to single out any one individual by matching them against other available information. It works by ensuring that each person's combination of identifying-but-not-unique attributes is shared by at least a set number of other records in the dataset. The technique was introduced by Pierangela Samarati and Latanya Sweeney.
K-anonymity is a formal property of a dataset that constrains re-identifiability through quasi-identifiers, which are attributes that are not direct identifiers but can be linked with external information to isolate an individual. A dataset satisfies k-anonymity when every combination of quasi-identifier values appears in at least k records, so that any given record is indistinguishable from at least k-1 others on those attributes. In practice this is achieved by generalization, masking, and related transformations applied to quasi-identifiers, and it is often analyzed against re-identification threat models such as the prosecutor and journalist scenarios. Note that k-anonymity addresses quasi-identifier linkage and does not by itself defend against attribute disclosure attacks; achieving a k-anonymity property should not be treated as a guarantee that data ceases to be personal data, as re-identification risk depends on context, implementation, and the availability of auxiliary information. This entry defines the concept only and does not cover any specific regulatory treatment, the legal threshold for anonymization versus pseudonymization, or the choice of a value for k.
Why it matters
K-anonymity matters because much of the value in health, research, and analytics data comes from sharing or publishing it, yet doing so risks re-identifying the individuals described. Direct identifiers such as names can be removed, but combinations of seemingly innocuous attributes, known as quasi-identifiers, can still isolate a single person when matched against other available information. K-anonymity gives organizations a formal, measurable property to reason about that linkage risk rather than relying on the intuition that removing names is sufficient.
For practitioners, the technique is significant because it introduced a way to model re-identification threats systematically, including scenarios often described as the prosecutor and journalist cases. This framing helps teams evaluate a proposed data release against a defined adversary rather than an unspecified one. It also underpins tooling in de-identification pipelines that apply generalization and masking to quasi-identifiers.
At the same time, k-anonymity is frequently misunderstood as a guarantee that data is no longer personal or that all disclosure risk is eliminated. It is not. K-anonymity constrains quasi-identifier linkage but does not by itself defend against attribute disclosure attacks, and achieving the property does not mean data ceases to be personal data. Re-identification risk depends on context, implementation, and the availability of auxiliary information, so k-anonymity should be treated as one input to a risk assessment rather than a compliance conclusion.
Who it's relevant to
Inside K-Anonymity
Common questions
Answers to the questions practitioners most commonly ask about K-Anonymity.