WPThumbs
Themes Plugins By purpose By industry Best-of lists Fix it guides
Free Plugin by David Artiss v1.7

Transient Cleaner

Clean expired transients from your options table. The original and best!

Transient Cleaner

The facts

Rating
5★ from 23
Active installs
1k+
Price
Free
Last updated
20 Aug 2026
Added
Nov 2012
Requires WP
4.4
Tested up to
WP 7.1
Requires PHP
7.4
Downloads
129,706

Our analysis

AI-assisted

Transient Cleaner is a WordPress plugin designed to clean expired transients from your options table. It provides a way to manually manage transient data, which can accumulate and bloat your database if not properly handled. The plugin includes options for scheduling automatic clean-ups and performing ad-hoc runs.

This plugin is suitable for users who want to maintain a tidy database and improve performance, especially those running multiple sites who may prefer a simplified interface with the 'lite' mode feature. It complies with WordPress coding standards and is open for community contributions.

Best for: Users looking to manage transient data and improve database performance on WordPress sites.

What it does well

  • Cleans expired transients from the options table
  • Offers manual and scheduled cleaning options
  • Includes a 'lite' mode for improved admin performance
  • Complies with WordPress coding standards
  • Community-driven development on GitHub

Where it falls short

  • Limited feature details provided
  • No information on specific performance improvements

Verdict

Transient Cleaner is a straightforward tool for cleaning up expired transients, making it a practical choice for those concerned about database bloat.

From the developer

David Artiss's own description of Transient Cleaner, lightly tidied.

Clean expired transients from your options table. The original and best!

Transient housekeeping was added to the core of WordPress after version 5.8. However, I have decided to open up this plugin to all versions to allow for manual transient cleaning. Longer term I am working on a new version of the plugin, designed specifically for all WordPress releases.

  • Tested up to PHP 8.2
  • Fully complies with WordPress coding standards
  • Compliant with the stronger WordPress VIP coding standards, as well as compatibility with their platform
  • Community plugin – visit the Github page to get involved with the latest code development, request enhancements and report issues

“Transients are a simple and standardized way of storing cached data in the WordPress database temporarily by giving it a custom name and a timeframe after which it will expire and be deleted.”

Unfortunately, expired transients only get deleted when you attempt to access them. If you don’t access the transient then, even though it’s expired, WordPress will not remove it. This is a known “issue” but due to reasons, which are explained in the FAQ, this has not been adequately resolved.

Why is this a problem? Transients are often used by plugins to “cache” data (my own plugins included). Because of this it means that expired data can be left and build up, resulting in a bloated database table.

Meantime, this plugin is the hero that you’ve been waiting for. Simply activate the plugin, sit back and enjoy a much cleaner, smaller options table. It also adds the additional recommendation that after a database upgrade all transients will be cleared down.

The Settings Screen

Within Administration -> Tools -> Transients an options screen exists allowing you to tweak when you’d like cleaning to happen, including the ability to perform an ad-hoc run, and when you’d like the to be automatically scheduled.

You can even request an optimization of the options table to give your system a real “pep”!

Running in Lite mode

A “lite” mode is available. By activating this the options screen will no longer appear and default settings will be used. The advantage? Improved performance to Admin and, especially if you’re running multi-site, no chance of anybody “tinkering” with the settings.

To activate, use the following…

define( 'TC_LITE', true );

This should be added to your wp-config.php file.

Using hooks

Read the full description on the official page →

Tagged as

Alternatives

Other plugins for database maintenance.

Plugins Garbage Collector

Find and delete unused database tables belong to deactivated or deleted plugins directly from WP dashboard.

Free 10k+ installs 4.4★ (92)
Servebolt Optimizer

This plugin implements Servebolt's WordPress best practices, and connects your site to the Servebolt Admi...

Free 1k+ installs 5★ (5)
CodingBunny Database Cleaner

Keep your WordPress database fast and clean by removing orphaned data left behind by plugins, themes, and Word...

Free 100+ installs 5★ (2)
Enable Database Tools

Enables WP Database Tools. So you can optimize and repair InnoDB and MyISAM tables.

Free 50+ installs 4.6★ (5)
Time-based Revision Cleanup

Maximize WordPress efficiency with Time-based Revision Cleanup: manage post histories by age, not count, with...

Free 100+ installs 5★ (3)