WordPress Admin Dashboard Loading Slowly
Warning Frequency: CommonError message:
wp-admin takes 5+ seconds to loadA slow WordPress admin is often caused by different factors than a slow frontend. The admin loads more PHP, makes more database queries, and runs the Heartbeat API which polls the server every 15 seconds.
Common Causes
- Plugins loading heavy assets on every admin page
- Dashboard widgets making external API calls (update checks, news feeds)
- Heartbeat API running too frequently (default: every 15 seconds)
- Large database with many post revisions
- Admin-heavy plugins (WooCommerce, page builders) loading full assets
How to Fix It
- Limit Heartbeat API: Add
define('WP_HEARTBEAT_INTERVAL', 60);to wp-config.php or disable it on specific pages - Remove unnecessary dashboard widgets: Use
remove_meta_box()for widgets you don't need - Limit post revisions:
define('WP_POST_REVISIONS', 5);in wp-config.php - Clean up revisions:
wp post delete $(wp post list --post_type=revision --format=ids) --force - Use Query Monitor plugin to identify slow queries and slow plugins on admin pages
- Disable admin notices from plugins that add persistent nag banners
Frequently Asked Questions
Why is wp-admin slow but the frontend is fast?
The admin loads more PHP code, runs more database queries, and uses the Heartbeat API. Frontend caching doesn't apply to the admin. Install Query Monitor to identify the bottleneck.
Should I disable the Heartbeat API?
Don't disable it entirely u2014 it handles autosaves and login session management. Instead, reduce its frequency to 60 seconds (default is 15-30) and disable it on pages where you don't need it.
Get WordPress Performance Tips
Plugin reviews, speed optimization guides, and error debugging — straight to your inbox.
No spam. Unsubscribe anytime. We respect your privacy.