WordPress Media Library Not Loading or Stuck Spinning

You open Media in WordPress and the library never fills in — the spinner keeps turning, the grid stays empty, or thumbnails show as grey boxes. Your images are almost always still there; something is stopping the library from displaying them.

Common signs of this issue

Safe checks you can do yourself

None of these require sharing passwords with anyone.

What this usually means

The media library grid does not load like a normal page. It asks the server in the background (through admin-ajax.php) for a list of your images and expects a clean data reply. If a plugin or theme prints an error into that reply, if a firewall blocks it, or if the server runs out of memory building it, the grid just keeps spinning. That is why the list view often works when the grid does not — list view is built on the server in one go and is less fragile.

The most common cause by far is a plugin or theme conflict, usually right after an update. Next come security rules (a security plugin, a host firewall, or Cloudflare blocking the admin request), server limits (PHP memory or time limits reached on a large library — see memory exhausted errors), and address problems after a move, where the library points to the old domain so thumbnails break. Less often, file permissions on the uploads folder stop images being read, which also tends to break uploads — see HTTP error uploading images.

Your images are rarely gone. The files live in the uploads folder and the records live in the database; the library is only a viewer. That is reassuring, but it also means the fix is about finding what interferes with the viewer rather than re-uploading anything. If images are also missing on the live site, that is a different and more serious problem — see images not loading.

What not to do

When to get help

If list view is also empty, if the developer tools show server errors you cannot trace to a plugin, or if the problem began after a site move, it is time to get help. Those point to memory limits, firewall rules, file permissions, or stored addresses in the database — all fixable, but all places where a well-meant change can break other parts of the site. The same is true if thumbnails are broken site-wide, since repairing addresses or regenerating images is best done once, with a backup, by someone who can check the results. An experienced person will read the actual error, fix the one thing causing it, and leave the rest of your site alone.

Glenn runs WebsiteSelfHelp and fixes stuck and blank WordPress media libraries for small businesses, from plugin conflicts to post-migration address problems. Request a review with a screenshot of what you see (and the browser console, if you managed to open it), and you will get an honest read on the cause and the likely fix — no passwords needed up front.

Not sure what to do next?

Answer a few short questions and we'll point you to the safest next step — DIY, a freelancer, or a direct review. No passwords required.

Is this a business website? If this issue may be costing you leads, sales, or trust, you may want a direct review instead of trial and error.

Frequently asked questions

Why is my WordPress media library not loading?

Most often a plugin or theme conflict is breaking the background request that fills the library grid. Security rules, low server memory, and wrong addresses after a site move are the other common causes. Your images are usually still there.

Why does the media library work in list view but not grid view?

Grid view loads your images through a separate background request that is easily disrupted by plugin errors or firewalls. List view is built directly by the server, so it often works when the grid does not. That difference is a strong clue the problem is a conflict, not missing files.

Did I lose my images?

Almost certainly not. The library is only a viewer for files in your uploads folder and records in your database. If images still show on your live pages, they are safe.

Why don't images I uploaded by FTP show in the media library?

WordPress only lists files that were added through WordPress, because each one needs a database record. Files copied in by FTP exist on the server but are invisible to the library unless they are imported with a tool made for that.

Why are my media library thumbnails broken after moving the site?

The database usually still holds the old domain or an http address, so the admin tries to load thumbnails from the wrong place. A careful search-and-replace of the old address, done with a backup, is the normal fix.

Can a security plugin stop the media library from loading?

Yes. Security plugins and host firewalls sometimes block admin-ajax.php requests they consider suspicious. The browser's Network tab will show a 403 status if that is happening, and the rule can usually be relaxed for logged-in administrators.

How long does it take to fix a media library that won't load?

A plugin conflict is often found and fixed in under an hour. Problems caused by a site move or server limits can take longer, mainly because the fix should be tested with a backup in place.

Related free guides

WordPress site down?

Seeing “There has been a critical error on this website”?

Our guided repair tool logs in over secure FTPS and fixes the most common WordPress failures — safely, with every change backed up and reversible. Start with a free scan, no password needed.

Fix My WordPress Site → Free scan · No download of your site · Reversible