Data retention policy template (GDPR): what to include
The GDPR does not tell you how long to keep personal data. It tells you to keep it no longer than you need it, to set the periods yourself, and to be able to explain them. A retention policy and a retention schedule are how you do that. This page covers what the GDPR requires, what a retention policy should contain, how to set a period, and gives an example schedule you can adapt.
Last checked: 12 November 2026.
What the GDPR requires on retention
- Storage limitation: personal data may be kept in a form that identifies people for no longer than necessary for the purposes of the processing (Art. 5(1)(e)). Longer storage is allowed only for archiving in the public interest, research or statistics, with safeguards (Art. 89(1)).
- Accountability: you must be able to show that you comply (Art. 5(2)). For retention, that in practice means being able to explain how you chose each period.
- Set time limits: recital 39 says the controller should establish time limits for erasure or for a periodic review, so that data is not kept longer than necessary.
- Tell people: your privacy notice states the period, or the criteria used to set it (Art. 13(2)(a) and 14(2)(a)), and so does your answer to an access request (Art. 15(1)(d)).
- Record it: your record of processing activities lists, where possible, the time limits for erasure per category of data (Art. 30(1)(f)).
- Limit by default: data protection by default covers "the period of their storage" (Art. 25(2)).
A retention policy is not mentioned by name. It is one of the "appropriate data protection policies" Article 24(2) expects where proportionate, and it is the simplest way to meet all of the points above in one place.
Policy and schedule: what goes where
Most organisations split retention into two documents. The policy explains the rules and changes rarely. The schedule is a table with one row per category of data and changes whenever you start something new. A policy for a small organisation usually has these parts:
- Purpose and scope: which data, systems and paper files it covers, and who owns it.
- How a period is set: the order of reasoning described below.
- Where the periods are: a reference to the schedule.
- What happens at the end: deletion, destruction or anonymisation, including copies, backups and data at suppliers.
- Exceptions: when data may be kept longer (a claim, an investigation, a request from an authority), who approves it and how it is recorded.
- Checks and review: who checks that deletion happens, how often, and when the policy itself is reviewed.
The schedule then needs, per row: category of data, purpose, period, the event that starts the period, the reason (a law or a business need), the action at the end, the system where the data lives, and the owner.
How to set a retention period
For each category of data, work through these questions in order:
- Does a law require you to keep it? Tax, accounting, employment and sector laws often set a minimum period. That law is then your reason, and an erasure request does not override it (Art. 17(3)(b)).
- Does a law require you to delete it sooner? Some national rules set specific periods, for example for camera images in some Member States. The EDPB notes that such national provisions exist (Guidelines 3/2019, para. 120).
- If no law applies, how long do you need it for the purpose? Write the period as a number and a starting event, such as "two years after the end of the contract". If you keep data to defend possible legal claims, tie the period to a realistic claim, not to "just in case" (see Art. 17(3)(e)).
- Can you shorten it or anonymise it? Statistics often work on anonymised data, which falls outside the GDPR once people can no longer be identified (recital 26).
"As long as necessary" on its own is not a period. Your privacy notice may give criteria where a fixed period is not possible, but the criteria should let a reader work out roughly how long it will be.
Example retention schedule
The rows below show the format. Periods set by law differ per country and sector. The two legal periods shown are Dutch examples only, labelled as such, each with its law; replace them with the rules of your country.
| Data | Period | Starts from | Reason |
|---|---|---|---|
| Accounting records, invoices, payroll records | Example, Netherlands: 7 years | As the law that applies to you sets it | NL: Art. 52(4) Algemene wet inzake rijksbelastingen (tax records); Art. 2:10(3) Burgerlijk Wetboek (accounts of legal entities, applied to sole traders and other businesses by Art. 3:15i(2)) |
| Applicants not hired | A short period you set and can justify; longer only with consent | End of the selection procedure | Purpose ended; check your authority's guidance |
| Customer account and order history | Your choice, e.g. [x] years | Last order or end of the account | Customer service and possible claims; invoices themselves follow the tax period |
| Newsletter list | Until unsubscribe, or after [x] months without contact | Unsubscribe or last contact | Consent |
| CCTV images | A few days, unless an incident is found | Recording | EDPB Guidelines 3/2019 para. 121: in most cases erase after a few days; beyond 72 hours needs more justification |
| Breach register entries | Your choice; the GDPR sets none | Closing the breach | Art. 33(5); EDPB 9/2022 para. 124: you set the period |
The Dutch tax period is a minimum for records a tax inspector may need. It does not turn every document that mentions a customer into a tax record: a marketing profile is not kept seven years because invoices are.
Deletion in practice: backups, suppliers and paper
- Backups. You rarely delete single records from a backup. A common approach is to let backups expire on a fixed cycle, write down that cycle in the policy, and never restore deleted data except to recover from an incident (deleting it again afterwards).
- Suppliers. Your processing agreements must require processors to delete or return the data at the end of the service, at your choice, and delete copies unless law requires storage (Art. 28(3)(g)).
- Paper and old devices. Shred paper, and wipe or destroy disks and phones before they leave the company.
- Proof. Note the date when a category was deleted, or when automatic deletion was set up. That is your evidence under Art. 5(2).
Example policy line: "Data in backups is removed when the backup expires after [90 days]. We restore deleted data only to recover from an incident, and delete it again straight after."
Common mistakes
- One period for everything. "Seven years" for all data stretches a tax rule to data that has nothing to do with tax.
- A policy without a schedule. Rules without concrete periods per category do not tell anyone what to delete.
- No starting event. "Two years" from when? Write the event that starts the clock.
- Nobody deletes. Name an owner and a check date, or turn on automatic deletion where your systems allow it.
- Privacy notice and schedule out of step. The periods you tell people should match the ones you apply.
Frequently asked questions
Does the GDPR set retention periods?
No. It sets the principle: no longer than necessary for the purpose (Art. 5(1)(e)). The periods come from you, and from national or sector laws that require you to keep certain records for a minimum time.
Is a retention policy mandatory?
The GDPR does not name it. You do have to set time limits, tell people the period or the criteria (Art. 13 and 14), list them in your record of processing where possible (Art. 30(1)(f)) and be able to show compliance (Art. 5(2) and 24). A written policy and schedule is the usual way to do all of that.
Can I keep data longer in case of a legal claim?
Yes, where it is necessary for the establishment, exercise or defence of a legal claim (Art. 17(3)(e)), but tie it to a real risk and a realistic limitation period, not to every record by default.
What about data in backups?
Set a fixed backup cycle, write it down in the policy, and make sure deleted data is not restored back into use. Supervisory authorities differ in detail, so check your own authority's guidance.
Does anonymised data fall under the retention policy?
No. Data that can no longer be linked to a person is not personal data (recital 26). Anonymisation is a valid end-of-period action, but only if re-identification is no longer reasonably possible.
Official sources
- Regulation (EU) 2016/679 (GDPR), Articles 5, 13, 14, 15, 17, 24, 25, 28 and 30, recitals 26 and 39, EUR-Lex
- EDPB, Guidelines 3/2019 on processing of personal data through video devices, version 2.0, adopted 29 January 2020
- EDPB, Guidelines 9/2022 on personal data breach notification under GDPR, version 2.0, 28 March 2023
- Dutch examples: Algemene wet inzake rijksbelastingen, art. 52, Burgerlijk Wetboek Boek 2, art. 10, Burgerlijk Wetboek Boek 3, art. 15i, wetten.overheid.nl
This article is general information about the EU GDPR, not legal advice and not personal advice. Retention periods set by law differ per country and sector; the Dutch periods are examples only. Drafted with the help of AI and checked against the sources listed above before publication.