HomeBlogHow to Delete a Theme in WordPress (3 Safe Ways)

How to Delete a Theme in WordPress (3 Safe Ways)

By Updated: 0

How do I delete a theme in WordPress?

Go to Appearance > Themes, click the theme you want to remove, open Theme Details and click Delete in the bottom-right corner. You cannot delete the active theme from the dashboard, so activate another one first. Keep one default Twenty-series theme installed as a fallback, and back up the theme folder if you ever edited its files.

Best for: site owners who want to remove unused themes for security and a tidier dashboard

Unused themes are more than clutter. Each one is code that still needs updates, and an outdated theme can become a security hole even when nobody sees it. In this guide, we show you how to delete a theme in WordPress in three ways, and what to check before you click Delete.

Before you delete: three quick checks

First, make sure the theme is not active. WordPress will not let you remove the active theme from the dashboard, so switch to another one if needed. Next, look for a child theme. If your site runs a child theme, its parent must stay installed. Finally, back up the theme folder if you ever edited its files, because deletion removes them for good.

Not sure which theme your site really uses? Our free WordPress Theme Detector shows the active theme and its parent in seconds.

Method 1: delete a theme from the dashboard

  1. Log in to your WordPress admin.
  2. Go to Appearance > Themes.
  3. Hover over the theme and click Theme Details.
  4. Click Delete in the bottom-right corner of the overlay.
  5. Confirm the prompt.

The whole process takes less than a minute. However, the Delete link only appears for inactive themes, and only for users who can delete themes, which means administrators by default.

On a multisite network, themes live at the network level. Therefore, a super admin removes them under Network Admin > Themes, after disabling them for every site.

Method 2: remove a theme with WP-CLI

If you manage several sites, the command line is faster. Connect over SSH and run wp theme list to see each theme’s slug. Then run wp theme delete twentytwentytwo to remove one. As a result, you can clean up a dozen sites with a short script.

WP-CLI also protects the active theme. It only deletes it when you add the --force flag, and there is rarely a good reason to do that.

Method 3: delete the theme folder over FTP

Sometimes the dashboard is broken, for example after a theme update crashes the site. In that case, use FTP or your host’s file manager. Open wp-content/themes/, find the folder named after the theme’s slug and delete it.

If you delete the active theme this way, WordPress falls back to a default theme on the next page load. That only works when a default theme is installed, which is one more reason to keep one.

Which themes should you keep?

Keep your active theme, its parent if you use a child theme, and one recent default theme such as Twenty Twenty-Five. The default theme is your safety net when something breaks. Everything else can go.

Are you deleting a theme because you plan to switch? Then compare our lightweight theme comparison and the best multipurpose WordPress themes first. Moving hosts at the same time? Our WordPress migration guide covers that step.

Deleting WordPress themes — quick answers

Does deleting a theme delete my content?

No. Posts, pages, media and most settings live in the database and the uploads folder, not in the theme. However, theme-specific widgets and shortcodes may stop showing until your new theme supports them.

Why is there no Delete button?

Either the theme is active or your user cannot delete themes. Activate another theme first. On multisite, only a super admin can delete themes.

Can I reinstall a deleted theme?

Yes. Free themes install again from Appearance > Themes > Add New Theme. Premium themes need the zip file from your purchase account and often your license key.

Should I delete the default themes?

Keep one recent default theme as a fallback. Older default themes that you never use can go.

Updated on by in Blog, Guides.

Hey, like this post? Why not share it with a buddy?

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.