← All posts
SOC 2 data retention policySOC 2 data deletionSOC 2 data disposalSOC 2 customer data retention

SOC 2 Data Retention and Deletion: A Policy You Can Prove

SOC 2 sets no data retention period. Here is what the criteria ask, how to build a retention schedule for customer data, and how to prove deletion, backups included.

A retention schedule names each kind of customer data, when its clock starts, how long it stays, and how it is deleted.
A retention schedule names each kind of customer data, when its clock starts, how long it stays, and how it is deleted.

SOC 2 does not tell you how long to keep customer data. The AICPA Trust Services Criteria ask you to decide, write the rule down, follow it, and show that you did. A SOC 2 data retention policy is a schedule: for each kind of data, when the clock starts, how long you keep it, and how you delete it. If retention is in scope, or your commitments promise deletion, the CPA firm can test whether deletion happened when your schedule said it would, including in backups, search indexes, and vendor copies.

This guide covers customer and production data. Keeping audit evidence long enough is a different question, covered in the SOC 2 evidence retention guide.

TL;DR

  • No SOC 2 criterion sets a retention period. You set periods from law, contracts, and business need.
  • Security-only reports still touch disposal through CC6.5. Confidentiality (C1.1, C1.2) and Privacy (P4.2, P4.3) add explicit retention and disposal criteria.
  • Build a schedule with one row per kind of data: cutoff event, period, and disposal method.
  • List every copy before you promise deletion. Backups, object versions, search indexes, staging copies, and vendors are where most gaps hide.
  • For a Type 2 report, keep the list of customers or records that reached their deletion date and a dated deletion record for each one.

What do the SOC 2 criteria say about retention and deletion?

The criteria below come from the AICPA’s 2017 Trust Services Criteria with revised points of focus (2022). The criterion is what the CPA firm evaluates. Points of focus are examples of what a control might address, not a checklist.

Criterion Applies when What it asks
CC6.5 Every SOC 2 report Keep protecting a physical asset until the ability to read or recover its data has been diminished and is no longer needed. The point of focus “Removes Data and Software for Disposal” covers devices owned by the company, its vendors, and employees.
C1.1 Confidentiality is in scope Identify and maintain confidential information. Points of focus: retain it no longer than needed for its purpose unless a law or regulation requires otherwise, and protect it from erasure during the retention period.
C1.2 Confidentiality is in scope Dispose of confidential information. Points of focus: identify information that reached the end of its retention period, then erase or destroy it automatically or manually.
P4.2 Privacy is in scope Retain personal information consistent with privacy objectives. Points of focus: retain it no longer than needed for the stated purposes, and protect it from erasure during the retention period.
P4.3 Privacy is in scope Securely dispose of personal information, including capturing and flagging deletion requests.

Two things follow. First, a Security-only report still expects you to clean laptops, drives, and other assets before they leave your control. Second, if a customer asks for Confidentiality, you are signing up for a tested retention schedule and deletion process. The Confidentiality vs Privacy guide covers that choice, and the Trust Services Categories guide covers the rest.

Even in a Security-only report, deletion often shows up anyway. If your contracts, terms, or system description promise that you delete customer data after the contract ends, that promise is a service commitment, and the CPA firm can ask how you keep it.

Customer data retention vs evidence retention

These get mixed up because both use the word “retention.”

Question Customer data retention Evidence retention
What is kept Customer content, account data, logs, backups Tickets, approvals, exports, and reports that prove controls ran
Main pressure Keep it no longer than needed, then delete it Keep it long enough for the audit period and requests
Who cares most Customers, their contracts, privacy law Your CPA firm
What the auditor samples Deletion records for customers who left The evidence itself

One schedule can hold both, as long as each row says which data it covers.

Build a retention schedule for customer data

Each row needs five things: the data it covers, where that data lives, the event that starts the clock (the cutoff), the period, and what happens at the end (delete, anonymize, or keep). The values below are examples to show the shape of a row. They are not recommended periods. Take your periods from your contracts, applicable law, and what the product needs. If you have not yet named your data types and their sensitivity, start with the SOC 2 data classification guide.

