Skip to content

How to Fix the WordPress White Screen of Death

Fix the WordPress white screen of death: use recovery mode, enable debugging, disable plugins and theme, increase memory and clear caches.
How to Fix the WordPress White Screen of Death — WebDesigningPune guide
Quick answer

The WordPress white screen of death is a blank page with no error message, usually caused by a PHP fatal error in a plugin or theme, or by running out of memory. Check your email for WordPress recovery mode, enable debug logging to see the error, deactivate plugins, switch to a default theme, increase the memory limit and clear any caches.

The WordPress “white screen of death” is exactly what it sounds like: you load your site and see nothing at all — no error, no content, just white. Because there is no message, it can feel impossible to troubleshoot. In reality, the cause is usually one of a few familiar culprits: a plugin, a theme, a PHP error or a memory limit.

The steps below help you uncover the hidden error and get your site back, even if you cannot reach the dashboard.

A white screen looks alarming, but your content is almost always safe. The problem is code failing to run.

Important: Before changing files or the database, take a backup if you can. If you cannot log in, your host’s backups or file manager can help — see how to back up WordPress.

How to fix the WordPress white screen of death

  1. Check for the recovery-mode emailWordPress emails the admin a link to log in safely and deactivate the faulty plugin or theme.
  2. Enable debug loggingFind the exact error with the settings below.
  3. Disable pluginsRename the plugins folder to rule them out.
  4. Switch themeRename the active theme folder to fall back to a default theme.
  5. Increase memoryAdd WP_MEMORY_LIMIT to wp-config.php or ask your host to raise PHP memory.
  6. Clear cachesPurge plugin, server and CDN caches — a cached white page can persist after the fix.
  7. Check recent code editsA missing semicolon in functions.php can cause a white screen; undo recent changes.
WordPress white screen of death: step-by-step fix

Enable debugging

// wp-config.php — log errors privately to wp-content/debug.log
define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', false );

Reproduce the error, then open wp-content/debug.log. The last lines usually name the plugin or theme file causing the problem. Turn debugging off and delete the log afterwards.

Deactivate plugins via your host

If you cannot reach the dashboard, open your host’s file manager or connect with SFTP, go to wp-content and rename the plugins folder to plugins-off. This deactivates every plugin. If the site works, rename it back and rename individual plugin folders one by one to find the culprit.

Screenshot collage of the products in “Deactivate plugins via your host” (their dashboards or homepages)

White screen only on some pages

If only certain posts are blank, the cause is often a shortcode, block or plugin used on those pages, or a very long page hitting memory limits. Test that page with plugins disabled on a staging site.

White screen in the admin only

Screenshot or photo that supports “White screen in the admin only” in a guide about wordpress white screen

Work out where the white screen appears

Where you see it Likely cause First step
Whole site, front end and admin Plugin, theme or PHP error Check recovery email, then disable plugins
Only the front end Theme or front-end plugin Switch to a default theme
Only wp-admin Admin-side plugin or memory limit Disable recently added plugins; raise memory
Only certain pages Page builder content, shortcode or template Edit or revert that page

Prevent white screens

  • Keep backups before updates.
  • Update plugins one by one on important sites.
  • Use a staging site for theme and code changes.
  • Check PHP version compatibility before host upgrades.
  • Avoid editing live theme files in the dashboard editor.

An admin-only white screen usually points to a plugin that runs in the dashboard. Disable plugins via the file manager, or try logging in at /wp-login.php after clearing cookies.

For a complete method, see our WordPress troubleshooting guide.

Frequently asked questions

What causes the WordPress white screen of death?

Usually a PHP fatal error from a plugin, theme or custom code, or the site running out of PHP memory. Less often, file permission or caching issues are involved.

Is my content lost when I see a white screen?

Almost never. The white screen means code failed to run; your posts and pages remain in the database.

What is WordPress recovery mode?

When WordPress detects a fatal error, it emails the site admin a special link that allows logging in with the faulty plugin or theme paused so it can be fixed.

How do I fix the white screen if I cannot access wp-admin?

Use your host’s file manager or SFTP to rename the plugins folder and the active theme folder, and enable debug logging in wp-config.php.

Can caching cause a white screen?

Occasionally a corrupted cache or caching plugin conflict causes blank pages. Clear caches and temporarily disable the caching plugin to test.

Will increasing the memory limit always fix it?

Only if memory is the cause. Check error logs to confirm before raising limits, and fix the underlying plugin if it uses excessive memory.

Should I contact my host about a white screen?

Yes, if you cannot find the cause. Hosts can check server error logs and restore backups.


Further reading: the official WordPress documentation.

First published November 17, 2026 · Last updated November 26, 2026