WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Most people are aware that minimizing the number of plugins used is a good way to help keep a WordPress site running fast. However, does that general rule include deactivated plugins?

share|improve this question
up vote 43 down vote accepted

No it doesn't. At least, not on the front end, or in the back end in any non-plugin area. WordPress only loads files whose filepaths are stored in the active_plugins option in the database and ignores everything else completely.

share|improve this answer

Except in unusual cases having deactivated plugins only affects the performance of the plugin page in the admin, and only then a trivial amount (unless you have hundreds of plugins.) During the plugin admin page load WordPress scans all the plugins and then stores the list of active plugins in the database. Then on all other page loads WordPress inspects that list of plugins, not the plugins themselves.

The one caveat to this is if the deactivated plugin stored a lot of autoload data in the wp_options table and deactivating doesn't remove that data because doing so could cause a user to loose configuration options when they deactivate which they may want to do only for a few minutes which is a common approach taken when someone is debugging a problem with a site. However, if you are using a plugin that add so many options during autoload that it causes a problem them it's not a great plugin anyway.

If you do run into such a plugin and need to get rid of the options then this might help.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.