Clear the WordPress maintenance block properly, check the interrupted update and stop the problem coming back. The priority is to restore a situation under control without wiping the traces useful to the diagnosis.

How do I recognise a WordPress stuck in maintenance mode?
On WordPress, a visible outage can come from the core, the theme, a plugin, PHP, the database or the server. A reliable fix isolates one variable at a time and always keeps the option of going back. Start by noting when it appeared, the most recent changes, the URLs concerned and the behaviour observed.
Note the page's HTTP status, test in a private window, and read the PHP error log along with debug.log if WordPress debugging is enabled. Note too whether the admin is still reachable: the answer points straight at the theme, a plugin or the server environment.
The message “Briefly unavailable for scheduled maintenance”
The site and wp-admin are both unavailable
Stuck after an update
One signal alone does not prove the cause: “The message “Briefly unavailable for scheduled maintenance”” can come from “A .maintenance file left behind after an interruption” just as easily as from “The PHP process stopped during installation”. Look for at least two findings that agree before you apply a lasting fix.
What the .maintenance file actually does
During an update, WordPress creates a hidden file named .maintenance in the site's root, which shows “Briefly unavailable for scheduled maintenance”. It is deleted automatically when the job finishes. If the update is interrupted — a PHP timeout, the tab closed, the network dropping — the file stays put and blocks the site.
The file holds nothing but the start timestamp. WordPress does in fact ignore a .maintenance file more than ten minutes old, but some caching setups go on serving the maintenance page. The fix is to delete .maintenance over FTP or SSH, then purge the caches.
Checking what the interrupted update left behind
Deleting the file brings the display back, but the failed update may have left a plugin half replaced. Open Dashboard > Updates and the plugin list: any plugin that is missing, disabled, or showing an inconsistent version should be reinstalled cleanly from its official source.
Look in wp-content too, for an upgrade folder holding temporary files, and for any plugin folders with a suffix on the name. To stop it happening again, run updates one at a time, on a stable connection, and allow a PHP time limit generous enough for large plugins such as WooCommerce or the page builders.
Causes to check
For a WordPress stuck in maintenance mode, the 4 causes below are ranked from the commonest to the rarest. Test the one matching the site’s most recent change first, one at a time.
A .maintenance file left behind after an interruption
The PHP process stopped during installation
Insufficient write permissions
Several updates started at the same time
The recovery email WordPress sends, the Site Health report, the update history and the PHP logs often name the file and the line at fault. Start from that evidence rather than disabling plugins at random.
A good fix does not merely make the symptom disappear. It explains why the problem appeared and how to check that it does not come back.
Precautions before starting
Make a full backup of the files and the database, even if an automatic backup already exists, and write down the versions of WordPress, the theme, the plugins and PHP. Keep that copy off the server in question, and check it opens.
If the site is still taking form submissions or orders, plan a short maintenance window so nothing is written while you work.
Which cause best matches your situation?
Pick the situation closest to what you are seeing to get the first recommended action.
Want a human opinion on your exact situation?
Get a recommendationDiagnosis and fix
| Phase | Objective | A mistake to avoid |
|---|---|---|
| Observe | Reproduce it and gather the evidence | Changing several settings before you have a baseline |
| Isolate | Confirm the component or the rule responsible | Deleting files without keeping a copy |
| Fix | Apply the smallest documented change | Restoring a version that still contains the same cause |
| Validate | Test the whole journey and monitor it | Concluding from the home page loading alone |
How do I resolve the problem?
The 4 steps below tackle a WordPress stuck in maintenance mode from the least intrusive to the heaviest. After each change, repeat the same test; if nothing changes, go back to the previous state before moving on to the next step.
- 01
Step 1
Wait a few minutes to rule out an update still running.
- 02
Step 2
Delete the .maintenance file in the root over SFTP or with the file manager.
- 03
Step 3
Check the integrity of the core, the theme and the plugins that were updated.
- 04
Step 4
Run the failed update again on its own, after a backup.
If a step changes the database or the code directly, do it on a copy first. Once the fix is in place, the first check is still this: check that the site and wp-admin respond normally.
Validate the resolution
Walk through the journey that was failing, then check the admin, the editor, the media library, the forms and user login. Clear the caches (plugin, server and CDN) before you conclude, or an old version can hide the result.
Validation checks
Watch the PHP log for a few days: some errors only surface when a scheduled task (WP-Cron) or a nightly backup runs.
Prevent a recurrence
Prevention has to answer the cause you identified. For a WordPress stuck in maintenance mode, the first measure is “Update in small groups”; note too the signal that would have shown the incident sooner, and who is responsible for watching for it.
Update in small groups
Avoid closing the window mid-update
Check the disk space
Use a staging site
Apply updates on a staging copy, or failing that after a verified backup, one plugin at a time. Checking the key pages after each update catches most regressions before visitors do.
Frequently asked questions about a WordPress stuck in maintenance mode
I cannot see the .maintenance file, is that normal?
Yes, files whose name starts with a dot are hidden by default. Turn on hidden files in your FTP client or the host's file manager, then look in the root, alongside wp-config.php.
Is it safe to delete .maintenance?
Yes, the file holds nothing but a timestamp. The risk is not in deleting it but in the interrupted update: check afterwards that the plugin or theme concerned is complete and working.
How do you stop it happening again?
Run updates one at a time rather than in bulk, on a stable connection, without closing the tab, and after a backup. Large plugins sometimes need a higher PHP time limit to update fully.
How do you check the fix will hold?
Check that the site and wp-admin both answer normally. Check the version actually installed for each component. Test creating a fresh backup. Then watch the logs, the alerts and the relevant metrics for several days.
How to resolve it
If a WordPress stuck in maintenance mode persists after these steps, we can pick the diagnosis up again from your logs and your access details, without acting blind on the site.
Get a diagnosisSummary with an AI
Choose your assistant: the request is prefilled where that is possible, and always copied, ready to paste if need be.

































🍪