Back to all articles
TutorialDecember 2, 2026·10 min read

How to Find and Empty the Trash in ChatGPT's Library and Space (2026)

You deleted a batch of old uploads from ChatGPT to tidy up: a draft contract, last year's spreadsheets, a set of screenshots. Then you realize one of those files was the version you still need. Or the opposite happens: you deleted something sensitive and want to be sure it's really gone, not sitting somewhere waiting to come back. Either way, you need to find where deleted files go in ChatGPT, how to get one back, and how to remove it for good.

The short answer: deleted files go to Trash, if Trash is available on your account. OpenAI's Library article says: "On the web, open Library and go to Settings > Trash." From there you can restore a file for up to 30 days, delete it forever, or empty the whole Trash. In Space, deleting a page moves it and its subpages to Trash. And you don't need to empty Trash to free up storage, because OpenAI says Library's storage total already excludes it.

This guide covers what Trash is, where to find it in Library and Space, how to restore a file, how to delete one forever or empty Trash, what deleting a chat does to its files, why a deleted file might still appear, and what to keep in mind before you empty anything.

What Trash is in ChatGPT

ChatGPT saves eligible files you upload or create. OpenAI's Library article says: "ChatGPT automatically saves eligible files you upload or create in a chat." Those saved files live in Library or Space, depending on your plan.

When you delete a saved file, it doesn't vanish at once. It moves out of your main view and into Trash, where it waits for a while before it's removed. OpenAI's article describes the window: "If Trash is available, you can restore a file for up to 30 days after you delete it."

Note the condition in that sentence. Trash may not be available on every account, and OpenAI's article phrases several steps with "if it's available." If you don't see it, the steps below won't apply.

Library or Space: which one you have

Where you look depends on your plan. OpenAI's Library article explains:

  • Free and Go: open Library.
  • Eligible Plus and Pro accounts: "Space replaces Library. There's no separate Library page on the web."
  • Business, Enterprise, Edu, and ChatGPT for Healthcare: open Space if you see it. Otherwise, open Library.

OpenAI's Space article describes Space as "a home for your pages, uploaded files, and other work in ChatGPT." It holds pages, which are editable documents, as well as files.

How to find Trash in Library

OpenAI's steps are short. On the web, open Library and go to Settings, then Trash.

You'll see files you've deleted that are still inside the restore window. From here you can restore them or delete them for good.

If you're checking for a missing file rather than a deleted one, OpenAI's Library article suggests: "If you deleted the file, check Trash in Library on the web, if it's available."

How Trash works in Space

Space has pages as well as files, and deleting a page works differently from deleting a single file. OpenAI's Space article says: "Deleting a page moves it and its subpages to Trash, including subpages owned by other people."

That last part is easy to miss. If a page you own has subpages that colleagues created, deleting your page moves their subpages to Trash too. OpenAI's article advises: "Check the subpages before deleting the parent page."

OpenAI's Space article describes deleted pages going to Trash but doesn't give a separate path for opening it. The Library steps above are the ones OpenAI documents.

How to restore a file from Trash

If you deleted something by mistake, OpenAI's steps to restore it are:

  1. On the web, open Library and go to Settings, then Trash.
  2. Open the file's more options menu.
  3. Select Restore, then select Restore again to confirm.

There's one thing to check after restoring. OpenAI's article says deleting a file from Library also removes it from projects that use it, and adds: "If you restore the file, you may need to add it back to a shared project."

Act within the window. OpenAI says you can restore a file for up to 30 days after you delete it, and adds: "Your workspace's retention policy may shorten that time."

How to delete a file forever or empty Trash

To remove a single file permanently, OpenAI's steps are: open the file's more options menu, select Delete forever, then select Delete forever again to confirm.

To clear everything at once: "To permanently delete all files in Trash, select Empty trash, then select Delete forever to confirm."

After that, OpenAI describes what happens on its side: "OpenAI schedules deleted files for permanent deletion from its systems within 30 days." It lists two exceptions: the file's content has already been de-identified and disassociated from your account, or OpenAI must retain the file longer for security or legal obligations.

You don't need to empty Trash to free up storage

If you're emptying Trash because you're running low on space, OpenAI's Library article says that isn't necessary: "When Library updates your storage total, it excludes files in Trash. You don't need to empty Trash to free up space."

To check your storage, OpenAI's article says to open Library on the web and go to Settings, then Storage. Storage limits vary by plan, and OpenAI notes that your Library storage limit is separate from limits on how often you can upload files or send messages.

So empty Trash when you want something gone for good, not to make room.

What deleting a chat does to its files

Files and chats are connected but separate, which causes confusion. OpenAI's article on deleting chats says: "When you delete a single chat on the web, you can also move files you uploaded or created in that chat to Trash."

When you delete a chat, look for the option labeled "Also delete files uploaded or created in this chat". Leave it checked to move those files to Trash, or clear it to keep them.

Two more rules from OpenAI's articles:

  • Saved copies stay. OpenAI's upload article says: "Deleting a chat does not delete a file saved separately in Library or Space."
  • Files from elsewhere aren't affected. OpenAI's chat deletion article says the option "doesn't affect files you added from Library or Space that came from another chat."

To remove files that remain, delete them in Library or Space.

Why a deleted file might still appear

Sometimes a file you deleted seems to still be there. OpenAI's Library article has a short troubleshooting section for this: "If you see the file only in Trash, you've already removed it from your main Library view." It adds: "Emptying Trash won't delete a file that's still in the main view."

So if you still see the file in the main view, delete it there too. If it reappears or you see an error, OpenAI's article says to tell OpenAI Support which step failed and whether it happened with one file or several.

