Skip to content
Fix Library

WordPress stuck in maintenance mode: fix

Site shows 'Briefly unavailable for scheduled maintenance'? Delete the .maintenance file safely and check the update. Call (804) 375-4450 if stuck.

At a glance

The message 'Briefly unavailable for scheduled maintenance' appears while WordPress updates itself. If it never goes away, an update was interrupted and a hidden .maintenance file is left in the site root. Delete that file once no update is running, then re-check the update that was in progress. WP24x7 can do it for you.

Updated November 29, 2026 · For site owners whose site shows a maintenance message

  • For owners whose site is stuck on the 'Briefly unavailable' message
  • Usual fix delete the hidden .maintenance file in the WordPress root
  • Before you start take a backup of files and database
  • After re-run the interrupted update and test key pages
  • Emergency reply within 15 minutes, any hour; rescue is pay-only-if-fixed
  • Start call the help desk or post a project

"Briefly unavailable for scheduled maintenance. Check back in a minute." appears while WordPress updates itself. If it never goes away, an update was interrupted. Delete the hidden .maintenance file in your WordPress root folder, then re-check the update that was running.

What does this error mean?

When WordPress updates core, a plugin or a theme, it creates a small file called .maintenance in the site root. While it exists, visitors see the message. The file is deleted when the update finishes. If the update times out, the tab closes or the server restarts, the file stays behind.

What are the common causes?

CauseHow it happens
Closed tab or lost connectionYou interrupted the update
Many plugins updated at onceA slow or limited server cannot finish
PHP time or memory limitThe update stops midway
A plugin fails during upgradeIt halts the process
Host restart or resource capThe process is killed

How do I fix it?

Take a backup of files and database first; use a host snapshot if offered.

  1. Wait five minutes

    Large updates can take a while. Do not start another meanwhile.

  2. Connect by SFTP or your host's file manager

    and open the folder with wp-config.php and wp-content.

  3. Show hidden files,

    then find .maintenance.

  4. Delete `.maintenance`

    and reload the site. Only the flag goes, not your content.

  5. Log in and check Dashboard, Updates

    Re-run any update that did not complete.

  6. Check what was updating

    If a plugin or theme misbehaves, rename its folder to deactivate it, then reinstall a clean copy.

  7. If core was updating,

    choose Re-install version under Updates.

  8. Look for the file again

    if the message returns; something may be re-triggering an update.

Which method should I use to clear the flag?

Open the site root, enable hidden files and delete .maintenance. This works on any host and needs no command line.

How do I tell which cause I have?

Ask what you were doing. If you updated one plugin and closed the tab, deleting .maintenance is the whole job. If an automatic update ran overnight, the host or a time limit may have stopped it. If the message returns after you remove the file, an auto-update that keeps failing is likely.

Check the file's modified time: hours or days old means stale, seconds old means an update is probably still running. Afterwards look at plugin and theme folders; one with unusually few files suggests an update that broke off midway.

15:00
A site paused mid-update and brought back

What not to do

  • Do not delete .maintenance while an update is truly running; that can corrupt it.
  • Do not delete wp-content or core folders to start over.
  • Do not use a maintenance-mode plugin to cover the problem; it will not clear the stuck file.

A short scenario

An owner updates six plugins and her laptop sleeps halfway. She waits ten minutes, connects over SFTP and finds .maintenance dated twenty minutes earlier. She deletes it and the site returns, but two plugins still show an update and one shows an error. She re-runs the two, reinstalls the third and checks the contact form. The job was removing one flag and finishing what was interrupted.

How do I check the site afterwards?

  • Open the home page and a deep page in a private window.
  • Check Dashboard, Updates for anything pending.
  • Look in Plugins for "deactivated due to an error" notices.
  • Test the contact form, checkout and login.
  • Run a manual backup for a clean restore point.

How do I prevent it?

Update one thing at a time, keep the tab open until it finishes, take a backup before bulk updates and use a staging copy for important sites. See the maintenance checklist.

How do we fix it?

Stuck and want it fixed now?

A person reads it, today.

FAQ

Questions people ask

12 answers. Can't find yours? Ask an engineer.

How long should maintenance mode last?

Normally seconds to a minute or two while an update runs. If it is still showing after several minutes, an update was interrupted. Wait about five minutes before acting, and do not start another update meanwhile.

Link to this answer
Is it safe to delete the .maintenance file?

Yes, once you are sure no update is still running. The file is a temporary flag WordPress creates during updates, so deleting it removes the flag, not your content. Check its modified time first.

Link to this answer
I cannot see the .maintenance file.

It starts with a dot, so some file managers hide it. Turn on the option to show hidden files in your SFTP client or host file manager, and look in the folder that holds wp-config.php.

Link to this answer
Do I need to redo the update?

Often yes. An interrupted update can leave a plugin or theme half installed. Check Dashboard, Updates, re-run what did not complete and reinstall any plugin or theme that misbehaves.

Link to this answer
Why did it get stuck?

Common causes are closing the tab mid-update, updating many plugins at once on a limited server, a PHP time or memory limit, a plugin that fails during upgrade, or a host restart during the update.

Link to this answer
Can I clear it with WP-CLI?

Yes, with command-line access run wp maintenance-mode status and then wp maintenance-mode deactivate. The same rule applies: confirm no update is still running first.

Link to this answer
What if core was updating when it stuck?

Go to Dashboard, Updates and choose Re-install version. That replaces core files without touching wp-content or your database.

Link to this answer
The message came back after I deleted the file. Why?

Something is starting an update again, such as an auto-update that keeps failing, a scheduled task or a host resource limit. Update that item manually, or have an engineer handle it.

Link to this answer
Is a maintenance-mode plugin the same thing?

No. A plugin shows a branded 'coming soon' page on purpose and you control it in settings. The plain text message on a white background comes from WordPress itself and is controlled by the .maintenance file.

Link to this answer
What should I never do?

Do not delete .maintenance while an update is genuinely running, do not delete wp-content or core folders to start over, and do not use a maintenance plugin to cover the problem.

Link to this answer
How do I prevent it?

Update one thing at a time, keep the tab open until it finishes, take a backup before bulk updates and test important sites on a staging copy first. A care plan runs updates this way.

Link to this answer
When should I call for help?

If the site shows an error after deleting the file, the database upgrade screen fails, plugins are missing from admin or the site is custom-built and updates are risky. Emergency support replies within 15 minutes.

Link to this answer

Want an engineer on it?

Tell us what is wrong in plain words. A person reads it, today.