Trusted WordPress tutorials, when you need them most.
Beginner’s Guide to WordPress
WPB Cup
25 Million+
Websites using our plugins
16+
Years of WordPress experience
3000+
WordPress tutorials
by experts

How to Properly Uninstall a WordPress Plugin (Beginner’s Guide)

As your website grows and evolves, you may discover that you have installed plugins that are no longer necessary for its operation. Removing those unneeded plugins can improve the performance and security of your WordPress website.

Unused plugins can slow down your website and create potential security vulnerabilities. Regularly auditing and deleting plugins that you no longer need is part of good site management.

In this article, we will show you how to properly uninstall a WordPress plugin.

How to Properly Uninstall a WordPress Plugin (Beginner's Guide)

Why Do You Need to Uninstall WordPress Plugins?

There are thousands of WordPress plugins available. While it is easy to install a WordPress plugin on your site, it is also important that you uninstall any WordPress plugins that you no longer wish to use.

WordPress plugins are like apps that you can run on your site. This gives them enormous control over your site. While plugin authors do their best to keep the plugins secure and safe, vulnerabilities can occur occasionally.

This means that any plugin that you are not using on your site can be a potential liability. This is especially true if you don’t update them, which can lead to security threats.

Keeping unnecessary files on your site also increases your WordPress backup size, and it will take more time for you to download or restore a backup.

Of course, you can install as many WordPress plugins as you need. However, if you are not using a plugin, then we believe that you should uninstall it properly.

What Is the Difference Between Deactivating and Uninstalling a WordPress Plugin?

Deactivating a plugin is like shutting it down when not in use. Many users fall into the habit of simply going to the Plugins page and deactivating plugins that they don’t want to use.

Deactivating a plugin without permanently deleting it is very handy for debugging and bug fixes because it keeps your settings and configuration in place should you reactivate.

However, often, users end up finding a different solution and never using the plugin again.

Inactive plugins in WordPress

A deactivated WordPress plugin can still make your site vulnerable because it can still be used to run malicious code on your site.

That’s why we always recommend that you should only deactivate plugins when you want to disable them temporarily. If you do not intend to activate it any time soon, then it is better to uninstall the plugin.

By properly uninstalling the plugin, you also keep your database clean of junk data that plugins often leave behind. This helps improve your site’s performance, as your database won’t be bloated with unnecessary data.

That being said, let’s take a look at how you can remove a plugin from your WordPress website. Here are the topics we will cover:

How to Uninstall a WordPress Plugin

WordPress makes it super easy to uninstall plugins from the admin area. Simply log in to your WordPress dashboard and go to the Plugins » Installed Plugins page.

You will see the list of currently installed plugins on your site. Active plugins are highlighted with a blue background color and have a link to Deactivate them.

Uninstall or Delete a WordPress plugin

On the other hand, inactive plugins have a link to Activate or Delete them from your site. To uninstall a plugin, go ahead and click on the ‘Delete’ link below the plugin’s name.

WordPress will now ask you to confirm that you want to delete the plugin and its data. You can simply click the ‘OK’ button to continue.

Delete a plugin

WordPress will now safely remove plugins from your web server. That’s all, you have successfully uninstalled a plugin from your WordPress site.

You can take more steps to remove all traces of the plugin. However, these steps are optional and not recommended for absolute beginners.

Removing Extra Files Added by a WordPress Plugin

In most cases, simply deleting a WordPress plugin will uninstall it completely. However, some plugins store files outside of the plugins folder. Those files will not be deleted when you uninstall the plugin.

You can check and delete files stored by the plugin using your WordPress hosting file manager or an FTP client. Simply connect to your website using FTP and then go to the /wp-content/ folder.

Delete extra files using FTP

Many WordPress backup plugins, gallery plugins, and sliders create and store data directly in the wp-content folder. If you do not have a complete backup of your WordPress site, then you should download these files to your computer as a backup.

After that, you can safely delete these files from your server using an FTP client.

Removing Unused Shortcodes in WordPress

Many WordPress plugins use shortcodes to add things to your posts or pages. Once you deactivate or uninstall a plugin, those shortcodes will become visible in your posts, and they look quite ugly.

Here’s what a shortcode would look like in your content:

[pluginshortcode]

You can easily disable shortcodes by adding this code to your theme’s functions.php file or by using a code snippets plugin such as WPCode (recommended):

add_shortcode( 'pluginshortcode', '__return_false' );

This code adds the shortcode back and makes it display nothing. Don’t forget to replace pluginshortcode with the shortcode tag used by the plugin you want to remove.

It is important to note that you will need to remove this code if you ever decide to use that plugin again.

You can also remove shortcodes using a plugin. For detailed instructions, see our guide on how to find and remove unused shortcodes from WordPress posts.

Cleaning Up the WordPress Database

Some WordPress plugins create their own tables in the WordPress database. If these tables have too much data in them, then that would increase your WordPress backup size.

You can delete those tables using phpMyAdmin. However, we must warn you that you should be very careful about making any changes to the WordPress database.

The slightest mistake while making changes to your site’s database can break your website. That’s why it’s highly recommended that you have a complete WordPress backup before you perform any action.

All of our recommended WordPress hosting providers offer cPanel with phpMyAdmin.

Go ahead and log in to your cPanel account and then scroll down to the database section. Next, you can click on the ‘phpMyAdmin’ icon.

Selecting phpMyAdmin on cPanel

After that, you will need to click on your database and select the tables you want to delete.

Once you have chosen the tables, simply select the ‘Drop’ option from the drop-down menu at the bottom of the list to remove them.

Drop table in database

You will now see a warning that you are about to delete these tables.

You need to click on the ‘Yes’ button to confirm the action.

Confirmation message for dropping tables

phpMyAdmin will now drop the tables and will delete all data in those tables. Please note that this action is irreversible because once you’ve deleted the tables, you will not be able to restore them unless you have a backup.

For more details, you may want to check out our beginner’s guide to WordPress database management with phpMyAdmin.

Expert Guides on WordPress Plugins

We hope this article helped you learn how to properly uninstall a WordPress plugin. You may also want to see some other guides related to making the most of plugins in WordPress:

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

Disclosure: Our content is reader-supported. This means if you click on some of our links, then we may earn a commission. See how WPBeginner is funded, why it matters, and how you can support us. Here's our editorial process.

Editorial Staff

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi with over 16 years of experience in WordPress, Web Hosting, eCommerce, SEO, and Marketing. Started in 2009, WPBeginner is now the largest free WordPress resource site in the industry and is often referred to as the Wikipedia for WordPress.

The Ultimate WordPress Toolkit

Get FREE access to our toolkit - a collection of WordPress related products and resources that every professional should have!

Reader Interactions

18 CommentsLeave a Reply

  1. kzain

    Great guide! I was having a bit of trouble with a plugin slowing down my website. This step-by-step process made it super easy to remove it. One thing I’d add is to emphasize the importance of creating a full website backup before uninstalling any plugin, just in case something goes wrong. Thanks for sharing!

  2. Dennis Muthomi

    Are there any plugins or tools you’d recommend to help automate the cleanup process after uninstalling a plugin?
    I am asking this because I am a beginner on phpMyAdmin, and I want to avoid messing up my site.

    • WPBeginner Support

      Our recommendation would be to check with the plugin’s support as only some plugins would have external files and most that do should have a process outlined for where to find their specific files.

      Admin

    • Jiří Vaněk

      I have experience with the Advanced Database Cleaner plugin. Thanks to it, I was often able to find unused data in the database, such as the remnants left after uninstalling plugins. Definitely give it a try. It helps a lot with working in MySQL without having to go into the phpMyAdmin interface, and it can be especially helpful for beginners. However, I always recommend making a backup before any changes to the database, in case anything goes wrong.

      • Dennis Muthomi

        THANK YOU SO MUCH Jiří !
        I really appreciate you taking the time to suggest the Advanced Database Cleaner plugin. I checked it out, and you’re right – the interface looks very intuitive even for a beginner like me.
        Thanks again for the recommendation!

      • kzain

        It’s great for finding plugin leftovers and cleaning up your database without messing with phpMyAdmin. Just remember to backup first, though!

      • Mrteesurez

        Thanks for sharing your experience with the Advanced Database Cleaner plugin. I’ve had issues in the past where I uninstalled a plugin but still found remnants left behind, which was frustrating. I’m glad to know this plugin can help clean up unused data without needing to go into phpMyAdmin. I’ll definitely give it a try. Do you know if it also handles leftover files and folders? Your advice about making a backup is spot on, definitely a step not to skip.

  3. Mrteesurez

    I have this issue of deleting a plugin and still finding some left over files and folders, I have learnt here to delete it but how will I Identify those files and folders amidst others there ?

    • WPBeginner Support

      It would depend on the plugin and the files added by the plugin but it would be a manual search unless the plugin has documentation on the extra files to look for.

      Admin

  4. Moinuddin Waheed

    I have doing the same for a long time and never realised that just deactivating doesn’t solve the problem from the root.
    I have deactivated and not used and not deleted in the hope to use some day. installed other alternative plugins.
    Thanks for making it clear that deactivated plugins can also be a gateway of vulnerabilities of malicious codes and activities.
    I will ensure to delete any plugin if not using rather than just deactivating it.

    • WPBeginner Support

      Glad we could share and clarify this :)

      Admin

  5. Yf

    Hi, thanks for the tutorial

    • WPBeginner Support

      You’re welcome :)

      Admin

  6. Axel Metayer

    You could talk a bit more about the option table and all the stuff that’s stored there or stays there after an uninstall

  7. Digember

    Nice tutorial. Covers all the details

  8. Krishna Prasad

    Hi, I recently removed my comingsoon plugin from my site which was used in my site during maintanence mode but after deleting still my pages and posts when share on social sites stil it shows site coming soon also my ads are not displaying on old pages only its displays on newly added pages after removal of that plugin pls help me how to get rid of it!

  9. Arturo Treviño

    Thanks for the post, this kind of posts can help many begginers as me.

    Thabks again.

  10. Kimberly

    Thank you for this article! I have been receiving your updates for over a year, never having time to sit and learn WP, but knew this was a great resource.
    I am a novice at WP, but quickly ramping up from my “learned experiences” that includes waste of money, weeks no exaggeration of my time, my frustration and everyone around me…..its been hard. But, in hindsight, necessary for me because I feel smarter and I finally cut the cord from using and paying for templates from hosting providers. I’m slowly getting there…

    I need help now again before I spin my wheels even more. Here is the story… For purpose of time, I am copying an email I just sent to my Dad to give him an idea of what I’ve been working on. Nobody else understands it. In laymans terms, I basically built a house on a garbage foundation made by gypsys that didn’t care/know, and now I begin to see that my foundation needs fixing too much. Constant repairs, that others don’t waste time on. Here it is…

    I’ve been getting this newsletter for about a year. Finally getting to read an article I think will be useful. Basically the long and short of it, that “expert” was a dummy.

    My site is running a Wordpress theme v2.0. It includes plug ins. I never knew there was documentation and support. But mine is a “free” version. Probably hijacked somehow.

    I built everything on top of it. Hours of making documentation. Hours wasted time trying to tweak things, figure out fonts, functionality, customizing buggy plug ins. Setting up backend email functionality to “sign up for more info” and collect email addresses. And last… Never built it on a “child” version. The child version allows you to customize your site, then when theme updates are made, if you choose to install them or have them pushed out, you won’t lose your content.

    Then…. I CLONE THE SITE, and customize for my other site. Mistake.. More wasted time.

    And there are more issues, setting up Google analytics and Google Adwords. The code still said the other web site. You wouldn’t see it, but it’s in the code and screws up.

    Now…. I ripped the bandaid off. Freshly installed
    Brand new premium theme $59 v5.0 with customer support and documentation and plugins all ready to go like registration form for summer camp. (That was another time waster looking for plugins for V2.0) half the plugs ins they stopped using years ago.

    But…..now my big fiasco will be fixing meadow creek. It’s getting a lot of hits now since I set up Google Adwords so I can’t screw it up. It really just needs to be rebuilt. Tear it down, restart with proper foundation. I could leave a few pieces and see if it imports over. But not gonna.

    If you followed it this far…thanks! Any advise? Because you don’t know, what you don’t know!
    Thanks Kim

Leave A Reply

Thanks for choosing to leave a comment. Please keep in mind that all comments are moderated according to our comment policy, and your email address will NOT be published. Please Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.