WordPressbeginner

WordPress Stuck in Maintenance Mode: Safe Fix

Remove a stale WordPress maintenance lock safely, check whether the interrupted update completed, and recover when the message remains.

Published
A dark website update mechanism stopped at a safety barrier beside a small orange lock attached to a temporary file.

If WordPress is stuck on “Briefly unavailable for scheduled maintenance. Check back in a minute,” first make sure an update is no longer running. Then remove the hidden .maintenance file from the WordPress root, reload the site, and verify the interrupted core, plugin, or theme update before doing anything else.

Quick diagnosis

The exact page matters:

  • A plain “Briefly unavailable for scheduled maintenance” response usually comes from WordPress core and its .maintenance file.
  • A branded coming-soon or maintenance page is more likely produced by a plugin, theme, host, proxy, or cached page. Deleting .maintenance may not affect it.
  • A blank page, critical-error message, or 500 response after the maintenance page disappears points to a failed or partial update, not maintenance mode itself.

WordPress core checks for .maintenance in the same directory as wp-admin, wp-content, and wp-includes. Current core treats a lock timestamp older than ten minutes as expired, but a malformed file, a different maintenance system, or cached output can make the symptom appear to persist.

Before you remove the lock

Do not delete the file seconds after clicking Update. An active update temporarily blocks requests so WordPress can replace files without visitors loading a mixed set of old and new code.

  1. Wait several minutes if the update screen is still progressing.
  2. Check the hosting activity or process view if your host provides one.
  3. Record which core, plugin, or theme update was running.
  4. Confirm you can restore both files and the database.
  5. Use SFTP or the host’s file manager rather than an unencrypted FTP connection when possible.

If the site handles orders, memberships, bookings, or other live transactions and you cannot confirm the update has stopped, ask the host to check the process before removing the lock.

1. Find the correct WordPress root

Open the host’s file manager or connect with SFTP. Locate the directory that contains all of these items:

wp-admin/
wp-content/
wp-includes/
wp-config.php

That directory is the WordPress root. It may be named public_html, htdocs, www, or after the domain, but the WordPress files are a more reliable identifier than the folder name.

Enable Show hidden files, Show dotfiles, or the equivalent option. Files beginning with a dot are hidden by default in many file managers.

Expected observation: a file named .maintenance is present beside wp-admin and wp-content. If it is not there, do not delete similarly named files elsewhere; skip to the checks for a cached or custom maintenance page.

2. Remove only .maintenance

Download a copy of .maintenance if you want to preserve incident evidence, then delete that one file. Do not delete wp-content/maintenance.php: that is an optional custom page WordPress can load while the real maintenance lock is active, and removing it does not disable the lock.

Reload these URLs in a private browser window:

  1. the home page;
  2. a normal internal page;
  3. /wp-admin/.

If all three load, the lock is cleared. This restores access; it does not prove the interrupted update completed successfully.

If .maintenance returns immediately, stop repeating the deletion. An automatic update, scheduled task, or failing update process is creating it again. Record the time, identify the update in Dashboard → Updates or the host logs, and investigate that component.

3. Check whether the update completed

In wp-admin, look for the component that was updating:

  • For WordPress core, compare the installed version shown in Dashboard → Updates with the offered version.
  • For a plugin or theme, confirm the installed version and whether WordPress still offers the same update.
  • Check the site’s PHP error log at the time the update stopped.
  • Look for an error about file permissions, disk space, a timeout, an incomplete package, or a fatal error in the updated component.

WordPress’s core updater creates .maintenance before copying new files and normally removes it later. If the process stops early, removing the lock does not resume the copy. The official troubleshooting guidance recommends running the automatic core upgrade again when it failed.

Retry only after taking a backup and resolving any reported cause. Update one component at a time, then check the public site and wp-admin before continuing.

4. If the maintenance page remains

Use the appearance and response to isolate the remaining layer.

The plain WordPress message remains

Confirm you edited the document root for the hostname you are visiting. Hosts can contain staging copies, add-on domains, or an old deployment with its own .maintenance file.

Then test without page caching:

  1. purge the WordPress page cache;
  2. purge the host or reverse-proxy cache;
  3. purge the CDN cache for the affected URL;
  4. open the URL on a second network or inspect its response headers.

Avoid repeatedly purging unrelated caches once the response changes. Caching can preserve an old maintenance response, but it cannot finish a failed update.

A branded maintenance page remains

Check for a maintenance or coming-soon plugin, a theme setting, a host-level maintenance switch, or a CDN rule. If wp-admin is inaccessible, rename only the confirmed maintenance plugin’s directory on staging or with a current backup, then restore its name if the symptom does not change.

The site now shows another error

A critical error, blank page, or 500 response can indicate that the update left incompatible or incomplete files. Do not keep deleting files. Check the first PHP fatal error and restore the affected component from a trusted backup or package. The WordPress critical error guide explains the safer recovery sequence.

5. Reduce the chance of a repeat

After the site is stable:

  1. Confirm there is enough disk space for the downloaded package and extracted files.
  2. Ask the host to review timeouts or filesystem-permission errors from the failed update.
  3. Apply updates individually on staging before a business-critical site.
  4. Keep a restorable file and database backup before each update window.
  5. Avoid closing the update screen or starting a second update while the first is still running.

Do not raise PHP limits or change ownership and permissions to copied values without evidence. Those settings depend on the host and can create a security problem when changed too broadly.

Verify the recovery

The incident is resolved only when:

  1. .maintenance does not return;
  2. the home page, an internal page, and wp-admin load in a private window;
  3. the interrupted component shows a coherent installed version;
  4. no new fatal error appears in the PHP log;
  5. the site’s important forms, checkout, login, or page builder still work;
  6. a narrowly purged CDN or page cache no longer serves the maintenance response.

Rollback and escalation

If a retry fails or the site is unstable, restore the last known-good files and database together. Restoring only plugin files may not reverse a database migration performed by the update.

Escalate with the affected hostname, update start time and time zone, component and version, whether .maintenance returned after deletion, the first relevant server error, available disk space, and the recovery steps already tried. Share credentials and complete configuration files only through the host’s approved secure channel.

Source and version notes

This guide was source-reviewed on October 16, 2026, against the WordPress Advanced Administration Handbook and current core function references for maintenance mode and core updates. It was not reproduced against a live hosting account, so confirm menu labels and host controls in the current environment before acting.

Tags:
  • #maintenance mode
  • #failed update
  • #recovery
  • #WordPress update

References

  1. developer.wordpress.org
  2. developer.wordpress.org
  3. developer.wordpress.org
  4. developer.wordpress.org
  5. developer.wordpress.org