Quickly Disable All WordPress Plugins via phpMyAdmin

WordPress | Updated 2026

If a WordPress plugin is causing your site to crash, show a white screen, or lock you out of the admin panel, you can disable all plugins at once through the database without needing to log into WordPress.

01. Step by Step

  1. Log into cPanel > Databases > phpMyAdmin
  2. Select your WordPress database from the left sidebar
  3. Click the "SQL" tab
  4. Run this query:
UPDATE wp_options SET option_value = 'a:0:{}' WHERE option_name = 'active_plugins';
  1. Visit your site - It should load now with all plugins deactivated
  2. Log into WordPress admin
  3. Go to Plugins and reactivate them one at a time, checking your site after each one
Finding the Problem Plugin

Reactivate plugins one by one, refreshing your site after each. When the site breaks again, the last plugin you activated is the culprit. Either update it, find an alternative, or contact the plugin developer. See Optimize WordPress Performance for identifying resource-heavy plugins.

Table Prefix

If your WordPress installation uses a custom table prefix (not the default wp_), replace wp_options with your actual prefix. Check wp-config.php for the $table_prefix value.

02. Alternative: Rename the Plugins Folder

If you prefer not to use SQL, you can rename the plugins directory via cPanel File Manager or FTP:

  1. Navigate to wp-content/
  2. Rename plugins to plugins_disabled
  3. Visit your site - WordPress automatically deactivates all plugins when it cannot find the folder
  4. Rename back to plugins
  5. Reactivate one at a time in WordPress admin

Site Still Down After Disabling Plugins?

If disabling all plugins does not fix the issue, the problem may be your theme, a corrupted core file, or a database issue. Open a ticket and we will investigate.

Open a Support Ticket

Quick Recap

  1. Run the SQL query in phpMyAdmin to deactivate all plugins at once
  2. Or rename the plugins folder via File Manager
  3. Reactivate one at a time to find the problem plugin
  4. Check your table prefix in wp-config.php if using a custom prefix
  5. Still broken? The issue may be the theme or WordPress core

WordPress emergency troubleshooting · Last updated March 2026 · Browse all WordPress articles

  • 185 Users Found This Useful

Was this answer helpful?

Related Articles

AccelerateWP: Speed Up Your WordPress Site

WordPress | Updated March 2026 AccelerateWP is a WordPress optimization tool built into your...

WordPress Error : Sorry, this file type is not permitted for security reasons

WordPress | Updated March 2026 The "Sorry, this file type is not permitted for security...

WordPress Error: The Uploaded File Could Not Be Moved

WordPress | Updated March 2026 The "uploaded file could not be moved to" error in WordPress...

The WordPress app doesn't work with my website

WordPress | Updated 2026 If the WordPress mobile app (for iOS or Android) cannot connect to...

WordPress Error Establishing a Database Connection

WordPress | Updated 2026 "Error establishing a database connection" means WordPress cannot...



Save 30% on web hosting - Use coupon code Hosting30