OpenAI

Chat and File Retention Policies in ChatGPT

Understand how your chats and files are stored, how long they are retained, and how you can manage or delete them when needed.

Updated: 2 days ago

Note: Data retention for certain services may be affected by recent legal developments – please see our blog post for more details

Chats

Chats are saved to your account until you delete them manually.

  • When you delete a chat (or your account), the chat is removed from your account immediately and scheduled for permanent deletion from OpenAI systems within 30 days, unless:

    • The chat has already been de-identified and disassociated from you, or

    • OpenAI must retain it longer for security or legal obligations.

  • Once you delete a chat, you cannot recover it. Deleting a chat removes it both from your visible chat history and the system after the retention window.

Archiving vs Deleting:

  • If you simply want to hide a chat from your sidebar (but keep it in your account), you can archive it instead of deleting it.

  • Archived chats follow the same retention rules as unarchived chats and can be managed in your ChatGPT Settings.

  • For additional instructions on how to delete and archive chats, please visit here:

Temporary Chats:

  • When using Temporary Chat mode, your chats are automatically deleted from OpenAI systems within 30 days, even without manual deletion.

  • Learn more about Temporary Chats here: Temporary Chat FAQ

See also: How your data is used to improve model performance

Files

Files uploaded during a conversation (e.g., documents, images) are stored in your Library for use across chats. Chats and files are managed separately. Deleting a chat does not delete files saved to your Library.

If you delete the conversation that contained an uploaded file, the file (if still active) will remain in your Library until you delete it. You can view and delete files at any time from your Library.

Custom GPTs and projects

Files uploaded to to a custom GPT or project (including shared projects) are retained until the GPT or project is deleted. Once deleted, the file is removed within 30 days unless legal/security exceptions apply.

Compliance API Considerations (Enterprise Only)

  • Files uploaded into conversations expire independently of chat retention settings.

  • After a file expires or a conversation reaches the configured retention period, it becomes unavailable via Compliance API immediately, but OpenAI’s internal backups may retain it for up to 30 additional days (not accessible via Compliance API).

  • If a file has expired (after 48 hours for Enterprise users), you may encounter errors when trying to access or delete it via the Compliance API, such as:

{
"error":
{
"message": "File not found in workspace.",
"type": "invalid_request_error"
}
}

Was this article helpful?