Data retention rules control how your organization saves and deletes Google Workspace data for compliance or regulatory reasons.
By default, Google Workspace data stays in user accounts until the user or admin deletes it. If your organization needs more control over data retention, you can set up retention rules in Google Vault. These rules organize how data is stored and for how long, and purge data once it’s no longer needed.
About retention rules
With Vault, you can use retention rules to:
- Keep data for as long as you need it—You can set up rules to retain data for how long you need it. The data is kept even if users delete messages and files or empty their trash.
- Remove data when you no longer need it—You can schedule Vault to delete data after a duration of time. When the retention period expires, the data is removed from user accounts and purged from all Google systems. (Data under a legal hold is not purged.) The time it takes to remove expired data varies depending on the service. For details, go to Data can remain in Vault after all retention rules expire (later on this page).
Types of retention rules
Default retention rules
If you must keep all data for a service for a set time, set a default retention rule. Default rules apply to data only when a custom rule or hold doesn’t apply. You can’t apply default retention rules to only specific accounts or time periods, and you can only have one default retention rule for each service.
Custom retention rules
If you must keep specific data for a set time, set a custom retention rule. You can specify the data with conditions and terms depending on the service:
-
Gmail and Google Groups—Set by organizational unit, date ranges, and specific search terms.
-
Google Drive, Meet, and Sites—Set by organizational unit, and define expiration based on last modified dates (to address staleness) and created dates (to address compliance requirements), trashed dates, or Drive label date fields.
-
Google Chat—Set by organizational unit or for all Chat spaces in the organization.
-
Google Calendar—Set by organizational unit, and define expiration based on the date the event ends. For details, go to About retention periods.
- Google Voice for Google Workspace—Set by organizational unit and data type.
You can set as many custom rules as your organization needs. Data is retained according to the rule with the latest expiration. For Drive, if a Drive item in trash is subject to multiple retention rules, a moved-to-trash rule supersedes all other retention rules.
Important information about retention
Expand section | Collapse all & go to top