Topic 2 of 5 · 4 min read
Special-category data under GDPR
Goal: Spot special-category data, including traits an AI infers, in a dataset or prompt and name the extra condition needed to use it.
Under the GDPR, some kinds of personal data are banned from processing by default, and you need a lawful basis plus one extra condition from Article 9 to use them. An AI tool that guesses these traits from other data creates the same duty.
Check yourself · 1 of 3
Which of these is a special category of personal data under the GDPR?
Why it matters
The GDPR is the European Union's data protection law. It also reaches companies outside the EU that serve people in it. Article 9 names the special categories: racial or ethnic origin, political opinions, religious or philosophical beliefs, trade union membership, genetic data, biometric data used to identify a person, health data, and data about a person's sex life or sexual orientation. Leaks of this data can lead to discrimination, so the law is stricter.
How to check a prompt or dataset
- Scan each field and each free-text note for the categories above. A column called "sick leave reason" is health data. A photo used to identify someone is biometric data.
- Look at what the AI infers. If a model predicts a person's health, religion, politics or orientation from purchases, photos or posts, the output is special-category data even though nobody typed it in. The same goes for proxies, such as a surname or a postcode used to guess ethnicity.
- Find the Article 9 condition. Examples are explicit consent, employment or social-security law, protecting vital interests, health care by a professional bound by secrecy, and substantial public interest. "We have a legitimate interest" is not one of them.
- Also keep the ordinary lawful basis from Article 6. You need both.
- Consider a data protection impact assessment when you process this data at scale.
Before and after
Before: A HR manager uploads a spreadsheet of staff absences, with the reason, to a chatbot and asks it to spot "unreliable" employees.
The reason column is health data. There is no Article 9 condition, and the task is also an unfair judgement.
After: The manager removes the reason column, uses only dates and totals, and asks the data protection officer whether the tool is approved for HR data before any upload.
What goes wrong
- Teams check the input but forget the output. A model that labels customers "likely pregnant" has produced health data.
- Teams treat a public post as free to use. A person posting about their faith does not give anyone permission to process it.
- Teams rely on consent buried in a long terms page. Article 9 asks for explicit consent, which is a clear, separate statement.
Examples
A support-ticket export
A company exports tickets to an AI tool to find themes. Some tickets say "I missed work for chemotherapy" and "my union rep is helping me." Both lines are special-category data (health, union membership). The team masks those fields and gets the data protection officer to approve the remaining columns.
A recommendation model
A shop trains a model that groups customers by buying habits. One group is labelled "likely managing a chronic illness". That label is an inference of health data. The shop either drops the label or finds an Article 9 condition, such as explicit consent, before using it.
Key points
- Article 9 lists the special categories: ethnic origin, political opinion, religion or belief, union membership, genetic, biometric (for identification), health and sex life or orientation.
- Processing these categories is banned unless you have both an Article 6 lawful basis and an Article 9 condition.
- Legitimate interest is not an Article 9 condition.
- If an AI infers a special category from other data, its output is special-category data and the same rules apply.
- Explicit consent must be a clear, separate statement and not a line buried in long terms.
Common mistakes
- Checking only what users typed and ignoring what the model infers.
- Citing legitimate interest as the reason for processing health or similar data.
- Assuming publicly posted information may be used freely.
- Hiding consent in general terms instead of asking for explicit consent.
Check yourself · 2 of 3
A model reads shopping baskets and tags some customers "likely diabetic". How does the GDPR treat that tag?
Check yourself · 3 of 3
A company wants to use health data in an AI feature. Which reason alone is NOT enough?
Practice items, not counted towards your mastery.
Where to go in your country
- GDPR Article 9: special categories of personal data (opens in a new tab)DocsFreeEU
The list of special categories and the ten conditions that lift the ban on processing them.
- 45 CFR Part 164: HIPAA Privacy, Security and Breach Notification Rules (eCFR) (opens in a new tab)StandardFreeUS
The rule text itself: business associate contracts, the 18-identifier Safe Harbor method and the breach notification deadlines.
- NIST SP 800-66 Rev. 2: Implementing the HIPAA Security Rule (opens in a new tab)DocsFreeUS
A practical guide to access control, risk analysis and safeguards for systems that hold health data.
- GDPR Article 33: notification of a personal data breach to the authority (opens in a new tab)StandardFreeEU
The 72-hour deadline and the list of what a breach notification must contain.
- EDPB Guidelines 9/2022 on personal data breach notification (opens in a new tab)ArticleFreeEU
How European regulators read "aware of a breach", with worked examples and what to document.
- EU AI Act Article 5: prohibited AI practices (opens in a new tab)DocsFreeEU
The banned uses, including emotion recognition at work and school and untargeted scraping of face images.