Data Cutoff Example period End action
Customer content (records, files) Contract ends or workspace deleted 30 days Delete from primary stores and indexes
Database backups and snapshots Backup created 35 days Expire automatically
Application and access logs Log written 1 year Expire automatically
Support tickets and attachments Ticket closed 2 years Delete attachments, keep ticket metadata
Billing and invoice records End of fiscal year Set by tax law Delete after the legal period
Product analytics events Event recorded 13 months Delete or anonymize

A few rules make the schedule easier to defend:

  • Use an event the system can see as the cutoff. “Contract end” works only if someone records the date. “Workspace deleted” is better when the product knows it.
  • Give each kind of data its own row. If a contract says customer content is deleted within 30 days and tax law says invoices are kept for seven years, those are two rows, not one long period for everything.
  • Where a legal duty to keep data conflicts with a contract promise to delete it, the law sets the minimum. Write that exception into the contract instead of quietly keeping the data longer.
  • Do not keep data forever because nobody decided. “Keep permanently” needs a stated reason, like legal records you must hold.
  • Write down legal holds. A hold pauses deletion for named records and needs an owner, a start date, and a release decision.

Find every copy before you promise deletion

Deleting a row from the production database is the easy part. Most deletion gaps come from copies nobody listed. Walk your data flow diagram and asset inventory and check each of these:

  • Primary database tables, including soft-deleted rows that still exist.
  • Object storage. With S3 versioning on, AWS documents that an expiration action adds a delete marker and keeps the old version as a noncurrent version. You need a separate noncurrent-version expiration action to remove them.
  • Search indexes, caches, queues, and dead-letter queues.
  • Data warehouse and analytics tools that receive copies of production data.
  • Logs that capture request bodies or customer content.
  • Staging or test environments that got a copy of production data. The production data in staging guide covers that case.
  • Exports and files on laptops, shared drives, and chat attachments.
  • Vendors: support desk, email provider, error tracker, and any processor that holds customer data. Check what each contract says about deletion, and review them through your vendor review process.

How do you handle backups?

The criteria do not say how to delete data from backups, and most teams cannot remove one customer from a database snapshot. A common design that you can explain and prove:

  1. Set a fixed backup retention period and write it in the schedule.
  2. Let backups expire on that schedule instead of editing them.
  3. Limit who can restore a backup, and log restores.
  4. Keep a list of deleted customers (opaque IDs and dates) in a separate store that restoring a backup will not roll back, and back that store up on its own. After any restore, check that list and re-run deletion before the restored copy is used.
  5. Tell customers in your contract or data processing agreement how long backup copies can last after deletion.

Check what your provider does by default. For Amazon RDS, AWS documents a backup retention period between 0 and 35 days for a DB instance. When you delete an instance and choose to retain automated backups, RDS keeps them for the retention period in effect at deletion. A final snapshot taken at deletion, and any manual snapshots, stay until you delete them, so they need their own row or a cleanup job.

Some teams encrypt each customer’s data with its own key and delete the key to make every copy unreadable, backups included. AWS KMS documents that deleting a key is irreversible and makes data encrypted under it unrecoverable, after a waiting period of 7 to 30 days. That can work well, but only if every copy is encrypted under that customer’s key, and you should test it before you rely on it.

Physical media inside a cloud provider is the provider’s job. Your cloud provider’s own SOC 2 report covers how it sanitizes drives, and your report usually treats it as a carved-out subservice organization. See the carve-out vs inclusive guide. For your own laptops and drives, NIST SP 800-88 Rev. 2, Guidelines for Media Sanitization (September 2025), is a solid reference for choosing a method.

A customer offboarding deletion runbook

Write the steps once, then follow them for every customer who leaves.

  1. Record the trigger: contract end date or the date the customer deleted the workspace.
  2. Offer the export window your contract promises, and record when it closes.
  3. Check for a legal hold, open dispute, or approved exception before you delete.
  4. Run deletion across the primary stores, object storage, indexes, and derived copies on your list.
  5. Ask each vendor that holds the customer’s data to delete it, or run the deletion through the vendor’s admin tools, and keep the confirmation.
  6. Record the date the last backup containing the data will expire.
  7. Verify: run a query or check that returns no records for the customer, and save the output.
  8. Close the record with the date, the person who ran it, what was deleted, any exceptions, and how you checked. Identify the customer by an opaque ID, not a name or email address.

