Skip to content

Choose which cookie categories to allow.

CICO Media
Find image usage

Unattached vs Unused Media in WordPress: They Are Not the Same

Unattached images are not always unused, and attached images are not always in use. Learn what the Uploaded to column really means and how to check safely.

By CICO Media3 min read

On this page

The Unattached filter in the WordPress Media Library looks like a shortcut to unused files. It is not. Deleting everything that says “Unattached” can break pages that look perfectly fine in the Media Library. This guide explains what the label means, why it misleads, and how to check before you delete.

What attached and unattached really mean

When you upload an image from inside a post or page, WordPress stores that post as the image’s parent. The Media Library shows it in the Uploaded to column. If an image has no parent, the library shows Unattached.

That is a record of where the image was uploaded, not of where it is used. Two separate facts, and WordPress tracks only the first.

Four situations you will meet

Attached Unattached
Used somewhere Normal case. It can also be used on other pages that WordPress does not list. Common with builders, custom fields, widgets and theme settings. It looks unused, but it is not.
Not used anywhere Still attached to the post it was uploaded from, even if you removed it from the content. The only real candidate for clean-up, and still worth verifying.

Two lessons come out of this table:

  • Unattached does not mean unused. An image uploaded through Media > Add New, or added later through a page builder, an ACF field, a widget or a theme setting, can show as unattached while it is on your homepage.
  • Attached does not mean in use. An image stays attached to its parent post even after you remove it from that post.
Usage and attachment are different questions. CICO Media Pro shows the usage answer on every card.

Check before you delete

  1. Take a backup. Database and uploads folder.

  2. Check where the image is used. Use the methods in How to Find Where an Image Is Used in WordPress: content search, builders, custom fields, database.

  3. Know that deletion is permanent. WordPress has no recycle bin for media unless you enable it. You can turn on media trash by adding this line to wp-config.php:

    define( 'MEDIA_TRASH', true );
  4. Delete in small batches and visit your most important pages after each batch.

How CICO Media Pro makes this check faster

CICO Media Pro adds a usage index to the native Media Library. Every card shows Used · N or No usage found, and the Where used panel lists the places: the post or page, the source and the frontend status.

You can filter the library by usage, so you see the images with No usage found in one list. Open any of them to check the details before you decide.

Filter by usage, tag, orientation, file size, file type and source.

Two things to keep in mind:

  • No usage found means nothing was found. It is not a promise that an image is safe to delete. Custom code can reference images in ways no plugin can see.
  • CICO never deletes for you. There is no automatic clean-up. You keep the final decision.

In the docs: how to read Used and No usage in Usage Intelligence.

Summary

  • Unattached means “no parent post”. Unused means “no references anywhere”. They are different.
  • Verify before you delete, back up first, and remember that deletion is permanent by default.
  • Use a usage index to see real references, and read the result as a guide, not as a guarantee.

Frequently asked questions

Is unattached the same as unused in WordPress?

No. Unattached means the image has no parent post recorded by WordPress. The image can still be used in a builder layout, a custom field, a widget or a theme setting.

Can I delete all unattached images?

It is not safe to assume so. Check where each image is used first, take a backup, and delete in small batches.

Does WordPress have a recycle bin for media?

Not by default. Deleting from the Media Library is permanent unless you enable media trash with the MEDIA_TRASH setting in wp-config.php.

Does CICO Media delete unused media automatically?

No. CICO Media is designed to give you better information and context, not to delete files automatically.

Get CICO Media Pro