Fix WordPress Stuck in Maintenance Mode

B
Brad Leiphart
September 2, 2026 · 2 min read
Quick answer: Delete the hidden ".maintenance" file from your site’s root directory (the same folder as wp-config.php). That single file is the entire cause, and removing it is the entire fix.
In This Article
  1. Why this happens
  2. The fix, step by step
  3. How to avoid it happening again
  4. The bigger pattern worth noticing

Your site shows a plain page that says it’s “briefly unavailable for scheduled maintenance.” That’s normal — for a few minutes, while a plugin or theme updates. It stops being normal when that message is still there an hour later, and every visitor who lands on your site sees it instead of your actual homepage.

Why this happens

WordPress automatically puts your site into maintenance mode during updates by creating a temporary file called .maintenance in your site’s root directory. Normally, WordPress deletes this file itself the moment the update finishes. It gets stuck when that update process is interrupted before it completes — a timeout, a lost connection, a plugin conflict, or a server hiccup mid-update — leaving the file behind with nothing left to clean it up.

The fix, step by step

  1. Wait two minutes first. If an update is still genuinely running, force-stopping it mid-write can corrupt files. A short, quick update finishing on its own is the most common outcome.
  2. Connect to your site’s files via FTP, SFTP, or your host’s file manager.
  3. Find the file named .maintenance in your site’s root directory — the same folder as wp-config.php. Note that filenames starting with a dot are often hidden by default; you may need to enable “show hidden files” in your FTP client.
  4. Delete it. That’s the entire fix. WordPress checks for this file’s existence to decide whether to show the maintenance page, so removing it immediately restores normal access.
  5. Confirm the original update actually completed. Check your plugin and theme versions to make sure the update that triggered this didn’t get left half-finished.

Don’t have file access, or not comfortable editing files directly? Some hosts and security plugins offer a “disable maintenance mode” toggle in their dashboard that does the same thing without needing FTP access at all — worth checking there first.

How to avoid it happening again

The bigger pattern worth noticing

A stuck maintenance-mode screen is usually harmless once fixed, but it’s also a small, visible symptom of a larger habit: updates happening manually, unsupervised, without a backup taken first. That’s exactly the routine a WordPress Care Plan replaces — updates applied and verified on a schedule, with a backup in place before anything changes, so a hiccup like this gets caught and resolved before a customer ever sees it.

Keep Your WordPress Site Protected

Daily backups, security monitoring, and updates — handled for you, starting at $59/mo.

See Our Care Plans
B
Brad Leiphart
Founder, NetConnect Digital

Brad leads NetConnect Digital's WordPress support and maintenance practice, helping small businesses keep their sites secure, fast, and online.

Get Started Today Call Us Now