Setup & site building · Guide
How to Remove WordPress Themes Safely (Dashboard, FTP and WP-CLI)

Short answer
To remove a WordPress theme, go to Appearance > Themes, click the theme you want to remove, then click Delete in the bottom-right corner and confirm. You cannot delete the active theme, so switch to another theme first. Keep your active theme, its parent theme if you use a child theme, and one default theme as a fallback.
Key takeaways
- Delete unused themes from Appearance > Themes; the active theme cannot be deleted.
- Never delete the parent theme of an active child theme.
- Keep one default WordPress theme installed as a fallback for troubleshooting.
- Unused themes still need updates, so removing them reduces security risk.
- Deleting a theme removes its files but can leave settings in the database.
Why should you remove unused WordPress themes?
Unused themes still sit on your server and can contain vulnerabilities, so removing the ones you do not need reduces your attack surface, cuts clutter and keeps updates simpler.
A theme does not have to be active to be a risk. Its PHP files can still be reached directly on the server, and an old, unpatched theme can give attackers a way in.
The WordPress security hardening guide recommends keeping software up to date and removing what you do not use. Fewer installed themes also means fewer update notices to manage.
Vulnerable and outdated components are a well-known category of web risk. The OWASP Top Ten lists them among the most common causes of security problems, and an abandoned theme is exactly that kind of component.
Which themes should you keep?
Keep your active theme, the parent theme if your active theme is a child theme, and one recent default WordPress theme such as Twenty Twenty-Five as a fallback; everything else can usually go.
The parent theme rule is the one that catches people out. A child theme depends on its parent for most of its files, so deleting the parent breaks the site. Our explainer on what a child theme is covers how the two work together.
The fallback theme matters when something goes wrong. If your active theme breaks after an update, WordPress can switch to a default theme so you can still reach the dashboard. Site Health also flags it if no default theme is installed.
How do you delete a theme from the dashboard?
Open Appearance > Themes, click the theme's thumbnail to open its details, click the red Delete link in the bottom-right corner and confirm the prompt.
The WordPress documentation for the Themes screen shows where each option sits.
- Go to Appearance > Themes
- Click the theme you want to remove
- Click Delete in the bottom-right corner of the details screen
- Click OK to confirm
- Repeat for any other unused themes
If you do not see a Delete link, you are looking at the active theme. Activate another theme first, then come back.
On a multisite network, themes are deleted from Network Admin > Themes, and only network administrators can remove them. A theme must also be disabled on every site in the network before you can delete it.
How do you switch themes before deleting the active one?
To remove the theme you currently use, first activate another theme from Appearance > Themes, check that the site still looks and works right, then delete the old one.
Switching themes can change menus, widgets and layout. Our guide on how to change a WordPress theme explains what to check before and after the switch.
Take a backup before you change the active theme on a live site. If the new theme causes problems, a backup lets you return quickly.
How do you delete a theme with FTP or a file manager?
Connect with FTP or your host's file manager, open the wp-content/themes folder, and delete the folder named after the theme you want to remove.
This method is useful when the dashboard is not available, for example if a broken theme causes a fatal error. Removing or renaming the active theme's folder makes WordPress fall back to a default theme, if one is installed.
Double-check the folder name before deleting. Theme folder names do not always match the display name in the dashboard, and deleting the wrong folder can take your site down.
If you want to be cautious, rename the folder first, for example by adding -old to the end. If everything still works after a day or two, delete it.
How do you delete a theme with WP-CLI?
Run wp theme list to see installed themes and their status, then wp theme delete followed by the theme's folder name; WP-CLI refuses to delete the active theme unless you force it.
WP-CLI is the official command-line tool for WordPress, available on many hosts. The wp theme delete documentation lists the options, including deleting all inactive themes at once.
This is the fastest method when you manage many sites. Always run wp theme list first, so you know exactly which folder names you are about to remove.
What happens to theme settings after deletion?
Deleting a theme removes its files but usually leaves its saved settings, such as Customizer options and widget positions, in the database, where they do no harm.
WordPress stores theme customisations in the options table under a theme-specific name. If you reinstall the same theme later, many of those settings come back.
Some premium themes create extra database tables or options of their own. These leftovers are normally small. If you want a completely clean database, our guide to optimizing the WordPress database explains safe cleanup methods.
Do you need to remove bundled theme plugins too?
Often yes. Many themes install companion plugins for demo content, page builders or extra features, and those plugins stay installed after you delete the theme.
Go to Plugins > Installed Plugins after removing a theme and look for plugins with the theme's name, such as an extras or companion plugin. Deactivate and delete any you no longer need.
Check first that your content does not rely on them. A plugin that provides shortcodes or custom post types may still power parts of pages you want to keep.
Why can you not delete a theme?
You usually cannot delete a theme because it is active, it is the parent of the active child theme, your user role lacks permission, or file permissions on the server block WordPress from removing files.
Only administrators can delete themes on a single site. If file permissions are the problem, WordPress may ask for FTP details or show an error; deleting the folder by FTP or the file manager solves this.
Some managed hosts and WordPress.com plans also control which themes can be removed. Check your host's documentation if the Delete link is missing for no clear reason.
Should you test theme removal on a staging site first?
For simple sites, deleting inactive themes on the live site is usually fine, but on business-critical sites it is safer to remove them on a staging copy first and confirm nothing depends on them.
Problems are rare when the theme was never active. The risk grows when a theme was used in the past, because old pages may still carry its shortcodes, custom templates or widgets.
A staging site is a private copy of your website. Many hosts create one with a single click, and changes there do not affect visitors.
After testing, repeat the same steps on the live site. Our guide to setting up a local WordPress development environment covers another way to test changes safely.
How many themes should a WordPress site have installed?
Most sites need only two or three: the active theme, its parent theme if you use a child theme, and one default WordPress theme kept as a fallback.
There is no benefit to keeping themes you might try one day. Reinstalling a theme takes seconds, while leaving it installed means one more thing to update and secure.
If you like to test designs, do it on a staging site rather than keeping a library of themes on your live server.
What should you check after removing themes?
Visit your homepage and a few key pages, open Tools > Site Health to confirm there are no new warnings, and check that one default theme is still installed as a fallback.
If you removed companion plugins too, test any pages that used them, such as contact forms or galleries. Broken shortcodes appear as bracketed text on the page.
Finally, keep your remaining themes updated. Our guide on checking whether a WordPress theme is safe covers what to look for when you install themes in future.
Frequently asked questions
Is it safe to delete inactive WordPress themes?
Yes, as long as the theme is not the parent of your active child theme. Keep one default WordPress theme as a fallback, and take a backup before deleting themes on a live site.
Why is there no Delete button for my theme?
The Delete link does not appear for the active theme. Activate another theme first. On multisite, themes are deleted from the network admin, and only network administrators can remove them.
Does deleting a theme delete my posts and pages?
No. Posts, pages, media and users are stored separately from themes. Deleting a theme removes its design files, though content that depended on theme shortcodes may display differently.
Should I keep a default WordPress theme installed?
Yes. A default theme such as Twenty Twenty-Five acts as a fallback if your active theme breaks, letting WordPress load and helping you troubleshoot.
Can I reinstall a theme after deleting it?
Yes. Reinstall it from Appearance then Themes or upload the theme file again. Many of its saved settings remain in the database and may return when you reactivate it.
Sources
- Hardening WordPress WordPress Developer Resources
- wp theme delete WP-CLI Command Reference
- Appearance Themes Screen WordPress.org Documentation
- OWASP Top Ten OWASP
- WP-CLI WP-CLI
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.


