Plugin Directory

Test out the new Plugin Directory and let us know what you think.

Query Monitor

View debugging and performance information on database queries, hooks, conditionals, HTTP requests, redirects and more.

Who can see Query Monitor's output?

By default, Query Monitor's output is only shown to Administrators on single-site installs, and Super Admins on Multisite installs.

In addition to this, you can set an authentication cookie which allows you to view Query Monitor output when you're not logged in (or if you're logged in as a non-administrator). See the bottom of Query Monitor's output for details.

Does Query Monitor itself impact the page generation time or memory usage?

Short answer: Yes, but only a little.

Long answer: Query Monitor has a small impact on page generation time because it hooks into a few places in WordPress in the same way that other plugins do. The impact is negligible.

On pages that have an especially high number of database queries (in the hundreds), Query Monitor currently uses more memory than I would like it to. This is due to the amount of data that is captured in the stack trace for each query. I have been and will be working to continually reduce this.

Are there any add-on plugins for Query Monitor?

A list of add-on plugins for Query Monitor can be found here.

In addition, Query Monitor transparently supports add-ons for the Debug Bar plugin. If you have any Debug Bar add-ons installed, just deactivate Debug Bar and the add-ons will show up in Query Monitor's menu.

Where can I suggest a new feature or report a bug?

Please use the issue tracker on Query Monitor's GitHub repo as it's easier to keep track of issues there, rather than on the wordpress.org support forums.

Is Query Monitor available on WordPress.com VIP Go?

Yep! You just need to add define( 'WPCOM_VIP_QM_ENABLE', true ); to your vip-config/vip-config.php file.

(It's not available on standard WordPress.com VIP though.)

I'm using multiple instances of `wpdb`. How do I get my additional instances to show up in Query Monitor?

You'll need to hook into the qm/collect/db_objects filter and add an item to the array with your connection name as the key and the wpdb instance as the value. Your wpdb instance will then show up as a separate panel, and the query time and query count will show up separately in the admin toolbar menu. Aggregate information (queries by caller and component) will not be separated.

Do you accept donations?

No, I do not accept donations. If you like the plugin, I'd love for you to leave a review. Tell all your friends about the plugin too!

Requires: 3.7 or higher
Compatible up to: 4.7.2
Last Updated: 17 hours ago
Active Installs: 20,000+


5 out of 5 stars


2 of 7 support threads in the last two months have been marked resolved.

Got something to say? Need help?


Not enough data

1 person says it works.
0 people say it's broken.

100,2,2 100,1,1 100,3,3 100,1,1 100,1,1 100,1,1 100,1,1
100,4,4 100,1,1 100,2,2 100,1,1 100,1,1
0,1,0 100,2,2 100,4,4 100,2,2
100,3,3 50,2,1
100,3,3 100,6,6
100,2,2 100,1,1
100,2,2 100,3,3 100,2,2
100,2,2 100,2,2 100,3,3 100,1,1 100,2,2 100,1,1
100,1,1 100,8,8 100,2,2
100,2,2 100,1,1
100,3,3 100,4,4 100,1,1
100,1,1 100,1,1
100,1,1 100,1,1
100,1,1 0,2,0 0,1,0 100,4,4 100,1,1
100,1,1 93,15,14
100,1,1 100,1,1