UK GDPR does not set a universal retention period
A useful data retention policy UK businesses can follow starts with an inconvenient fact: UK GDPR does not provide one standard retention period for customer data.
The storage limitation principle requires personal data to be kept no longer than necessary for the purpose for which it was collected. That makes retention a purpose-by-purpose decision, not a single number copied into a privacy policy.
The belief that all business data must be retained for seven years is wrong. Certain accounting, tax, contractual or regulated records may need to be kept for a defined period, but that does not justify retaining an entire customer profile, every support message or years of behavioural data.
A business should adopt the shortest customer data retention period it can reasonably justify. Its decisions should document:
- Why the data is still required.
- Which lawful basis applies.
- What event starts the retention period.
- When and how the data will be deleted or anonymised.
- Which narrowly defined exceptions can suspend deletion.
This documentation supports the UK GDPR accountability principle. Decisions need more care where data concerns children, health, biometrics or other special-category information. Regulated sectors may also have specific rules that override a general schedule.
What follows is an operational framework, not a substitute for advice about a particular regulatory or contractual obligation.
Build the retention schedule from a data map, not a template
A generic data retention policy template UK businesses download can help with headings. It cannot tell you where your data is stored or why your product still needs it.
Start by mapping every system containing personal data. That normally extends beyond the production database to include:
- CRM and sales platforms.
- Support systems and shared email accounts.
- Analytics, observability and log services.
- Data warehouses and reporting tools.
- Uploaded files and object storage.
- Search indexes and caches.
- Staging systems, developer machines and temporary exports.
- Backups and third-party processors.
For each dataset, record its purpose, lawful basis, owner, retention trigger, period, deletion method and legal-hold process. A useful retention schedule UK teams can operate should describe systems and fields, not vague categories such as “customer information”.
Lifecycle events are usually better triggers than creation dates. Examples include ticket_closed_at, contract_ended_at, account deletion or the customer’s last meaningful activity. A record created years ago may still support an active contract, whilst a newer abandoned enquiry may already have no purpose.
Separate operational product data from invoices, signed contracts, fraud evidence and statutory records. One accounting obligation should not preserve messages, attachments, browsing history and unused profile fields.
The final schedule must agree with privacy notices, records of processing activities and contracts with processors. If the public notice says data is deleted after account closure but the database keeps it indefinitely, the software is the more revealing document.
A practical default retention schedule for UK businesses
The periods below are starting points, not universal GDPR retention periods UK organisations can apply without review. Each period needs to be tested against the business purpose, legal requirements, user expectations and risk.
| Dataset | Adaptable starting point | Trigger and treatment |
|---|---|---|
| Unsuccessful sales enquiries | 6–12 months | Start from the last interaction. Delete unless there is an active reason to continue the conversation. A separate marketing opt-in should be managed under its own rules. |
| Closed support tickets | Around 12 months | Delete or anonymise after closure. Consider up to 24 months only where warranties, product complexity or recurring disputes create a documented need. |
| Routine application and error logs | 30 days | Use automatic expiry. Remove or redact personal values before they enter the log. |
| Security and authentication logs | Around 90 days | Retain long enough for realistic investigation needs, with access tightly controlled. Higher-risk services may justify a different period. |
| Administrative audit trails | Up to 12 months | Reserve longer periods for high-value actions where investigation or accountability genuinely requires them. Avoid recording full payloads. |
| Identifiable raw analytics | Often 3–14 months | Keep the shortest useful comparison window, then delete or aggregate. Configure the analytics product rather than accepting indefinite defaults. |
| Anonymous aggregate trends | Longer where useful | Retention is less restricted only if individuals can no longer be identified by any reasonably available means. |
| Closed account profile and product history | Purpose-specific | Progressively delete after closure, separating financial, contractual and dispute records that have their own requirements. |
These defaults answer “how long should customer data be kept UK?” more honestly than a single blanket period. The answer depends on the record and its continuing purpose.
Analytics data retention under UK GDPR also requires a clear distinction between anonymisation and pseudonymisation. Hashing a user ID, replacing a name with a reference number or storing the lookup table elsewhere normally leaves the data pseudonymised. It remains personal data if the person can still be singled out or reconnected to the record.
Keep evidence without retaining the entire customer record
A common implementation mistake is treating deletion as all or nothing. A business may need an invoice or signed agreement without needing the corresponding avatar, private messages, uploaded files and product activity history.
Build an evidence set containing only what must remain. For example, extract the final invoice, applicable terms, transaction record and narrowly relevant dispute evidence. Delete the operational account data around it when its purpose expires.
Six years is often selected for certain company and VAT records and because claims under some simple contracts may be brought within a six-year limitation period. The correct requirement, start date and record type still need to be checked. It is not a reason to apply six years to every row associated with a customer.
Retention becomes easier when collection is restrained. We recommend:
- Using structured selections instead of unrestricted free-text fields where possible.
- Redacting payment, identity and health details from support conversations.
- Blocking passwords, tokens and sensitive form values from logs.
- Avoiding duplicate customer attributes across integrations.
- Collecting analytics events because they answer a defined question, not because they might become useful.
Genuine anonymous aggregate metrics can often be retained for trend analysis. Swapping identifiers or hashing email addresses is usually insufficient because the resulting records may still identify or single out a person.
Turn the retention policy into working software
A retention policy is ineffective unless the software enforces it. Manual spreadsheet reviews are slow, inconsistent and likely to be forgotten as products change.
In the custom web applications we build, we treat retention as part of the data model. Records need lifecycle timestamps such as closed_at, contract_ended_at and deletion_due_at. Without an explicit trigger, deletion logic becomes a collection of guesses.
Scheduled jobs should find eligible records, process them in controlled batches and cascade safely across related tables. They should record the rule applied, execution time, affected system and success or failure, but not recreate the deleted personal data inside an audit log.
Progressive deletion can reduce risk before the full retention period ends. A support platform might remove attachments first, then message content, then contact details, whilst preserving a minimal financial or legal record in a restricted store.
Expiry controls must cover more than the primary database. Apply time-to-live or lifecycle rules to:
- Application and infrastructure logs.
- Object storage and uploaded files.
- Search indexes and caches.
- Analytics and warehouse tables.
- Generated reports and temporary exports.
- Queues and failed job payloads.
Account deletion, access requests and erasure workflows should be designed into the application. Treating each request as a manual production database task is both risky and difficult to prove. Workflow automation and internal tooling can coordinate deletion across systems whilst preserving a concise execution record.
Backups and third-party tools are part of the policy
Deleting a production row does not remove copies from backups. Define a rolling backup window based on recovery requirements—commonly 30–90 days—rather than retaining every snapshot indefinitely.
A deleted record may remain inaccessible within an encrypted backup until that backup expires. Document this behaviour, restrict restoration access and make sure disaster recovery does not return expired data to ordinary use. One approach is to rerun deletion jobs immediately after a restore and before the recovered service becomes available.
Processors belong in the same schedule as systems you operate directly. Review CRM, helpdesk, email, analytics, observability and AI providers. Before relying on a supplier, establish:
- Whether it offers configurable retention controls.
- Whether records can be removed through an API.
- What remains in its backups and for how long.
- Which sub-processors receive the data.
- What happens to data after the contract ends.
This is especially relevant when building AI features and assistants, because prompts, uploaded documents, model traces and evaluation datasets can create extra copies outside the main application.
Production data should not quietly accumulate on developer laptops, staging databases or debugging exports. Use synthetic test fixtures, mask approved datasets and expire temporary access. A staging copy is still personal data merely because customers cannot see it.
Handle exceptions without creating permanent retention
Deletion sometimes needs to pause for litigation, a regulatory investigation, suspected fraud or an active complaint. That requires a controlled legal hold, not an informal note saying “do not delete”.
Each hold should record its scope, owner, reason, review date and release criteria. Pause deletion only for records relevant to the matter. Freezing an entire customer database because one account is disputed defeats the purpose of the retention schedule.
Erasure rights operate alongside retention rules. Erasure is not absolute: a business may have a valid reason to retain specific records, but the refusal and its basis should be documented. Unrelated information should still be removed.
Consent withdrawal, account closure and contract termination do not automatically settle every retention question. Marketing preferences, invoices, security logs and support evidence may use different lawful bases and have different expiry triggers. The system should separate them rather than giving an account one universal deletion date.
Test, review and prove that deletion happens
Review the schedule at least annually and whenever the product, supplier, data use or relevant legal requirement changes. Assign a named owner to every dataset so retention does not become an unmaintained paragraph in a privacy notice.
Monitor deletion jobs and alert someone when they fail. Reconcile expired records across databases, file storage, indexes, warehouses and processors; a successful database query proves little if the same attachment remains searchable elsewhere.
Test deletion in staging with synthetic data. In production, sample outcomes by checking that expected records and related copies no longer exist, without storing the deleted values as evidence.
The defensible evidence is small: the rule applied, execution time, system, record count and result. The strongest data retention policy is not the longest document. It is a short set of justified rules backed by software that reliably removes data when its purpose ends.
Talk to us about building retention and deletion into your application.
Common questions
Does UK GDPR require customer data to be deleted after a fixed period?
No. UK GDPR requires personal data to be kept no longer than necessary for its stated purpose, but it does not prescribe one period for every dataset. The business must choose, document and enforce a defensible period for each category of data.
Do UK businesses have to keep all customer data for seven years?
No. Particular accounting, tax, contractual or regulated records may have defined retention requirements, but those requirements do not extend automatically to the whole customer account. Messages, behavioural history, attachments and profile data should be assessed separately.
Can deleted personal data remain in backups?
It may remain inaccessible in encrypted rolling backups until those backups expire, provided this is documented and the data is not returned to normal use. Backup windows should be defined, access restricted and expired-data deletion reapplied following a restore.
Is hashed customer data anonymous under UK GDPR?
Usually not. If a hashed identifier can still be linked, matched or used to single someone out, the data is pseudonymised and remains personal data. Genuine anonymisation must make identification no longer reasonably possible.
How often should a data retention schedule be reviewed?
Review it at least annually and whenever a product, supplier, processing purpose or legal requirement changes. Automated deletion should be monitored continuously, with failures assigned to a named owner.