Themewaves
How-To

How to Deactivate a WordPress Theme Safely

Switch themes safely with dashboard, FTP, and WP-CLI steps.

How to Deactivate a WordPress Theme Safely

Understanding WordPress Themes

A WordPress site can run one active theme at a time. To change its design, activate another theme. WordPress then stops using the former theme.

Your theme controls much of your site's look and layout. Posts and pages usually remain after a switch. The new theme may show them in a different way. Check key pages once the switch is done.

Back up your site files and database before you make changes. A backup gives you a way to restore the site if something goes wrong. Check whether your active theme is a child theme. Keep its parent theme installed while the child theme is in use.

Deactivation is not the same as deletion. A theme becomes inactive when you switch to another one. Its files stay on the server until you delete them.

Geometric panels show how a site can switch from one active theme to another
One active theme at a time

Why Deactivate a WordPress Theme?

Deactivating themes in WordPress is part of changing designs, testing a new look, or fixing an error. Switching to a working theme may restore your site after a failed theme update. It can also help you find the source of a display problem.

An inactive theme does not set the live site's design, but its files remain installed. Those files use storage space. WordPress may also check installed themes for updates, which adds work in the admin area.

Old themes that no longer get updates can pose a security risk. Removing themes you do not use cuts clutter and reduces the number of old files on your site. It can help keep theme management simple.

  • Keep a parent theme that an active child theme needs.
  • Keep a spare theme if you use it for tests or recovery.
  • Remove old themes that you no longer need.

Do not delete a theme just to deactivate it. First switch to a different theme and check the site. Delete the old theme only after confirming you no longer need its files.

A red folder and tidy storage shapes suggest removing unused WordPress theme files
Why remove themes you no longer use

How to Deactivate a Theme in WordPress

The WordPress dashboard is the simplest way to switch themes when you can sign in. Back up your site first. Install the theme you want to use, or choose one already installed.

Open Appearance → Themes in the admin area. Select the theme you want, then choose Activate. WordPress starts using that theme and stops using the former one.

Visit the live site after the switch. Check the home page, menus, and a few important pages. Look for missing widgets, changed layouts, or features linked to the old theme.

When you are sure the new theme works, you can delete the old one. Return to the Themes screen and select the inactive theme. Choose Delete and confirm. Do not remove a parent theme needed by an active child theme.

  1. Back up your site files and database.
  2. Install or choose the theme you want to use.
  3. Open Appearance → Themes and activate it.
  4. Check key pages, menus, and theme features.
  5. Delete the old theme only if you no longer need it.

These steps explain how to deactivate a theme in WordPress through the dashboard. The change happens when you activate its replacement. Deletion is a separate choice.

White and graphite shapes beside a crimson panel suggest safe steps for switching themes
Safe steps for a theme switch

Other Options: FTP and WP-CLI

Use FTP if a theme problem blocks access to the dashboard. An FTP client lets you view and change files on your server. Connect to your site and open wp-content/themes.

Find the folder for the theme causing the problem. Rename the folder instead of deleting it. For example, change old-theme to old-theme-off. WordPress can no longer load the theme from its old folder name.

If another theme is installed, WordPress may switch to an available fallback. Your site may still show a plain layout or have a short outage. Once you regain dashboard access, activate a suitable theme and check the site.

WP-CLI is a command-line tool for managing WordPress. Use it only if you have shell access and know the correct site folder. Run wp theme list to see installed themes and their status.

Then run wp theme activate theme-slug. Replace theme-slug with the folder name of your chosen theme. This activates it and stops the former theme from running. The WP-CLI theme activate command lists its options.

If the command fails, check the folder name and confirm the new theme is installed. The WordPress guide to using themes covers theme basics and dashboard steps.

A crimson cable and simple file forms suggest theme recovery through site files
File-based ways to restore theme access

What to Check After Switching Themes

Open the live site in a private browser window. This gives you a fresh view without a saved page or old files in the browser. Check the home page, several posts, and pages that matter most to visitors.

Test menus, sidebars, forms, and theme-based features. Some themes have their own settings or page layouts. A new theme may not support them, so note any missing parts before deleting the old theme.

Check the site on a phone as well as a computer. Look for text that is hard to read, images that overflow, and menus that do not open. If you use a child theme, check its custom styles too.

Keep the old theme installed until the new design works as expected. If you spot a serious issue, you can switch back from the dashboard. When you have finished testing, delete themes you do not plan to use.

Common Questions About Theme Deactivation

Does deactivating a theme delete my pages?

No. Switching themes does not usually delete posts or pages. Their layout and some theme-only features may change.

Can I deactivate a theme without activating another?

WordPress needs an active theme to show the site. Activate another installed theme to stop using the current one.

Should I delete inactive themes?

Delete themes you no longer need, especially old themes that no longer get updates. Keep a parent theme if an active child theme needs it.

What if I cannot open the dashboard?

Rename the problem theme folder through FTP, or use WP-CLI if you have shell access. Back up your site before changing files.

Will switching themes improve site speed?

Switching alone does not ensure a faster site. Removing unused theme files can reduce clutter, but the active theme and other site tools have a greater effect on speed.

Step-by-step

  1. 01
    Back up your site

    Save a backup of your site files and database before you change themes. This gives you a way to restore the site if a problem occurs.

  2. 02
    Choose a replacement theme

    Install the theme you want to use, or select one already installed. Keep any parent theme that an active child theme needs.

  3. 03
    Activate the replacement

    Open Appearance → Themes in the dashboard and select Activate on the replacement theme. WordPress stops using the former theme.

  4. 04
    Check the live site

    Review key pages, menus, forms, and mobile layouts. Fix any missing parts before you remove the former theme.

  5. 05
    Delete the old theme if needed

    Delete the inactive theme from the Themes screen only when you no longer need it. Keep a spare or parent theme when your site needs one.

Frequently asked questions

Does deactivating a WordPress theme delete my pages?
No. Switching themes does not usually delete posts or pages. Their layout and some theme-only features may change.
Can I deactivate a WordPress theme without activating another?
WordPress needs an active theme to show the site. Activate another installed theme to stop using the current one.
Should I delete inactive WordPress themes?
Delete themes you no longer need, especially old themes that no longer get updates. Keep a parent theme if an active child theme needs it.
What should I do if I cannot access the WordPress dashboard?
Rename the problem theme folder through FTP, or use WP-CLI if you have shell access. Back up your site before changing files.
Does switching WordPress themes improve site speed?
Switching alone does not ensure a faster site. Removing unused theme files can reduce clutter, but the active theme and other site tools have a greater effect on speed.
Share XFacebookWhatsApp

Related reading

About cookies on this site

Essential cookies keep pages loading and the enquiry form working. Anything beyond that is optional and we only set it if you say yes. Details live in our Cookie Policy.