Locked chats are another case. OpenAI's article says: "When a chat is locked, files you uploaded or created in it are hidden from Library or Space." You can open them only in that chat. If you permanently unlock the chat, the files previously saved to Library or Space reappear there.

And connected files work differently. OpenAI's article says you can't delete connected Google Drive files or folders from Library, and that to manage or delete the original, you open it in Google Drive.

If a file isn't in Trash

Sometimes the file you're looking for isn't in Trash or in your main view. OpenAI's Library article lists places to check:

  • The right account. Check that you're signed in to the account and workspace where you used the file.
  • The sidebar search. If you don't see Library or can't find the file in Space, OpenAI suggests searching for the file from the sidebar.
  • A locked chat. If you uploaded or created the file in a locked chat, open that chat.
  • A connected app. If the file is in a connected app, check that you still have access to it there.
  • Images. If you're looking for an image you created, check Images.

Temporary chats are a separate case. OpenAI's article says: "While a chat remains temporary, ChatGPT doesn't save your uploads to Library or Space." A file from a temporary chat may never have been saved, so it won't be in Trash either.

What people try first

Emptying Trash to free up storage. Library's storage total already excludes Trash.

Deleting a chat and expecting its saved files to go too. Saved copies in Library or Space stay unless you delete them.

Deleting a parent page without checking subpages. Subpages move to Trash with it, including other people's.

Restoring a file and expecting it back in a shared project. You may need to add it back.

Looking for a deleted locked-chat file in Library. Files from locked chats are hidden there.

The Fix: A simple routine for Trash

Step 1: Know where your files live

Check whether your account uses Library or Space, so you know where to look.

Step 2: Review Trash before emptying it

Open Settings, then Trash, on the web, and restore anything you still need.

Step 3: Check projects after restoring

Add restored files back to any shared projects that used them.

Step 4: Keep what matters outside the file

When a file holds a decision or fact you'll need again, write it down in your own words, separately from the file.

Setting this up in MemoryLake

Library, Space, and Trash manage files well. But files get deleted, retention policies shorten windows, and the decisions inside a file, such as which contract terms you agreed to or which numbers a forecast used, are often needed in other assistants too.

MemoryLake is a memory layer for that kind of context, kept in one place you maintain and available to the assistants you connect, such as ChatGPT, Claude Code, and Codex.

You write the entries yourself, in your own words. Nothing is read out of, written to, or deleted from your ChatGPT Library, Space, Trash, chats, projects, ChatGPT's memory, or any vendor's store. ChatGPT's Trash works the way OpenAI describes it.

Step 1: Create an API key

Sign in and generate a key from the dashboard. Keep it somewhere private.

The MemoryLake console showing the API keys screen, where a new key is created and copied for use in an agent
The MemoryLake console showing the API keys screen, where a new key is created and copied for use in an agent

Step 2: Upload your first memories

Start with what you wrote in Step 4 of the routine: the decisions and facts you want to keep regardless of what happens to the files.

The MemoryLake workspace with the first documents uploaded, listing each file as it becomes searchable memory
The MemoryLake workspace with the first documents uploaded, listing each file as it becomes searchable memory

Step 3: Connect your AI & agents

Connect ChatGPT, Claude Code, Codex, and the other assistants you use, so the same context is there in each.

The MemoryLake integrations screen listing the AI clients and agent frameworks that can be connected to the memory layer
The MemoryLake integrations screen listing the AI clients and agent frameworks that can be connected to the memory layer

What this changes in practice

The first difference is that cleaning up is less risky. Deleting an old file doesn't mean losing the decision it recorded.

The second is less digging. You don't have to search Trash for a file just to find one fact.

The third is reach. The same facts are available in the other assistants you use.

Best practices for ChatGPT's Trash

Review before you empty. Restore what you need first.

Don't empty Trash for space. Storage already excludes it.

Check subpages before deleting a page. They go to Trash with the parent.

Read the checkbox when deleting a chat. It decides whether that chat's files move to Trash.

Restore within the window. Up to 30 days, possibly shorter under a retention policy.

Re-add restored files to shared projects. They're removed from projects on deletion.

Manage Google Drive files in Google Drive. Library can't delete connected originals.

Conclusion

ChatGPT's Trash holds deleted files, if it's available on your account. On the web, open Library and go to Settings, then Trash, to restore a file for up to 30 days or delete it forever, or select Empty trash to clear everything. In Space, deleting a page moves it and its subpages to Trash, including subpages other people own. You don't need to empty Trash to free up storage, and emptying it won't remove a copy still in your main view.

Deleting a chat can move its files to Trash if you leave that option checked, but saved copies elsewhere stay. Review before you empty, check subpages before you delete, and keep the facts you'll need again written down somewhere you control.

Frequently asked questions

Where is the Trash in ChatGPT?

On the web, open Library and go to Settings, then Trash, if Trash is available on your account.

How long can I restore a deleted file in ChatGPT?

Up to 30 days after you delete it. A workspace retention policy may shorten that time.

Do I need to empty Trash to free up space in ChatGPT?

No. OpenAI says Library's storage total excludes files in Trash.

Does deleting a chat delete its files?

Only if you leave the option to also delete its files checked. Files saved separately in Library or Space stay.

What happens when I delete a page in Space?

It moves to Trash along with its subpages, including subpages owned by other people.

Why does a deleted file still appear in my Library?

There may be a copy still in the main view. Emptying Trash won't delete a file that's still in the main view.

Can I delete Google Drive files from ChatGPT's Library?

No. OpenAI says to open the original in Google Drive to manage or delete it.