Study: 76.1% of table-creating WordPress plugins leave database tables behind on uninstall

Across 862 activated plugins from the top 1,000 WordPress.org listings executed on PHP 8.4.28 and WordPress 7.1.5 on December 5, 2026, 213 (24.7%) created custom SQL tables. After running WordPress's standard deactivate_plugins() and uninstall_plugin() workflow with default settings, 162 of 213 (76.1%) left custom tables behind, while only 49 dropped their tables automatically. Most do so intentionally to guard against accidental deletion.

Updated By THTheme Editorial Team

Key facts

Top 15 plugins by custom database tables remaining after default uninstall_plugin() (December 5, 2026)
PluginInstallsTables leftOrphan optionsOrphan autoloadSample tables
Booking for Appointments and Events Calendar90,000+66836.0 KBwp_actionscheduler_actions, wp_actionscheduler_claims
MailPoet500,000+4471.1 KBwp_actionscheduler_actions, wp_actionscheduler_claims
Appointment Booking Plugin - LatePoint100,000+448783 Bwp_latepoint_customer_otp_codes, wp_latepoint_recurrences
WooCommerce7M+3619618.1 KBwp_actionscheduler_actions, wp_actionscheduler_claims
Wordfence Security5M+2660 Bwp_wfls_2fa_secrets, wp_wfls_passkeys
Email Subscribers & Newsletters by Icegram Express - Email Marketing50,000+2566336 Bwp_actionscheduler_actions, wp_actionscheduler_claims
Uncanny Automator - MCP Server + Automation40,000+2262.2 KBwp_actionscheduler_actions, wp_actionscheduler_claims
FluentCRM80,000+216675 Bwp_actionscheduler_actions, wp_actionscheduler_claims
GiveWP100,000+19219.8 KBwp_actionscheduler_actions, wp_actionscheduler_claims
Online Scheduling and Appointment Booking System - Bookly60,000+192072.5 KBwp_bookly_staff, wp_bookly_categories
LearnPress - WordPress LMS Plugin to Create and Sell Online Courses60,000+182411.6 KBwp_thim_cache, wp_learnpress_courses
Event Tickets and Registration90,000+17221.8 KBwp_shepherd_tec_tasks, wp_shepherd_tec_task_logs
Real Cookie Banner: GDPR & ePrivacy Cookie Consent100,000+1630112.3 KBwp_rcb_stats, wp_rcb_stats_buttons_clicked
Visitor Traffic Real Time Statistics30,000+16846 Bahc_search_engines, ahc_countries
Featured Image from URL (FIFU)60,000+14617 Bwp_fifu_invalid_media_su, wp_fifu_meta_in

Visual breakdown: custom tables left behind by plugin

Every plugin was installed into an identical pristine WordPress 7.1.5 snapshot (50.1 KB baseline autoload, 12 core tables), activated, rendered on GET /, deactivated, and uninstalled via WordPress core's official uninstall_plugin() helper without changing plugin settings screens.

Booking for Appointments an66 tbl (36.0 KB autoload)MailPoet44 tbl (1.1 KB autoload)Appointment Booking Plugin 44 tbl (783 B autoload)WooCommerce36 tbl (18.1 KB autoload)Wordfence Security26 tbl (0 B autoload)Email Subscribers & Newslet25 tbl (336 B autoload)Uncanny Automator - MCP Ser22 tbl (2.2 KB autoload)FluentCRM21 tbl (675 B autoload)GiveWP19 tbl (9.8 KB autoload)Online Scheduling and Appoi19 tbl (2.5 KB autoload)LearnPress - WordPress LMS 18 tbl (11.6 KB autoload)Event Tickets and Registrat17 tbl (1.8 KB autoload)
Most custom DB tables remaining after default uninstall (top 12)

Largest orphan wp_options autoload footprints left behind

Unused database tables sit quietly on disk until queried, consuming backup storage. Orphaned autoloaded options are worse because WordPress loads every row flagged autoload = yes/on/auto into PHP memory on every single uncached request, long after the plugin is removed.

Visual Composer Website Bui121.1 KB (30 opts)Seraphinite Accelerator64.7 KB (4 opts)Booking for Appointments an36.0 KB (8 opts)GutenKit - Page Builder Blo25.4 KB (7 opts)Maintenance24.9 KB (2 opts)Enhanced Media Library20.4 KB (6 opts)SureCart18.1 KB (26 opts)WooCommerce18.1 KB (196 opts)Gutenberg Essential Blocks 17.6 KB (6 opts)Ultimate Member - User Prof15.4 KB (19 opts)
Largest autoloaded wp_options payloads left behind after default uninstall

Plugins that dropped their own tables cleanly on default uninstall

The 49 plugins below created at least one custom database table during activation and dropped every single one automatically during default uninstall_plugin():

Why major plugins keep data (and how to clean up safely)

Cite or paste in Reddit / GitHub / docs (CC BY 4.0):
[Study: 76.1% of Table-Creating WordPress Plugins Leave Tables on Uninstall](https://ththeme.net/wordpress-plugin-uninstall-orphan-tables-study/) (THTheme, 2026-12-05, CC BY 4.0)

APA: THTheme Editorial Team. (2026). Study: 76.1% of Table-Creating WordPress Plugins Leave Tables on Uninstall. Retrieved 2026-12-05, from https://ththeme.net/wordpress-plugin-uninstall-orphan-tables-study/

FAQ

Does WordPress.org require plugins to delete their database tables on uninstall?

No. WordPress Plugin Handbook guidance recommends providing an uninstall.php file to remove unused data, but leaving data intact by default or gating removal behind an opt-in setting is widely permitted and common for user-generated content.

How can I tell if my live WordPress site has leftover autoload bloat?

Run wp option list --autoload=on --format=total_bytes via WP-CLI or open Tools > Site Health in WordPress 6.6+, which flags autoloaded options exceeding 800 KB.

How do I fully wipe WooCommerce tables when removing it permanently?

WooCommerce documents adding define( "WC_REMOVE_ALL_DATA", true ); to wp-config.php before deleting the plugin from wp-admin. Always take a database backup first.

Sources