
Find Slow Database Queries, PHP Errors, Hooks & Performance Bottlenecks in WordPress
Is your WordPress site slow, and do you know which plugin, query, or script is responsible?
Query Monitor is a free WordPress plugin that adds a developer tools panel to your admin bar. It shows database queries, PHP errors, hooks, HTTP requests, and more for each page you load.
It helps you identify the plugins, themes, or code that may be slowing your site down.
Cost: Free
Developer: John Blackbourn and contributors
Platform: WordPress plugin
Category: WordPress Tools
Official Website: https://wordpress.org/plugins/query-monitor/
Install from the official WordPress plugin directory. Compatibility and features can change with plugin updates, so check the plugin page. Use caution on live sites.
What Is Query Monitor?
Query Monitor is a debugging plugin that reports on what WordPress is doing while it builds a page.
It lists database queries, errors, loaded scripts, and other details, grouped by plugin or theme where possible.
It is most useful for developers and administrators who are troubleshooting performance or errors.
Key Features of Query Monitor
Database Query Analysis
View queries run on a page, how long they took, and which component triggered them.
PHP Errors and Warnings
See notices, warnings, and deprecated function messages that may point to problems.
Hooks and Actions
Inspect hooks and their callbacks to understand what runs and when.
HTTP API Calls
Check external requests made by plugins or themes that can slow a page.
Scripts and Styles
Review enqueued scripts and styles to see what loads on a page.
Component Grouping
Many results are attributed to a plugin, theme, or core, making it easier to find the source of a problem.
How to Use Query Monitor
Getting started generally takes only a few steps.
- In your WordPress dashboard, go to Plugins and choose Add New.
- Search for Query Monitor and install the plugin from the official directory.
- Activate the plugin.
- Visit a page on your site while logged in as an administrator.
- Open the Query Monitor panel from the admin bar.
- Review slow queries, errors, and external requests.
- Fix or replace the cause, then reload the page to compare results.
Safety tip: Query Monitor is mainly for administrators and troubleshooting. Consider using it on a staging copy and deactivating it when you are finished.
Why Debugging Tools Matter for Site Performance
Slow WordPress sites often have one or two culprits, such as a heavy plugin or an inefficient query.
Without data, it is hard to know where to begin.
Query Monitor can help you identify:
- Slow or repeated database queries.
- Plugins making slow external requests.
- PHP warnings and deprecated code.
- Scripts and styles loading on pages that do not need them.
- Hooks that add unexpected processing.
Finding the source of a problem lets you fix it directly instead of guessing.
Query Monitor & AI Search Visibility
A fast, error-free site is easier for visitors and automated crawlers to access.
Query Monitor helps you find performance issues and errors inside WordPress.
However, using it does not guarantee appearance in Google AI Overviews, Microsoft Copilot, ChatGPT, or other AI-generated answers.
It is a diagnostic tool for technical performance.
Query Monitor vs. Speed Testing Tools
They look at different layers of performance.
| Feature | Query Monitor | External Speed Tools |
|---|---|---|
| Shows database queries | Yes | No |
| Shows PHP errors | Yes | No |
| Measures browser load time | No | Yes |
| Works from outside WordPress | No | Yes |
| Best for | Server-side debugging | Front-end speed testing |
Our recommendation: Use external speed tools to find slow pages, then Query Monitor to find the cause inside WordPress.
Common Problems Query Monitor Can Reveal
Focus on the slowest pages first.
Slow Queries
Optimize or replace the plugin or code that creates them.
Duplicate Queries
Reduce repeated calls where possible.
Slow External Requests
Check which service is responding slowly and whether it is needed.
PHP Warnings
Update or replace plugins and themes causing errors.
Frequently Asked Questions
Is Query Monitor free?
Yes. It is a free plugin available from the WordPress plugin directory.
Does it slow down my site?
It adds some overhead and is intended for troubleshooting, so deactivate it when you do not need it.
Who can see the panel?
By default, it is intended for administrators. Review the plugin settings and documentation.
Does it work with WordPress multisite?
It supports multisite. Check the plugin page for details.
Will it make my site faster?
No. It helps you find problems that you can fix.
Is it safe to use on a live site?
Use caution and take a backup. A staging site is often a safer place for debugging.
Access Query Monitor
Developer: John Blackbourn and contributors
Software Type: WordPress debugging and performance plugin
Price: Free
Installation: Install from the WordPress plugin directory
Account: Not required
Official Access: https://wordpress.org/plugins/query-monitor/
Get Started With Query Monitor →
About This Software Listing
This independent software resource is published by Pittsburgh SEO Services LLC, a digital marketing and SEO company founded by Jon Crain in 2001.
We share WordPress tools and website optimization resources to help business owners understand site performance and troubleshooting.
Need help diagnosing a slow WordPress website?
Explore our Pittsburgh SEO Services or contact us.
Phone: 412-250-7965
Query Monitor is developed and maintained by its developers and contributors. Pittsburgh SEO Services LLC is an independent software directory publisher and is not affiliated with its developers and contributors.

