# Retention (/docs/memory/governance/retention)
Most products shouldn't keep everything forever. Retention sets how long a memory space keeps memories. You can also keep one important memory longer without changing the rule for the whole space.

<Callout type="warn">
A new memory space keeps memories forever unless you choose a retention period when you create it.
</Callout>

## Retention for a space [#retention-for-a-space]

Choose a retention period when you create a memory space in **DUM**:

| Retention | Memories expire |
| --- | --- |
| Forever | Never |
| 30 days | 30 days after they're created |
| 90 days | 90 days after they're created |
| 1 year | 1 year after they're created |

## Keep one memory longer [#keep-one-memory-longer]

Open a memory in the dashboard. Its detail panel shows when it expires and how many days are left. Choose **Extend** and pick a new period:

| Extend to | Result |
| --- | --- |
| 30, 60, 90, or 180 days, or 1 year | The memory expires that long after it was created. |
| Forever | The memory never expires, whatever the space's retention. |

There's no **Extend** option in a space that keeps memories forever, because nothing there expires.

## Which rule applies [#which-rule-applies]

1. A memory's own retention, if you've set one.
2. Otherwise, the space's retention.
3. Otherwise, the memory never expires.

## When a memory expires [#when-a-memory-expires]

1. **Expired.** Docklee checks for expired memories every day. An expired memory stops being recalled.
2. **Recoverable.** For 30 days after it expires, the memory can still be recovered, in case retention was set by mistake.
3. **Deleted.** After those 30 days, the memory is permanently deleted.

Every step is recorded in the audit log.

## What never expires [#what-never-expires]

| Never expires | Why |
| --- | --- |
| Memories set to keep forever | You chose to keep them. |
| Flagged memories | A person hasn't reviewed them yet. |
| Memories under a legal hold | Nothing can be deleted while a hold is active. See [Legal hold](/docs/memory/governance/legal-hold). |

## Next steps [#next-steps]

Your memories expire on schedule. Control who can read them in the dashboard next.

<Cards>
  <Card title="Content Shield" href="/docs/memory/governance/content-shield" description="Hide memory content from dashboard users." />
  <Card title="Deleting a person's data" href="/docs/memory/governance/entity-deletion" description="Erase everything about one entity now." />
  <Card title="Consolidation" href="/docs/memory/intelligence/consolidation" description="How old details become summaries." />
</Cards>
