When you delete a file, it is not gone straight away. It moves to the Trash, where it waits for 30 days. After that it is removed for good. Until then you can bring it back with everything it had: its tabs and its share links.
This works the same whether you are signed in or working as a guest. The Trash is shared by every liveworkspace app, so choose All at the top of the page to see a deleted item from another app beside your files.
Opening the Trash
Choose Trash, the last row of the Library in the Explorer sidebar's More group (open the Library if it is folded). It lists your deleted items, and the deleted items of the teams you belong to: any member of a team can restore its items or delete them for good, just as any member can delete them.
You can also delete a file by dragging it onto Trash in the sidebar: the row reads Drop to Trash while you drag, the file moves there when you let go, and dragging one of your folders there asks you first.
Restoring
Choose Restore on a file's row in the Trash (it is in the row's ⋯ menu too); it needs no confirmation, because it destroys nothing. The file goes back to the folder it was in, its share links work again, and anyone you shared it with can open it as before.
Deleting for good
Choose Delete Forever on a file's row (or in its menu) to remove it now, or Empty Trash at the top of a group to remove everything in it: your own files, or one team's. While the Trash shows only every app's items, Empty Trash removes only files, and deleted items from other liveworkspace apps stay in the Trash; with All chosen, it removes every app's deleted items in that group. Both ask you to confirm, and neither can be undone.
A tab that is also in another file is never lost when a file is deleted for good: it stays in the other file, exactly where it was.
While Something Is in the Trash
A deleted file disappears from your lists, Recent, search, Home and the Inbox. Its share links stop opening it, and anyone who still had it open loses access within a few minutes.
Empty Work Goes to the Trash
A file with nothing on any of its tabs, left unchanged for 30 days, moves to the Trash on its own. Its row in the Trash says it went there because it was empty, so you can tell it apart from one you deleted, and it waits the usual 30 days there before it is removed for good. Nothing is sent to tell you: there was nothing in it to lose. Restore it like any other and it comes back as it was. It isn't moved again unless it is changed and then left empty for another 30 days.
Offline Work
Offline files are kept only in this browser, so they have no Trash. Deleting one from the Offline page asks you first, then removes it for good. They are never moved to the Trash for being empty.
Taking your own file offline is a move, not a delete, so it never goes to the Trash. (When a teammate takes a team file offline, it leaves the team, so for the team it goes to the team's Trash.) Deleting your account removes your own files straight away, the Trash included.
For scripts and AI tools
Deleting a file through the API also moves it to the Trash. A script using the API can delete one for good, when it asks for a permanent delete.
Was this article helpful?
Still need help?
Try Troubleshooting, or tell us what you were trying to do.