WordPress GuideErrors → Recovery Mode

WordPress Recovery Mode: How to trigger it and how to use it

When your WordPress site breaks, it can feel like everything’s on fire, especially if you’re locked out of the admin area. Fortunately, WordPress Recovery Mode is built to save the day. It lets you fix fatal errors without digging through code or losing access to your dashboard.

Let’s walk through what Recovery Mode is, how it works, and how you can use it to get your site back online fast.

What is WordPress Recovery Mode?

WordPress Recovery Mode is a core feature introduced in WordPress 5.2. It activates automatically when the platform detects a fatal error caused by themes, plugins, or code changes. Instead of leaving your site completely inaccessible, WordPress creates a temporary safe environment just for administrators.

This mode pauses the malfunctioning code and sends the site admin a special login link. From there, you can access your dashboard, disable or delete the problem plugin or theme, and restore your site—without affecting your frontend visitors or needing FTP right away.

When does WordPress enter recovery mode?

Recovery Mode kicks in only under very specific conditions. Here’s what triggers it:

This only happens if the crash occurs during a regular page load (not during background tasks or cron jobs). Recovery mode isn’t activated for non-admin users.

What happens during recovery mode?

Once you access the recovery link, WordPress runs in a special mode only visible to you. Here’s what changes:

This gives you time to investigate and fix the issue without completely disabling your entire site.

How to access WordPress Recovery Mode

If you encounter a fatal error and want to use Recovery Mode, here are three ways to get in.

Via the recovery mode email link

This is the standard way WordPress Recovery Mode is triggered:

Clicking that link takes you to the special dashboard where you can safely fix the issue.

Manually trigger recovery mode via URL

If you didn’t get the email, deleted it, or didn’t get it in time, you can try to enter Recovery Mode manually:

This only works if WordPress has already registered a fatal error. Otherwise, you’ll just see the normal login screen.

Disable plugins via FTP or File Manager

If you can’t access the site at all or the email never arrives, fall back to your hosting control panel or FTP client:

This forces your site back online so you can access the dashboard.

How to fix errors in recovery mode

Once you’re in Recovery Mode, follow these steps:

If you have a recent backup, you can also restore that instead of troubleshooting manually.

How to exit WordPress Recovery Mode

After you’ve resolved the error:

Once you exit, Recovery Mode ends and won’t reactivate unless a new fatal error occurs.

When to use WordPress Recovery Mode

Recovery Mode is designed for specific high-impact situations:

Any of these situations would normally lock you out—but Recovery Mode keeps the door open just long enough to fix it.

Best practices to avoid critical errors

While Recovery Mode is a great safety net, prevention is always better:

How to test Recovery Mode on purpose (for devs and power users)

Want to test how your site handles fatal errors? You can intentionally trigger Recovery Mode like this:

This is helpful for developers building plugins or site maintainers who want to test error-handling procedures.

WordPress Recovery Mode FAQs

You can go to recovery mode using a special email link sent by WordPress after a fatal error. It takes you to a safe dashboard to fix the issue.

Click “Exit Recovery Mode” in the admin bar. Your site will resume normal operation with all active plugins and themes.

You can use Recovery Mode to disable faulty plugins or themes. If that doesn’t work, restore a backup or use FTP to manually deactivate the problem files.

You can’t manually boot into it unless WordPress detects a fatal error. If it does, you can try ?action=entered_recovery_mode on your login URL to access it.

Additional resources

Diagnosing WordPress errors on your site →

Even more common errors, how to troubleshoot them, and how to solve them

Fixed: WordPress failed to write file to disk →

Learn how to fix the “Upload: Failed to Write File to Disk” error in WordPress with easy troubleshooting steps.

What is managed WordPress hosting? →

What it means, what it includes, and how to decide if it’s right for you