Automate steps 4 and 7 where you can. A deletion job that writes its own log line per customer makes Type 2 sampling easy.

Some contracts promise written confirmation of deletion. GDPR Article 28(3)(g) also requires a processor’s contract to say it will delete or return personal data at the controller’s choice when the services end, and delete existing copies unless EU or member state law requires storage. If you act as a processor, check what your data processing agreement promises. The SOC 2 vs GDPR guide explains how the two fit.

What evidence does a Type 2 audit expect?

For a Type 2 report, the CPA firm usually asks for a population and then samples it. Prepare:

  • The approved retention schedule and the date it took effect.
  • The list of customers or record classes that reached their deletion date during the period. This is the population. The audit populations guide explains how to build one that is complete.
  • For each sampled item, the deletion record from step 8 above.
  • Exports or screenshots of storage lifecycle rules, backup retention settings, and log retention settings, dated inside the period.
  • Legal holds and approved exceptions, with their reasons and owners.
  • Records of disposed laptops and drives for CC6.5.

If no customers left during the period, say so and show how you know, for example from your billing system’s list of cancellations.

Keep population lists, deletion logs, and query output in the source system or your evidence store. If you track them in Git, link to them and use opaque IDs, because Git history is hard to erase and these records can name people.

Common gaps

  • The policy says “data is deleted after 30 days” and no job or runbook does it.
  • Soft-deleted rows stay in the database with no hard-delete step.
  • Versioned buckets keep noncurrent versions forever.
  • Final snapshots from deleted databases and manual snapshots taken during a migration never expire.
  • A staging database still holds a copy of a departed customer’s data.
  • Support tool attachments are left out of the schedule.
  • The schedule exists, but nobody can produce the list of customers who left.
  • Contracts promise deletion faster than the backup retention allows.

Keep the retention schedule in FileGRC

FileGRC stores the schedule as files in Git: JSON for the structured rows, Markdown for the schedule document and procedures, and Git for the change history. A new workspace includes:

  • A Data Retention Schedule document with sections on holds, exceptions, and disposal evidence.
  • An Information Security Policy section, “Media, retention, and disposal,” that requires owners to consider active, local, backup, and vendor-held copies.
  • The starter Data retention and disposal control (DATA-03) mapped to CC6.5.
  • One planned retention row for FileGRC’s own program records.

These are proposals for your team to review, not compliance claims. The starter workspace includes the Security criteria only, so if your report adds Confidentiality, C1.1 and C1.2 need their own requirement records and control mappings.

Each kind of customer data becomes an information-type record, and each schedule row becomes a retention-schedule-item. FileGRC refuses to record a review while the checkout has uncommitted files, so keep scratch files in a temporary folder outside the repository:

WORK="$(umask 077; mktemp -d)"

Then scaffold the two records:

npx filegrc scaffold information-type --title "Customer content" > "$WORK/type.json"
npx filegrc scaffold retention-schedule-item --title "Customer content after contract end" --id retention-schedule-item-customer-content > "$WORK/row.json"

Edit both files. In type.json, replace the null description, set classificationId (for example "restricted"), and set status to "active", because changing the type after the schedule is approved means binding and reviewing the rows again.

In row.json, replace every null and fill every empty list. That means ownerIds (for example ["appointment-policy-owner"]), scopeResourceIds (for example ["program-soc-2"]), and scheduleDocumentId ("document-data-retention-schedule"). Then add the fields that make the row complete: informationTypeIds, a cutoff (for example {"basis": "event", "event": "Customer contract ends"}), a retentionPeriod (for example {"basis": "fixed", "amount": 30, "unit": "day"}), a dispositionAction such as delete or anonymize, and dispositionInstructions that cover backups and vendor copies. List the policy, document, or contract that gives the row its authority in sourceResourceIds, for example ["policy-information-security", "document-data-retention-schedule"]. Then create both records:

npx filegrc create "$WORK/type.json"
npx filegrc create "$WORK/row.json"
npx filegrc validate

Before the schedule is approved, the owner finishes each row. Print the current revisions of its sources:

npx filegrc review-bindings retention-schedule-item-customer-content --json

Export the row as an editable file:

npx filegrc get retention-schedule-item retention-schedule-item-customer-content --mutation > "$WORK/row-update.json"

