Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Some links on this page are affiliate links: if you buy through them we may earn a commission, at no extra cost to you.

On a self-hosted WordPress site, go to Appearance > Themes, open Theme Details for the inactive theme, and click Delete. WordPress removes that theme’s files and folder, so save any custom code or styling stored in it first. If the button is unavailable, use your host’s file manager, FTP, or WP-CLI.

Before you delete a theme

Make sure it is not active

Switch to another theme before removing the one currently in use. Deleting the active theme is not a normal cleanup step; WP-CLI requires the --force option for it.

Preserve custom work

Theme deletion removes the theme’s files and folders, including edits made directly in those files. Copy or otherwise back up any PHP, CSS, JavaScript, template, or other customizations you may need. This operation concerns the theme files; it does not mean your media library or unrelated site content is deleted.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Identify your WordPress setup

The procedure below is for a self-hosted WordPress.org installation. WordPress.com has separate controls and rules, described later.

Delete a theme from the WordPress dashboard

  1. Sign in to the WordPress administration area.
  2. Open Appearance > Themes.
  3. Select the theme you want to remove.
  4. In the Theme Details screen, choose Delete.
  5. Confirm the deletion if WordPress asks you to.

WordPress.org’s Appearance Themes documentation and housekeeping instructions describe this route. After confirmation, the selected theme’s files and directory are removed from the installation.

What to do when Delete is missing

A missing button can indicate that the theme is active, that your account lacks administrator privileges, or that the host or site configuration is restricting dashboard file changes. Do not remove random folders until you have identified the correct WordPress installation and the exact theme directory.

Use the hosting file manager or FTP

  1. Open your hosting control panel’s file manager, or connect with an FTP account.
  2. Locate the WordPress installation’s wp-content/themes/ directory. The installation path can differ by host.
  3. Find the subdirectory belonging to the theme you want to remove.
  4. Download or copy any files you need to preserve.
  5. Delete only that theme’s subdirectory, then verify the site in WordPress.

WordPress documentation describes host-control-panel and FTP management as a fallback. Filesystem deletion is more manual and easier to aim at the wrong installation, so confirm the path before proceeding.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Use WP-CLI

Administrators with shell access can run:

wp theme delete <theme>

Replace <theme> with the theme’s installed name or slug. The command accepts one or more themes. To delete every theme except the active one, use:

wp theme delete --all

WP-CLI protects the active theme by default. The --force option permits deleting it:

wp theme delete <theme> --force

Use that option only when you deliberately understand the consequence and have another working theme available.

Self-hosted dashboard, file access, or WP-CLI?

Method Access required Best use Main risk
Dashboard WordPress administrator account Routine removal of an inactive theme Direct customizations in the deleted theme are lost
Hosting file manager or FTP Hosting file-management or FTP credentials Dashboard Delete is unavailable Deleting the wrong installation or directory
WP-CLI Shell access and WP-CLI Scripted or administrator-level maintenance Commands can remove multiple themes; --force can remove the active theme
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

WordPress.com: a different workflow

WordPress.com sites do not always expose the self-hosted Themes-screen deletion flow. WordPress.com says every site must have an active theme, so switch themes first.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Uploaded third-party themes

On plugin-enabled WordPress.com plans, uploaded third-party themes can be removed through the site’s current WordPress.com interface. Follow the labels shown for your account, because the hosted workflow is separate from a self-hosted installation.

Themes from WordPress.com’s collection

WordPress.com’s support guidance distinguishes its own collection themes from uploaded themes; collection themes do not need to be deleted. Remove an uploaded theme only when the interface identifies it as such.

Common problems and safe responses

  • The theme is active: activate a replacement theme, then return to Theme Details and delete the old one.
  • You cannot see Delete: confirm that you have administrator access and that you are on a self-hosted site; otherwise use the host’s documented file-management route.
  • You edited the theme directly: stop and copy those changes before deletion. Deleted theme files cannot supply those customizations afterward.
  • You are unsure which folder is correct: check the site’s installation path and theme slug with your host or administrator instead of guessing.
  • The site behaves unexpectedly afterward: restore the saved theme files or reinstall the theme, then investigate which customization or template was required.

Sources and scope

This procedure follows WordPress.org’s Appearance Themes Screen, WordPress Housekeeping, and Work with themes documentation, the official WP-CLI wp theme delete reference, and WordPress.com Support’s Delete a theme guidance (reviewed August 11, 2026). Interfaces and available permissions can vary by host, plan, and account.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.