Troubleshooting

WordPress Stuck in Maintenance Mode: causes and fix

Quick answer: An update didn't finish and the .maintenance file in your site's root folder was never removed. Wait a few minutes; if the message stays, delete that file using your host's File Manager.

WordPress Medium About 10 min 6 steps WordPress & Websites
WordPress Stuck in Maintenance Mode: causes and fix — A young man on a city bus in the late afternoon looks at his phone with a mildly annoyed expression.

Symptoms

  • Every visitor sees "Briefly unavailable for scheduled maintenance. Check back in a minute."
  • The dashboard shows the same message
  • The message appeared right after updating a plugin, theme or WordPress itself

Likely causes

  1. The update was interrupted (browser tab closed, connection dropped, server time limit reached)
  2. The .maintenance file wasn't deleted after the update finished
  3. Several updates ran at once and one didn't complete
  4. Updating a large plugin exceeded the PHP execution time limit

Step-by-step fix

Start from step one and test again after each step; steps go from the simplest to the most technical.

  1. Wait a few minutes

    WordPress normally ignores this file after ten minutes. If an update is still running, waiting is the safest option. Don't click update again in the meantime.

  2. Delete the .maintenance file

    Using your host's File Manager or FTP, go to the site's root folder (where wp-config.php lives) and delete .maintenance. Because the name starts with a dot, turn on "Show Hidden Files" first. Deleting this file is safe.

  3. Finish the update properly

    Log in and go to "Dashboard > Updates". Update the plugin or theme that got stuck again, one at a time this time, and keep the page open until it finishes.

  4. Check for a broken plugin

    If the site shows a critical error after you delete the file, or a plugin is missing from the list, its files were copied only partly. Delete that plugin's folder in wp-content/plugins and reinstall it from the WordPress plugin directory or the original file; its settings remain in the database.

  5. Turn off a maintenance plugin

    If your message looks like a styled "We'll be back soon" page, it isn't WordPress's own maintenance mode but a Maintenance Mode or Coming Soon plugin left on. Log in and switch it off or deactivate it.

  6. Prevent it next time

    Back up before big updates, update plugins a few at a time rather than all at once, and keep the tab open until they finish. If updates keep stalling, ask your host to raise the PHP time limit (max_execution_time).

If nothing worked

If the message remains after deleting .maintenance, a server-side or plugin cache is serving the old page; purge the cache or ask your host to. If you get a critical error or white screen after deleting the file, follow the "WordPress critical error" guide. Don't delete other files in the site root, and don't rerun a core update without a backup.

Frequently asked questions

Will deleting the .maintenance file harm my site?

No. It's a temporary marker WordPress creates during updates and normally removes afterward. Deleting it only removes the maintenance message.

I can't find the .maintenance file on my server. What now?

Turn on hidden files in File Manager (in cPanel, it's in the File Manager settings). If it's still not there, the message comes from a maintenance plugin or a cache, not from WordPress itself.

Related problems

Terms used on this page

More WordPress & Websites problems

All problems WordPress & Websites

Last updated:

Type a few letters of the topic; spelling variants are treated as the same.