A hosting plan with 10 or 20 GB sounds like plenty for a site with a few hundred pages, yet many WordPress sites hit the limit. When the disk is full, uploads fail, updates stop halfway and backups break, often without a clear error. The space is rarely taken by the content you see. This guide shows where WordPress storage space really goes and how to free it in a safe order.
Signs That Your Storage Is Full
- Uploading an image fails with “Unable to create directory” or “The uploaded file could not be moved”.
- Plugin or WordPress updates fail or leave the site in maintenance mode.
- Backups stop or are suddenly much smaller than before.
- Email on the same hosting account stops receiving messages (on many hosts mail shares the same quota).
- Your host sends a “disk quota exceeded” or “inode limit” warning.
Where WordPress Storage Space Really Goes
Image thumbnails
Every image you upload is saved several times. WordPress creates its own sizes (thumbnail, medium, medium_large, large and two extra large sizes) and, since version 5.3, a scaled copy of large photos while keeping the original. Themes and plugins add their own sizes on top. One photo can become eight to fifteen files. Change the theme a few times and the sizes the old themes used stay on disk, unused.
Unused and duplicate images
Images uploaded for drafts that were never published, the same photo uploaded twice, and full-size originals of images that only ever appear small. On older sites this is often the single largest chunk of wasted space.
Backups stored on the server
Backup plugins often keep their archives in wp-content, and some keep every backup forever. Ten full backups of a 2 GB site take 20 GB, and they do not even protect you if the server fails, because they are on the same server.
Log files
debug.log, PHP error logs and plugin logs can grow for years. A plugin that writes a warning on every page view can produce gigabytes of log.
Cache and leftovers
Cache folders of caching plugins, old copies of plugins left after failed updates, folders of deleted plugins, development leftovers such as node_modules and .git folders, and forgotten zip archives of the site in the root folder.
The database
The database usually counts towards your quota too. Revisions, spam, expired transients, WooCommerce Action Scheduler logs and tables of removed plugins can make it many times larger than the content needs.
Find Out What Uses the Space on Your Site
Before you delete anything, measure. Your hosting control panel may show the total, but rarely what is inside WordPress.
- Install the free Disk Space Analyzer. It scans the WordPress folder in short steps and shows uploads by type, thumbnails, plugins, themes, the largest files, log files and leftovers such as old backup archives. It only reads and never deletes anything.
- Note the biggest items. On most sites the top three explain most of the usage.
- Run it again after cleaning: it compares with the previous scan, so you see what you freed and what keeps growing.
Free Up Space in a Safe Order
- Make a backup and download it. Keep it off the server; see How to download a WordPress backup.
- Delete old backups from the server once you have a copy elsewhere. Keep at most the latest one or two on the server, or none if your backups go to cloud storage.
- Delete or rotate large logs. If a log is large because of a repeated error, fix the error too; Error Log names the plugin behind it.
- Clean unused, duplicate and orphan images with Media Cleanup. It checks posts, page builders, widgets, settings and CSS before offering a file, and moves files to a quarantine you can restore from, so a mistake is never permanent.
- Clean PDFs nobody links to with PDF Cleanup, with a 30-day undo.
- Clean the database with Database Cleanup: revisions, spam, expired transients, old scheduled-task logs and tables of removed plugins.
- Clear the cache folder of your caching plugin from its own settings; it will be rebuilt as needed.
Keep It From Filling Up Again
- Resize photos before upload; a phone photo of 4 to 8 MB rarely needs to be larger than 2560 px on a website.
- Store backups in cloud storage or download them, not on the same server.
- Limit post revisions (for example to 10 per post) with a line in wp-config.php: define( ‘WP_POST_REVISIONS’, 10 );
- Turn off WP_DEBUG_LOG on a live site once the problem it was for is solved.
- Run a disk scan every few months and compare.
Upgrade or Clean Up?
If the scan shows that most of the space is real content, such as product photos you need, a larger plan is the honest answer. But on most sites that hit the limit, a large share is backups, logs, thumbnails and duplicates that serve nobody. Cleaning first is free, makes backups smaller and faster, and tells you how much space the site really needs before you pay for more.
When the Limit Is the Number of Files (inodes)
Some hosts limit not only the size but the number of files, called inodes. A site can hit an inode limit with plenty of gigabytes left, because every thumbnail, cache file and session file counts. Cache folders of caching plugins with thousands of small files, thumbnails of many image sizes, and node_modules folders are the usual causes. The fix is the same as for space: remove orphan thumbnail sizes, clear and limit the cache, and delete development leftovers. Disk Space Analyzer lists these folders with their size.
How to Check the Database Size
Your hosting panel or phpMyAdmin shows the size of each table. Tables of plugins you removed long ago, wp_options with megabytes of autoloaded data, and huge wp_postmeta or Action Scheduler tables are the usual suspects. Database Cleanup shows every table with its owner, size and overhead, so you know which tables belong to plugins that are gone.
Free Tools That Help
- Disk Space Analyzer: What uses your hosting disk space: folders, logs, forgotten archives and thumbnails. Read-only.
- Media Cleanup: Unused, duplicate and oversized images: find them, see the space they take and move them to a restorable quarantine.
- Database Cleanup: Database junk and the plugin that left it: Action Scheduler tables, leftovers, autoload bloat, orphaned data, revisions and transients.
- PDF Cleanup: Every PDF: where it is used, exact duplicates, files nobody links to, and a cleanup you can undo for 30 days.
- Site Backup: Backups in small, resumable steps, with a size report and a standalone restorer.
Frequently Asked Questions
How much hosting storage space does a WordPress site need?
WordPress itself needs well under 100 MB. A typical small business site needs 1 to 5 GB with images; shops and photo-heavy sites more. Measure your own site with Disk Space Analyzer before choosing a plan.
Can I delete the thumbnails WordPress created?
Only the sizes nothing uses. Deleting sizes that your theme or posts still use breaks images. Media Cleanup finds orphan sizes WordPress no longer lists and moves them to a quarantine first.
Does the database count towards my hosting storage?
On most hosts it does. Check your control panel; a cluttered database is often several hundred MB larger than needed.
Is it safe to delete files in wp-content/uploads by FTP?
Not without checking where each file is used. Files deleted by FTP also stay listed in the Media Library as broken items. Use a tool that checks references and keeps a restorable copy.
Why did my site size double after an update?
Usually because a backup plugin stored a new full backup on the server, or a plugin created new image sizes for every image. Disk Space Analyzer compares with the previous scan and shows what grew.