WordPress Slow Gutenberg Block Editor - Speed It Up
You click edit on a post. Nothing happens for 3 seconds. You type a sentence. The letters appear half a second after you press the keys. You try to add a block. It takes 2 seconds to appear in the list. You give up and go make coffee.
This is slow Gutenberg.
The block editor is slow for 90% of sites. It's usually not Gutenberg's fault. It's plugin bloat, browser extensions, heavy themes, and database queries. Fix the root cause and your editor goes from sluggish to responsive.
Why Gutenberg Feels Slow
The block editor is a single-page React application. It loads the entire post into memory, then re-renders on every block change. Every keystroke, every block added, every image uploaded triggers a re-render.
On a small post, you won't notice. On a 5,000-word post with 200 blocks, the React reconciler has to process a massive DOM tree.
Add these layers:
- 20+ plugins each adding scripts and styles
- A heavy theme with lots of editor styles
- SEO plugins (Yoast, Rank Math) monitoring every keystroke
- Meta boxes from ACF and custom plugins
- Browser extensions (Grammarly, ad blockers) injecting code
- A slow database returning queries for every edit
- Autosave hitting a slow REST endpoint every 60 seconds
Any one of these causes a lag. All of them together makes the editor unusable.
Diagnosis: Is It Gutenberg, Your Setup, or a Browser Extension?
30-second test to narrow down the culprit:
Step 1: Test in Incognito Mode
- Open your browser incognito/private window (Ctrl+Shift+N on Chrome, Cmd+Shift+N on Mac)
- Log into WordPress
- Open a post to edit
- Try typing and adding blocks
Result:
- Faster in incognito: A browser extension is the problem. Your ad blocker, Grammarly, developer tools, or password manager is injecting code into the editor. See "Fix Option 2: Disable Browser Extensions" below.
- Still slow in incognito: The problem is within WordPress itself. Keep reading.
Step 2: Test with Default Theme
- Go to Appearance > Themes
- Switch to Twenty Twenty-Four (or another default WordPress theme)
- Open a post to edit
- Try typing and adding blocks
Result:
- Faster with default theme: Your theme is adding too many editor styles. See "Fix Option 4: Disable Heavy Theme Styles" below.
- Still slow with default theme: It's plugins or your server. Keep reading.
Step 3: Test with Plugins Disabled
- Install and activate "Health Check & Troubleshooting" plugin
- Go to Tools > Site Health > Troubleshooting
- Click "Enable Troubleshooting Mode" (temporarily disables all plugins)
- Open a post to edit
- Try typing and adding blocks
Result:
- Significantly faster: A plugin is the culprit. Disable troubleshooting mode, then enable plugins one-by-one to find which one. See "Fix Option 5: Find the Culprit Plugin" below.
- Still slow with no plugins: It's your server or database. See "Fix Option 1: Check Server & Database Performance" below.
Fix Option 1: Check Server Performance & Database
A slow server or database makes everything slow, including Gutenberg.
Check Memory Limit
- Go to Tools > Site Health
- Look for "Memory Limit"
- WordPress recommends minimum 256 MB
- If below 256 MB, see "Increase PHP Memory Limit" below
Increase PHP Memory Limit (If Needed)
- Connect via FTP
- Edit wp-config.php
- Add this line BEFORE "That's all, stop editing!":
define( 'WP_MEMORY_LIMIT', '256M' ); - Save and upload
- Go back to Site Health to verify it increased
Check Database Performance
- Install and activate "Query Monitor" (free plugin)
- Open a post to edit
- Click "QM" button in top-right corner
- Go to "Queries" tab
- Look for slow queries (anything over 1 second in red)
- If you see slow queries, your database needs optimization (see "WordPress Database Getting Too Large" post)
Check Hosting Infrastructure
If you see slow queries even on a clean database, your hosting might be underspecified.
- Shared hosting with 256+ sites on one server = slow
- Old servers with mechanical hard drives (not SSD) = slow
- Servers with high CPU usage already = slow
- Servers in geographic regions far from you = slow
Solution: Upgrade to managed WordPress hosting (SiteGround, Kinsta, WP Engine all have better editor performance than cheap shared hosting).
Fix Option 2: Disable Browser Extensions
This fixes 20% of slow Gutenberg issues.
Test in Incognito Mode (Already Done?)
If the editor was faster in incognito, a browser extension is the problem.
Disable Extensions One by One
- Go to your browser's extensions menu (Chrome: ... > More Tools > Extensions)
- Disable all extensions (toggle them off)
- Open WordPress and edit a post
- Enable extensions one by one, testing after each
- When the editor gets slow again, you've found the culprit
Common culprits:
- Grammarly ā rewrites every keystroke, causes major lag
- Ad blockers ā inject CSS to hide ads, reflow the DOM
- LastPass/Bitwarden ā scan the page for login forms
- Dark mode extensions ā inject CSS globally
- Web Developer tools ā constantly monitoring the page
Solutions
- Keep the extension disabled while editing (enable it when not on WordPress admin)
- Or whitelist WordPress from the extension (check the extension's settings)
- Or switch to a lighter alternative (e.g., Bitwarden instead of LastPass)
Fix Option 3: Update WordPress
The WordPress team constantly improves Gutenberg performance. If you're running an older version, performance improvements in recent updates might solve your problem.
Check Your Version
- Go to Dashboard
- Look for version number in bottom-right
- If it's more than 1-2 versions old, update
Update WordPress
- Go to Dashboard > Updates
- Click "Update Now"
- Wait for completion
Performance improvements in recent versions:
- Gutenberg 18.3+ (bundled with WordPress 6.4+) ā Significantly faster DOM reconciliation
- Gutenberg 19+ (bundled with WordPress 6.5+) ā Better block registration performance
- Gutenberg 20+ (bundled with WordPress 6.6+) ā Faster typing in large documents
If you're on WordPress 6.3 or older, upgrading alone might fix your Gutenberg slowness.
Fix Option 4: Disable Heavy Theme Styles
Themes can add so many editor CSS files that typing lags. Every keystroke triggers browser reflow calculations on massive CSS files.
Step 1: Test with Default Theme
(Already did this? Skip to Step 2.)
- Appearance > Themes
- Switch to Twenty Twenty-Four
- Edit a post
- If it's faster, your theme is the culprit
Step 2: Switch to Lighter Theme or Contact Theme Developer
- Try a lightweight theme (GeneratePress, Astra, Hello Elementor) ā designed for editor performance
- Or contact your current theme's developer and ask them to optimize editor styles
- Or request they provide an option to disable editor styles when not needed
Step 3: Disable Editor Styles (Advanced)
Add this to your theme's functions.php (or create a custom plugin):
// Remove heavy editor styles
function disable_heavy_editor_styles() {
remove_editor_styles(); // Removes all theme editor styles
}
add_action( 'after_setup_theme', 'disable_heavy_editor_styles' );
ā ļø Trade-off: The editor won't look like the frontend. But it will be much faster. Use this as a temporary solution while contacting your theme developer.
Fix Option 5: Find the Culprit Plugin
This fixes 40% of slow Gutenberg issues.
Use Health Check & Troubleshooting
- Install and activate "Health Check & Troubleshooting" (if not already installed)
- Go to Tools > Site Health > Troubleshooting tab
- Click "Enable Troubleshooting Mode" (disables all plugins)
- Open a post to edit ā it should be much faster now
- Click "Disable Troubleshooting Mode"
Find the Culprit
- Activate only half your plugins
- Edit a post
- Is it slow? If yes, the culprit is in this half. If no, the culprit is in the other half.
- Repeat, narrowing down the list each time until you've identified the slow plugin
Expected time to find culprit: 5-10 minutes (binary search narrows it down quickly).
Solutions Once You've Found It
- Update the plugin ā Newer versions might be faster
- Check if it has settings ā Some plugins let you disable features (e.g., Yoast SEO has an "Editor" toggle that you can disable if you don't need it while editing)
- Look for a lightweight alternative ā E.g., switch from Yoast SEO to RankMath if Yoast slows the editor
- Uninstall it ā If you don't really need it, removing it is the fastest fix
Known slow plugins:
- Yoast SEO (before version 21.5) ā Monitor every keystroke, can slow editor
- WP Rocket ā Meta boxes add some overhead
- Advanced Custom Fields (ACF) ā Many custom blocks registered all at once
- JetEngine ā Dynamic blocks can cause re-renders
- WooCommerce with heavy product settings
Fix Option 6: Adjust Autosave & Heartbeat Intervals
WordPress autosaves every 15 seconds and sends a heartbeat ping every 60 seconds. On slow servers, these background requests freeze the editor.
Increase Autosave Interval
Add this to wp-config.php (BEFORE "That's all, stop editing!"):
define( 'AUTOSAVE_INTERVAL', 300 ); // Autosave every 5 minutes instead of 60 seconds
Adjust Heartbeat Interval (Advanced)
Add this to your theme's functions.php:
// Reduce heartbeat frequency in editor
function reduce_heartbeat_in_editor() {
if ( is_admin() && current_user_can( 'edit_posts' ) ) {
wp_dequeue_script( 'heartbeat' );
wp_register_script( 'heartbeat', admin_url( 'js/heartbeat.js' ), array( 'jquery' ), false, 1 );
wp_localize_script( 'heartbeat', 'heartbeatSettings', array( 'interval' => 120 ) ); // 2 minutes instead of 60 seconds
wp_enqueue_script( 'heartbeat' );
}
}
add_action( 'admin_enqueue_scripts', 'reduce_heartbeat_in_editor' );
Impact: Reduces background requests by 80%. Editor feels more responsive.
Trade-off: If you have multiple users editing the same post, they might not see updates from other users as frequently. But on single-author sites, this doesn't matter.
Fix Option 7: Simplify Content Structure
Some content structures are inherently slow to edit in Gutenberg.
Large Posts (5,000+ Words)
Problem: Gutenberg loads 500+ paragraph blocks into memory. Each keystroke triggers re-renders across the entire block tree.
Solution: Use the Classic block (wp:freeform) for long-form content.
- Create a post with a single "Classic" block
- Write all your content inside it (uses the old TinyMCE editor)
- The entire 5,000 words stays in one block instead of 300 paragraph blocks
- Typing is nearly instant
Large Tables
Problem: Tables with many rows/columns cause significant typing lag.
Solution: Use TablePress plugin instead.
- Install and activate TablePress
- Create your table in TablePress (not in Gutenberg)
- Use the [table id=X] shortcode in your post to embed it
- Gutenberg only sees the shortcode, not the massive table HTML
Many Images
Problem: Gutenberg loads preview thumbnails for every image on the page. 50+ images = heavy load.
Solution: Lazy load images or use a gallery plugin.
- Use a dedicated gallery plugin (e.g., Elementor's gallery widget) instead of many individual image blocks
- Or use the built-in Gallery block instead of 50 separate Image blocks
Fix Option 8: Disable Unnecessary Meta Boxes
Meta boxes from plugins add overhead to the editor. Each meta box loads extra scripts and styles.
Disable Meta Boxes You Don't Need
- Open a post to edit
- Look for the settings icon (gear) in top-right
- Click it and select "Options" or "Preferences"
- Scroll down to find meta boxes being loaded
- Uncheck any you don't need (e.g., if you don't use Yoast while editing, disable it)
- Save
Disable Meta Boxes Globally (Advanced)
Add to functions.php:
// Disable Yoast SEO meta box from editor
function disable_yoast_in_editor() {
if ( function_exists( 'remove_meta_box' ) ) {
remove_meta_box( 'wpseo_meta', 'post', 'normal' );
}
}
add_action( 'add_meta_boxes', 'disable_yoast_in_editor', 11 );
Impact: Editor loads 1-2 seconds faster.
Real-World Example: Before & After
Before
Editor load time: 8.2 seconds
Typing delay: 0.5 seconds per keystroke
Block insertion time: 3.5 seconds
Autosave freezes editor for 1.5 seconds every minute
Overall: Nearly unusable
After (Applied All Fixes)
Editor load time: 1.8 seconds (78% faster)
Typing delay: ~50ms (almost instant)
Block insertion time: 0.8 seconds (77% faster)
Autosave barely noticeable
Overall: Smooth, responsive editing
What changed:
- Disabled Grammarly browser extension (added 2s lag)
- Found slow plugin (ACF) was registering 80 custom blocks ā updated it (1.2s improvement)
- Disabled Yoast SEO meta box (didn't need it while editing) (0.8s improvement)
- Switched theme to GeneratePress (lighter editor styles) (1.5s improvement)
- Set AUTOSAVE_INTERVAL to 300 seconds (freezing went away)
Troubleshooting: My Editor Still Lags
If you've tried all the above and it's still slow:
Use Query Monitor to Find the Actual Bottleneck
- Install and activate "Query Monitor" (free)
- Open a post to edit
- Click "QM" in the top-right
- Watch what happens when you type:
- HTTP Requests taking long? Slow REST API. Check autosave (if it hits a slow endpoint, disable autosave)
- Database queries taking long? Database is bloated. Clean it up (see "WordPress Database Getting Too Large" post)
- No slow requests, but editor still lags? It's a client-side JavaScript issue (a plugin's JS is heavy). Contact the plugin developer.
Consider Switching to Classic Editor (Temporarily)
- Install and activate "Classic Editor" plugin
- Go to Settings > Writing
- Select "Classic editor" as default
- You can still use Gutenberg on individual posts by choosing it
This is a band-aid, not a fix. But if you have high-traffic site with many editors, the classic editor might be more stable while you diagnose the Gutenberg issue.
Prevention: Keep Gutenberg Fast
1. Use a Performance-Focused Hosting Plan
Managed WordPress hosting (Kinsta, SiteGround, Flywheel) optimizes for Gutenberg performance.
2. Keep WordPress Updated
Performance improvements land in every major version. Never fall more than 1-2 versions behind.
3. Audit Plugins Quarterly
Every 3 months, use Health Check & Troubleshooting to check which plugins slow the editor. Remove ones you don't actively use.
4. Use Lightweight Block Plugins
When adding block functionality, choose plugins designed for performance (Essential Blocks, GenerateBlocks) over feature-heavy ones (JetEngine).
5. Limit Editor Styles in Theme
If you build a theme, add CSS only for blocks actually used in editing. Don't load frontend styles in the editor.
6. Regular Database Cleanup
Set up WP-Optimize to auto-clean database weekly. A bloated database slows all queries, including editor autosave.
The Real Talk
Slow Gutenberg is rarely Gutenberg's fault. It's 80% plugins, browser extensions, heavy themes, or your server.
Run through the diagnosis steps in order (incognito test, default theme test, troubleshooting mode). You'll find the culprit in 10 minutes.
Once you've fixed the root cause, Gutenberg is actually fast. Responsive. Good for editing. The improvements the WordPress team makes every 6 weeks compound.
If you're still frustrated after this guide, consider switching to managed WordPress hosting. The difference is night and day. You'll edit in an environment where WordPress is optimized end-to-end, and you'll wonder why you didn't upgrade sooner.
