How to Delete a Theme in WordPress
Last modified: May 17, 2026
When you build a WordPress website, you install a theme to control the design. Over time, inactive themes pile up — leftovers from the default installation, themes you tested and abandoned, or old versions you forgot about. Cleaning them out is straightforward, but there are a few things to check before you delete anything. Here’s how to do it safely.
* This button will show the rest of the post and open up an offer from a vendor
Why Delete Themes in WordPress
There are four solid reasons to delete unused WordPress themes, and security is the most important one.
Security vulnerabilities in outdated themes
Inactive themes still have code on your server. If an old theme has a known vulnerability and you’re not updating it (because why would you update something you’re not using?), it becomes an open door for attackers. Hackers regularly scan WordPress sites for outdated themes and exploit known security holes. An inactive theme you forgot about can compromise your entire site.
Better update hygiene
Every theme that’s installed gets update notifications. When you have 10 themes installed but only use one, update fatigue sets in — you start ignoring the list. Keeping only the themes you actually use or might need means your update list stays short and meaningful.
Hosting resources and storage
Theme files aren’t huge, but they’re not nothing. Some hosting plans cap your storage, and unnecessary files add up. More practically, every theme installed is another set of files your server has to manage. Fewer installed themes means a slightly tidier, lighter site.
Avoiding conflicts
Plugins occasionally interact with all installed themes, not just the active one. Poorly coded themes can cause conflict errors even when inactive. Removing themes you’ll never use eliminates one more potential source of site issues.
One important rule before deleting: Never delete your only backup theme. WordPress recommends keeping at least one default theme (like Twenty Twenty-Four) alongside your active theme. If your active theme breaks, WordPress automatically falls back to the default — without a fallback, your site could go down entirely.
How to Delete a Theme in WordPress
There are three ways to delete a WordPress theme. The right one depends on whether you can access the dashboard, and how comfortable you are with command-line tools.
Method 1: Via the WordPress Dashboard (recommended)
- Go to Appearance > Themes in your WordPress dashboard.
- Hover over the theme you want to delete. A “Theme Details” button appears — click it.
- In the bottom-right corner of the theme details popup, you’ll see a red Delete link. Click it.
- Confirm the deletion when prompted.
This is the cleanest method. WordPress handles the removal correctly and updates the database.
What if the Delete button isn’t there?
The Delete link only appears on inactive themes. If you’re viewing the active theme, there’s no Delete option — you’d be deleting the theme your site is currently running. To delete it, first switch to a different theme: hover over any other theme and click Activate, then go back to delete the theme you just deactivated.
Method 2: Via FTP
- Connect to your server using an FTP client like FileZilla.
- Navigate to wp-content/themes/.
- Find the folder for the theme you want to delete (the folder name matches the theme slug).
- Right-click the folder and select Delete.
FTP deletion works but skips WordPress’s own cleanup process. It’s fine for removing themes you’ve never activated, but for themes that were once active, the dashboard method is preferable.
A note on child themes: If the theme you’re deleting has an associated child theme (a theme that depends on it as a parent), delete the child theme first, then the parent. Deleting the parent first can break the child theme and cause errors.
Method 3: Via WP-CLI (for developers and advanced users)
If you have SSH access and WP-CLI installed, you can delete a theme in one command:
wp theme delete theme-slug
Replace “theme-slug” with the actual folder name of the theme. To list all installed themes and their slugs first, run: wp theme list
WP-CLI is useful for bulk operations — for example, deleting all inactive themes at once: wp theme delete $(wp theme list --status=inactive --field=name)
After deletion by any method, go to Appearance > Themes in the dashboard to confirm the theme is gone and your active theme is still running correctly.
Final Word: How to Delete a Theme in WordPress
Above are the simple ways how to delete a theme in WordPress. It is a simple process for you to complete on your own. Remember that when you delete a theme from your WordPress website, you will also remove any customizations that are made to the theme. So unless you want to lose these forever, it is important to back up the file for future use.
There are many reasons why you want to learn how to delete a theme in WordPress, just be sure that you’ve got the right reason. If you’re switching things up and looking for something with more personality, our list of retro WordPress themes is a good place to start. After activating a new theme, remember to check your logo — some themes store it separately from the Customizer setting, so you may need to re-upload it. Our guide on how to change the logo in WordPress walks through the full process.
Website Maintenance – Use Promocode: scanwp
Advanced JetPlugins for Elementor
Semrush 14 days trial
Kinsta – Managed WordPress Hosting
Bluehost Hosting