Pseudonymization in genomics means replacing the direct identifiers attached to a genomic record, such as name, medical record number or date of birth, with a code, and keeping the key that links the code back to the person separately under strict controls. It lowers risk and lets your lab keep records linkable for clinical work and research, but it does not make genetic data anonymous. Under the GDPR pseudonymized data remains personal data, and under HIPAA a coded dataset qualifies as de-identified only if it meets the Safe Harbor or expert determination standard. This guide explains the definitions, the rules in both regimes, the methods that work for sequence data, and the limits your team should plan around.
TL;DR
- Pseudonymization swaps identifiers for a code and stores the re-linking key separately; the data stay personal data under the GDPR.
- Anonymization is irreversible and is a different legal status. De-identification under HIPAA is its own test: remove the 18 identifiers or obtain a qualified expert's determination.
- Genomic data resist full de-identification because variation is distinctive: even a small set of highly variable loci can produce unique records.
- Treat re-identification risk case by case, separate the key from the data, never derive codes from personal details, and document each decision.
- Build pseudonymization into your reporting pipeline so every report, audit trail and EHR message follows the same rules.
Table of Contents
- What pseudonymization means for genomic data
- Pseudonymization, anonymization, de-identification and tokenization
- What the GDPR requires
- What HIPAA requires
- Methods that work for genomic and pharmacogenomic data
- Residual risk: what pseudonymization does not solve
- A workable lab checklist
- Where pseudonymization sits in a pharmacogenomic reporting workflow
- Our perspective
- How SignalPGx supports this in practice
- FAQ
- Sources
What pseudonymization means for genomic data
The GDPR gives the formal definition in Article 4(5): processing personal data so that they can no longer be attributed to a specific person without additional information, provided that additional information is kept separately and protected by technical and organizational measures. A 2019 analysis of re-identifiability and the GDPR summarizes this definition and stresses that pseudonymized data remain personal data.
In practical terms, pseudonymization replaces a person's actual name with a different code or identifier, which makes it harder to identify specific individuals. The word that matters is harder. The person is not gone from the dataset. Anyone who holds the key, or who can link the record to another data source, can still find them.
For a laboratory this has a clear operational meaning. You hold three things: the genomic or genotype data, the clinical context (medications, diagnoses, indication), and the identity of the patient. Pseudonymization separates the third from the first two, so that the analytical and reporting work can happen on coded records while the identity layer sits behind its own access controls.
Why genomic data are a special case
A name in a spreadsheet is an identifier you can delete. A genome is an identifier you cannot. Genetic variation is not randomly distributed, and the 2024 review Assessing Privacy Vulnerabilities in Genetic Data Sets notes that even a small dataset with 30 highly variable loci is likely to contain unique records and may reveal sensitive attributes. The same review observes that k-anonymity, a standard technique for tabular data, can be difficult to apply to genetic data.
That is why a pseudonym on a genomic file is a safeguard and not a guarantee. The sequence itself carries information that can be matched against other data, and relatives share part of it too.
Pseudonymization, anonymization, de-identification and tokenization
Readers searching this topic use several terms interchangeably. They are not interchangeable in a compliance review.
| Term | What it does | Reversible? | Legal status of the result |
|---|---|---|---|
| Pseudonymization | Replaces identifiers with a code; the key is stored separately | Yes, with the key | Personal data under the GDPR |
| Anonymization | Permanently deletes identifying information, or replaces it with an institution-level unique identifier, so individuals cannot be recognized | No | Outside GDPR scope only if re-identification is not reasonably possible |
| HIPAA de-identification | Removes the 18 specified identifiers (Safe Harbor) or relies on an expert's determination | Depends on method | No longer protected health information when the standard is met |
| Tokenization | Replaces a value with a generated token, often cryptographic, mapped in a secure vault | Yes, via the vault | A form of pseudonymization |
The distinction between pseudonymization and anonymization is drawn in the 2024 South Korean policy study on genomic data sharing: anonymization involves permanently deleting personally identifiable genetic information, or replacing it with an institution-level unique identifier, so that individuals cannot be recognized. Pseudonymization keeps a path back.
Tokenization is best understood as one way of doing pseudonymization. A token is a generated stand-in for a value, and whoever controls the token map can reverse it. It is a mechanism; pseudonymization is the legal and privacy concept that mechanism serves.
What the GDPR requires
If you process data of people in the European Union, genetic data are a special category under Article 9, which means you need a lawful basis and an additional condition to process them. Pseudonymization does not take you out of that framework. SciLifeLab's research data guidelines explain that pseudonymized data remain personal data because a person may still be identified indirectly, including through other data that are not public.
What pseudonymization does give you is a recognized safeguard. It supports data protection by design, reduces the impact of a breach, and strengthens your position in a data protection impact assessment. Our guides on GDPR genetic data rules for labs and the DPIA questions DPOs must answer for genetic data cover the legal basis, the assessment and the documentation in more detail.
The risk-based view is worth knowing as well. According to the 2024 review cited above, several jurisdictions consider genetic data anonymous when the risk of successful re-identification falls below a predefined acceptable threshold. That is not a universal rule, so confirm the standard that applies where your patients live and where your data travel.
What HIPAA requires
In the United States, the question is different. HIPAA does not use the word pseudonymization as a legal category. It asks whether data are de-identified. According to HHS guidance on de-identification, a covered entity must either remove the 18 specified identifiers under the Safe Harbor method or obtain a determination from a qualified expert. Safe Harbor also requires that the entity have no actual knowledge that the remaining information could identify an individual.
Two consequences follow for genomic work:
- A code is allowed, but it must be clean. The UCSF IRB guidance on de-identification of research data states that a code used for pseudonymization must not be derived from or related to information about the individual, such as date of birth or initials. A code built from initials plus a birth year fails.
- Safe Harbor is hard to certify for sequence data. The 18 identifiers include biometric identifiers and any other unique identifying characteristic or code. A full genome sequence is a plausible candidate for that last category, and the "no actual knowledge" condition leaves room for doubt on rich datasets. Many programs therefore use expert determination for genomic datasets, or keep the data as a limited dataset under a data use agreement.
A plain-language summary of identifier removal and expert determination is also available in this HIPAA privacy checklist for U.S. patients, which is useful when you explain to patient-facing staff why a coded record is still handled as protected information.
Where your lab acts as a business associate, contract terms matter as much as technique. We cover what to require in a HIPAA business associate agreement for genomics, and how to handle an incident in HIPAA breach notification requirements.
Methods that work for genomic and pharmacogenomic data
Separate the identity layer from the data
The most common pattern is a coded identifier with a separate linkage table. The UK's National Genomic Research Library is a public example: it replaces names and other identifying information with an individual reference number, and approved researchers reach the data in a controlled, read-only secure environment. The lesson for a lab is that the code is only half the control. The access environment is the other half.
Mask the sequence, not only the metadata
Some methods act on the genomic file itself. One published approach masks personal SNV alleles within genomic alignments while preserving the alignment data. It is reversible, and access to specific genomic regions can be shared with authorized users. The authors suggest the concepts may find application in future medical and laboratory information management systems. This is research-stage work, but it shows the direction: share only the regions a reader needs.
Build codes that carry no meaning
- Generate codes randomly or with a keyed cryptographic function, never from names, dates or record numbers.
- Use a different code per project or recipient when you want to prevent datasets from being joined.
- Keep the same stable code within one patient's longitudinal record when linkage is clinically required, for example when a pharmacogenomic result must be matched with later medication changes.
Control the key
The key is the most sensitive object in the design. Store it apart from the data, restrict it to named roles, log every access, and encrypt it. The UCSF guidance recommends destroying any key that links pseudonyms to identities at the earliest opportunity, which is the right default for research datasets that no longer need linkage. Clinical records are different, because the patient must be reachable for results. Our notes on encryption methods that fit a genomics pipeline and cloud security for genomics address where the key and the data should live.
Decide how long to keep it
Retention is part of pseudonymization, because a key that never expires keeps the dataset personal forever. Set the retention for raw files, coded files and linkage tables before sequencing begins. We walk through that planning in five steps lab stewards can take on genomic data retention.
Residual risk: what pseudonymization does not solve
Be explicit with your quality and privacy teams about the following.
- Linkage. Pseudonymized or masked genetic data may still be re-identified when linked with other data. The 2024 review states that privacy-enhancing technologies, including genomic beacons and synthetic data, may not eliminate privacy risk, and recommends assessing risk case by case.
- Uniqueness. As noted above, a handful of highly variable loci can single out a record.
- Small cohorts. A rare variant in a small population, or a rare medication combination in a single clinic, can identify a patient even without a name.
- Family information. A genotype says something about relatives who never consented.
- Free text. Clinical notes and indications attached to a genotype often hold names, dates and locations. Scrub them as carefully as the structured fields.
The practical response is a documented assessment per dataset: what content it holds, who will receive it, what other data they could plausibly link, and what controls apply. Re-run the assessment when the recipient or the purpose changes.
A workable lab checklist
- Map the data. List every system where genotype, medication history and identity appear together, including LIS, bioinformatics storage, reporting and EHR interfaces.
- Choose the standard per use. Clinical reporting keeps identity and is protected as PHI. Research sharing needs a de-identification route, such as Safe Harbor, expert determination, a limited dataset or GDPR-grade pseudonymization with safeguards.
- Generate clean codes. No initials, dates or record numbers inside them.
- Isolate the key. Separate storage, separate access, full logging.
- Minimize what leaves. Send the genes, regions or results the recipient needs, not the whole file.
- Paper the decision. Record the method, the risk assessment, the recipient terms and the retention period.
- Test re-identification. Attempt to link a sample of the shared records to external data before release.
- Review on change. New recipients, new data types and new guidance all trigger a fresh look.
Where pseudonymization sits in a pharmacogenomic reporting workflow
Pharmacogenomic reports sit at an awkward intersection. The clinical use needs the patient's identity, since the report goes to a prescriber and a chart. Yet the supporting work, such as evidence lookup, reanalysis, quality review and aggregate analytics, does not. A well-designed workflow lets the reporting engine operate on coded genotype and medication records, and attaches identity only at the point of delivery to the physician or patient.
That pattern also helps with interfaces. When reports flow into an EHR, the identifiers in the message must match the chart, while logs and test environments should carry only coded data. Our guides on mapping one gene-drug pair in FHIR first and a profile-first FHIR DocumentReference for genomics show how to keep those messages narrow. If you pursue accreditation, the controls described here also support the documentation expectations covered in our ISO 15189 guide for genomics labs.
Our perspective
We build reporting infrastructure for laboratories, and the pattern we see most often is that privacy is treated as a data-sharing problem and not as a reporting problem. The lab pseudonymizes an export for a research partner, yet the report generator, the audit log and the staging environment all carry full identity. That is where exposure usually happens.

