Setup & site building · Guide
How to See Trash in WordPress (Step by Step)

Short answer
Open Posts, then All Posts, and click the Trash link above the list. Pages, comments and WooCommerce products have the same Trash link on their own screens. The link only shows when trash has items, and WordPress empties it automatically after 30 days by default.
Key takeaways
- Each content type has its own trash, not one central bin.
- The Trash link appears only when that trash has items.
- Trashed items are deleted automatically after 30 days by default.
- Media skips the trash unless MEDIA_TRASH is turned on.
- Restore items by hovering over them and clicking Restore.
How do you see the trash in WordPress?
Go to Posts, then All Posts, and click the Trash link in the row of filters above the list; pages, comments and WooCommerce products have the same Trash link on their own list screens.
WordPress doesn't have one central trash can like a computer desktop. Each content type keeps its own trash, so trashed pages sit under Pages and trashed comments sit under Comments.
The Trash link only appears when there's something in it. If you don't see it, that type's trash is empty.
This guide shows where to find each trash, how to restore or delete items, and what to do when something you deleted doesn't appear there.
If you manage the site from the command line, the WP-CLI handbook covers commands for listing and deleting trashed posts in bulk.
Where is the trash for posts and pages?
The trash for posts is at Posts, then All Posts, then Trash, and the trash for pages is at Pages, then All Pages, then Trash.
Step by step for posts:
- Log in to your WordPress dashboard.
- Click Posts in the left menu.
- Look at the links above the post list: All, Published, Drafts and so on.
- Click Trash, which shows a count in brackets.
For pages, click Pages instead and follow the same steps.
You can also go straight to the trash with a URL. Replace the domain with your own:
https://example.com/wp-admin/edit.php?post_status=trash&post_type=post
https://example.com/wp-admin/edit.php?post_status=trash&post_type=page
The WordPress Posts screen documentation describes these status filters in more detail.
Where is the trash for other content types?
Every content type that uses the WordPress post list, such as products, portfolio items and forms, has its own Trash link on its list screen.
Here's where to look for the most common ones:
| Content | Where to find its trash | Notes |
|---|---|---|
| Posts | Posts, All Posts, Trash | Auto-deleted after 30 days by default |
| Pages | Pages, All Pages, Trash | Same as posts |
| Comments | Comments, Trash | Separate from Spam |
| WooCommerce products | Products, All Products, Trash | Same as posts |
| WooCommerce orders | WooCommerce, Orders, Trash | Layout depends on order storage setting |
| Custom post types | That type's menu, Trash link | Only if the type supports trash |
| Media | No trash by default | Deleting is permanent unless trash is enabled |
| Users, menus, plugins | No trash | Deleting is permanent |
For comments, note the difference between Spam and Trash. Spam is for unwanted comments flagged by you or a plugin. Trash is for comments you deleted.
For WooCommerce orders, the screen you see depends on whether your store uses High-Performance Order Storage. Either way, look for a Trash filter above the orders list.
How do you restore something from the trash?
Open the trash, hover over the item and click Restore, and WordPress puts it back with the status it had before, usually as a draft or published post.
Steps:
- Open the trash for that content type.
- Hover over the title of the item.
- Click Restore.
- Go back to All to find it.
To restore many at once, tick the boxes next to each item, choose Restore from the Bulk actions dropdown and click Apply.
Restored posts normally go back to their earlier status. Check them before you assume they're live again. Some may come back as drafts and need publishing.
If a restored page used to have a custom URL, WordPress may have changed the slug when it was trashed. Our guide on what a permalink is explains slugs, and you can edit it back in the page settings.
How do you empty the trash or delete items for good?
Open the trash and click Empty Trash to delete everything in it, or hover over one item and click Delete Permanently.
Steps:
- Open the trash for the content type.
- To remove one item, hover over it and click Delete Permanently.
- To remove everything, click Empty Trash at the top or bottom of the list.
There's no undo after this. The item is removed from the database.
Take a backup first if there's any chance you'll need the content later. Our guide on how to restore a WordPress site from backup shows how to get content back once it's gone from the trash.
For deleting individual posts the normal way, see how to delete a blog post on WordPress.
How long does WordPress keep items in the trash?
WordPress keeps trashed posts, pages and comments for 30 days by default and then deletes them automatically during its scheduled clean-up.
You can change this number with the EMPTY_TRASH_DAYS constant in wp-config.php. For example, to keep items for 60 days:
define( 'EMPTY_TRASH_DAYS', 60 );
Setting it to 0 turns the trash off completely. Then the delete link removes items for good straight away, which is risky.
The wp-config.php documentation lists this and other settings. Our guide on where to find wp-config.php shows where the file lives.
Automatic deletion runs through WP-Cron, which only fires when someone visits the site. On quiet sites, old items may stay a little longer than 30 days.
Why can't you find deleted media in the trash?
Media files skip the trash by default, so when you delete an image from the Media Library it's removed permanently along with its files.
WordPress shows a warning before you delete media for this reason. If you've already deleted an image, the only way back is a backup.
Developers can turn on a media trash with this line in wp-config.php:
define( 'MEDIA_TRASH', true );
After that, the Media Library list view shows a Trash link, and deleted media can be restored like posts. Test this on a staging site first, since some media plugins don't expect it.
Our guide on how to delete media in WordPress covers safe ways to clean up the library.
Why don't you see the Trash link at all?
The Trash link is hidden when the trash is empty, when your user role can't see others' posts, or when the trash is disabled through EMPTY_TRASH_DAYS.
Check these causes in turn:
- Empty trash. Nothing to show. The item may already be permanently deleted.
- Auto-cleaned. It was trashed more than 30 days ago.
- User role. Authors and Contributors only see their own posts. Ask an Administrator or Editor to check. Our guide to WordPress user roles explains who can see what.
- Trash disabled. Someone set EMPTY_TRASH_DAYS to 0 in wp-config.php.
- Wrong content type. A product won't appear in the posts trash. Check the right menu.
If you still can't find it, search the database or a backup. Developers can look in the wp_posts table for rows with post_status set to trash.
How do you see the trash on WordPress.com?
On WordPress.com, the trash works the same way: open Posts or Pages in your site's dashboard and click the Trash tab or filter.
WordPress.com's own dashboard view may label things slightly differently, but posts and pages still have a Trash filter. Items there can be restored or deleted permanently.
WordPress.com explains this in its support article on trashing and restoring posts. As with any site, permanently deleted items need a backup to get back.
How can you see the trash with WP-CLI?
Developers can list trashed posts with WP-CLI by running the post list command with the post status set to trash.
This is handy on large sites or when the dashboard is slow:
wp post list --post_status=trash --post_type=post
wp post list --post_status=trash --post_type=page
To restore one, update its status back to draft or publish with wp post update. To delete one for good, use wp post delete with the force flag.
The wp post list command reference shows every option. Always take a backup before deleting anything from the command line.
How do you stop deleting things by accident?
Limit who can delete content, keep regular backups, and consider a longer trash period so mistakes can be undone.
Practical steps:
- Give editors and authors only the roles they need.
- Keep daily backups on sites with frequent edits.
- Raise EMPTY_TRASH_DAYS if your team often needs older items back.
- Use an activity log plugin to see who deleted what.
Our guide on how to audit user activity in WordPress shows how to track deletions. That helps you find out what happened when something goes missing.
Frequently asked questions
Can I recover a post after emptying the trash?
Not from inside WordPress. Once the trash is emptied, the post is removed from the database. Restore it from a backup, or check whether your host keeps automatic backups you can roll back to.
Does WordPress have a recycle bin for the whole site?
No. Posts, pages, comments and other content types each keep their own trash on their list screens. Media, users, menus and plugins don't use the trash, so deleting them is permanent.
Why did my trashed posts disappear?
WordPress automatically deletes trashed items after 30 days by default. Someone may also have emptied the trash or deleted the items permanently. Check your backups if you need them back.
Can authors see the trash?
Authors and contributors can see trashed items they created themselves, but not other people's. Editors and administrators can see and restore everything in the trash.
How do I change how long WordPress keeps trash?
Add the EMPTY_TRASH_DAYS constant to wp-config.php with the number of days you want. Setting it to zero turns the trash off, so deleted items are removed immediately, which isn't recommended.
Sources
- Posts Screen WordPress.org Documentation
- Editing wp-config.php WordPress Developer Resources
- wp post list WordPress Developer Resources
Is your product missing, or something out of date?
Tell us what to add or correct. We read every note and reply when we need a source. A message does not buy a ranking.
Thanks — we review requests within 3 business days.
Related guides
About the editors
Researched from the primary sources listed above and checked against our editorial rules before publishing.