In that file, copy the reviewedSourceRevisions value into the record and set status to active. Then apply the change and validate:

npx filegrc update retention-schedule-item retention-schedule-item-customer-content "$WORK/row-update.json"
npx filegrc validate

Do the same for every other row. The starter row for FileGRC records ships without a cutoff, period, or disposition, so add cutoff, retentionPeriod, dispositionAction, and dispositionInstructions to it as well. The review will not go through while any row is still planned. Then commit the changes.

The approval needs a reviewer who owns neither the schedule document nor any row. In a new workspace, the only person owns both, so add a reviewer first. FileGRC can set up an outside reviewer and the Independent Policy Reviewer appointment. Scaffold the setup file:

npx filegrc external-reviewer-setup --scaffold > "$WORK/reviewer.json"

Fill in the reviewer’s details, then apply it:

npx filegrc external-reviewer-setup "$WORK/reviewer.json" --preview
npx filegrc external-reviewer-setup "$WORK/reviewer.json" --yes

Commit all the changes it made. The segregation of duties guide covers other options for small teams. Then scaffold the review file:

npx filegrc review-collection retention-schedule-item --program program-soc-2 --scaffold --output "$WORK/review.json"

The reviewer reads the schedule and the rows, then puts their person ID in reviewedByIds and fills in reviewedOn and rationale. Whoever runs the commands, the reviewer or the owner recording the reviewer’s decision, does it from an up-to-date checkout and only after the reviewer approves:

npx filegrc review-collection retention-schedule-item "$WORK/review.json" --preview
npx filegrc review-collection retention-schedule-item "$WORK/review.json" --yes

Commit the approval it records. Then delete the temporary folder:

rm -rf "$WORK"

For deletion requests, FileGRC has a data-request record with received and due dates, a decision, and linked evidence. Track each request by an opaque reference, and keep names and other personal data in the source system, not in Git history. FileGRC does not delete anything in your product or vendors. It keeps the schedule, the reviews, and the evidence links in one place that you and an agent can inspect. The SOC 2 in Git guide explains the model, and the FileGRC homepage shows how to start.

Open source · MIT

Run your SOC 2 program as files in Git.

Keep policies, controls, work, and evidence indexes in a repository your team and agents can inspect. Add optional FileGRC Autopilot email and Slack reminders to keep work moving.

Frequently asked questions

How long does SOC 2 require you to keep customer data?

SOC 2 sets no retention period. Under the Trust Services Criteria, you set your own rules from law, contracts, and business need, then follow them. The points of focus under the Confidentiality criterion C1.1 add that confidential information should be kept no longer than necessary for its purpose unless a law or regulation says otherwise. The CPA firm tests whether your controls follow the rules you approved.

Do I need a data retention policy for a Security-only SOC 2 report?

Usually yes. Your customer contracts and system description often promise deletion, and the CPA firm can test how you keep that promise. The Security criterion CC6.5 also covers removing data from devices and media before you stop protecting them. The detailed retention and disposal criteria C1.1 and C1.2 apply only when Confidentiality is in scope, and P4.2 and P4.3 only when Privacy is in scope. Agree on the categories with your CPA firm.

Do I have to delete a customer's data from backups?

The criteria do not say how. A common design lets backups expire on a fixed schedule, limits who can restore them, and re-runs deletion on any restored data before use. Write that design down, tell customers how long backup copies can last, and keep the backup retention settings as evidence.

What evidence shows data was deleted for SOC 2?

Keep the approved retention schedule, the list of customers or records that reached their deletion date during the period, a deletion record for each one (job log, ticket, or system output with dates), the storage and backup retention settings, and any legal holds or approved exceptions. The CPA firm picks samples from that list.

Is a certificate of deletion required for SOC 2?

No SOC 2 criterion requires a certificate of deletion. Some contracts and data processing agreements promise written confirmation, and then you must send it. Either way, keep your own dated record of what was deleted, from which systems, and how you checked.

Does FileGRC delete customer data?

No. FileGRC is a Git-native GRC workspace for SOC 2 work. It stores the retention schedule as JSON records and Markdown that go through owner and independent review, maps the starter Data retention and disposal control (DATA-03) to CC6.5, and links deletion evidence. Your production systems and vendors do the deleting, and an independent CPA firm examines the result.