Our view is simple. Identity should be a late-bound attribute. The evidence engine, the medication simulation and the reanalysis jobs have no need to know who the patient is, and a platform should be designed so they never do. When guidelines change and a living reanalysis flags a patient, the system can raise the flag against a code, and only the authorized medical director's workflow resolves it to a person for review and notification. The medical director stays in control of sign-out, and the audit trail shows who resolved which code and when.
We also hold a firm line on language. Please do not tell a patient, a partner or a regulator that coded genomic data are anonymous. Say what is true: the data are pseudonymized, the key is controlled, and the residual risk has been assessed. That statement is more defensible and, in our experience, builds more trust than an overstated promise.
— Tarek
How SignalPGx supports this in practice
SignalPGx is pharmacogenomics reporting software for laboratories. It generates evidence-graded, physician-reviewed reports from genotype and medication data, integrates with EHRs through HL7/FHIR, keeps a medical-director review and audit trail, and is built around HIPAA and GDPR compliance. Labs deploy it white-label under their own brand. If you want to see how your identity layer, key handling and report delivery would fit together, the White-Label PGx Reporting page describes the Pilot, Standard, Scale and Enterprise plans. For scoped project work, Discovery & Strategy starts from $7,000 one-off per project, System Design from $9,000, and Deployment & Integration from $15,000.
FAQ
Is pseudonymized genomic data still personal data?
Under the GDPR, yes. Pseudonymized data remain personal data because the person can still be identified through the separately held key or through linkage with other data. Pseudonymization is a recognized safeguard, not an exit from the regulation.
Is pseudonymization the same as de-identification under HIPAA?
No. HIPAA de-identification is met by removing the 18 specified identifiers under Safe Harbor or by a qualified expert's determination. A coded dataset can qualify only if the code is not derived from information about the individual and the rest of the standard is satisfied.
What is the difference between anonymization and pseudonymization?
Anonymization permanently removes or replaces identifying information so individuals cannot be recognized, and it cannot be reversed. Pseudonymization replaces identifiers with a code but keeps a separate key that allows re-linking. For genomic data, true anonymization is difficult because the sequence itself is distinctive.
Is pseudonymization the same as tokenization?
Not exactly. Tokenization replaces a value with a generated token mapped in a secure store, and it is one technique for achieving pseudonymization. Pseudonymization is the broader concept defined in law, and it also requires that the additional information be kept separately and protected.
Should we destroy the linking key?
For research datasets that no longer need to be linked to individuals, UCSF's IRB guidance recommends destroying the key at the earliest opportunity. For clinical records the key usually has to be retained, so protect it with separate storage, restricted roles and logged access.
Sources
- Re-identifiability of genomic data and the GDPR
- Safe Utilization and Sharing of Genomic Data: Amendment to the Bioethics and Safety Act
- Assessing Privacy Vulnerabilities in Genetic Data Sets
- Privacy-preserving storage of sequenced genomic data
- Research involving human data, SciLifeLab Data Guidelines
- Guidance Regarding Methods for De-identification of Protected Health Information, HHS
- De-identification and Confidentiality of Research Data, UCSF IRB
- National Genomic Research Library: information for clinicians
