# Data Retention Policy

> How long each kind of data is kept, and what happens when the time is up.

**Field:** Data Engineering  
**Category:** Data Privacy  
**Also known as:** Retention Policy, Data Retention, Retention Schedule

## Think of it like

It is like clearing out the fridge. Each food has a date, and on that date it goes.

## Definition

A data retention policy says how long each kind of data is kept. When the time is up, the data is deleted or made anonymous. Some data must be kept for a set time, such as tax records. Personal data should not be kept longer than it is needed. The policy names each kind of data, its time limit and what happens at the end. A job that runs on a schedule then does the deleting.

## Example

The GDPR says data that names a person is kept no longer than it is needed. So a shop deletes old guest emails on a fixed schedule.

## Why it matters

Old data costs money and adds risk. If it leaks, data you should have deleted still hurts people.

## Common mistake

Deleting from the main table but not from backups. The policy has to reach every copy.

## Three principles

- **A time per kind.** Each kind of data gets its own limit.
- **Delete or anonymise.** Something happens when time is up.
- **Every copy.** Backups and exports count too.

## Related terms

- [Data Policy](https://learn.benibix.com/term/data/data-policy)
- [Storage Limitation](https://learn.benibix.com/term/data/storage-limitation)
- [Data Anonymization](https://learn.benibix.com/term/data/data-anonymization)
- [Data Lifecycle](https://learn.benibix.com/term/data/data-lifecycle)
- [General Data Protection Regulation (GDPR)](https://learn.benibix.com/term/data/gdpr)
- [Right to Erasure](https://learn.benibix.com/term/data/right-to-erasure)
- [Zero Data Retention (ZDR)](https://learn.benibix.com/term/ai/zero-data-retention)

## Told apart from

- [Right to Erasure vs Data Retention Policy](https://learn.benibix.com/compare/right-to-erasure-vs-data-retention-policy): People think personal data is only deleted when the retention schedule says so, but a person's request can come first. A retention policy is the firm's plan. It says how long to keep each kind of data. The right to erasure is a person's request to delete their data now. Data the law says to keep, like invoices, stays either way.

![Four boxes from open to locked: Public, Internal, Confidential and Restricted, each with an example and who may read it. Below, a row of four steps: created, in use, archived and deleted on the set date.](https://learn.benibix.com/diagrams/dat2-classify-retain.svg)

---

Source: https://learn.benibix.com/term/data/data-retention-policy
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-18
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
