wpXpart

Error Fixes

How to Fix WordPress Stuck in Maintenance Mode (2026 Guide)

Fix WordPress stuck in maintenance mode in 7 steps: wait a few minutes, clear caches, delete the hidden .maintenance file, rerun the update, disable plugins and restore a backup.

wpXpart AgencyUpdated on December 1, 20267 min read
How to Fix WordPress Stuck in Maintenance Mode (2026 Guide)

You clicked update, closed the tab or lost your connection, and now your website says: Briefly unavailable for scheduled maintenance. Check back in a minute. Minutes pass, then hours, and the message never goes away. This means your WordPress site is stuck in maintenance mode, and it is one of the easiest WordPress problems to fix once you know the cause.

This guide explains why WordPress gets stuck in maintenance mode and gives you 7 clear steps to fix it, including how to delete the hidden .maintenance file, even when you cannot log in.

Quick answer: To fix WordPress stuck in maintenance mode, wait a few minutes, clear every cache, then connect with FTP or your host’s File Manager, turn on hidden files and delete the .maintenance file from your main WordPress folder. Then run the failed update again. If the problem returns, disable plugins or restore a backup.
Illustration of the WordPress message Briefly unavailable for scheduled maintenance with five reasons a site gets stuck in maintenance mode: interrupted update, closed browser tab, slow server, failed plugin update and a leftover maintenance file
Illustration: the maintenance message and five reasons a site gets stuck.

What is WordPress maintenance mode?

When you update WordPress core, a plugin or a theme, WordPress briefly puts your site into maintenance mode. It creates a small hidden file called .maintenance in your main folder, shows visitors the maintenance message and removes the file when the update finishes. If something interrupts the update, the file can stay behind and the message keeps appearing.

Why does WordPress get stuck in maintenance mode?

CauseWhat happensFix
Interrupted updateYou closed the tab or the connection droppedDelete the .maintenance file and run the update again
Several updates at onceA bulk update times outUpdate one item at a time
Slow or overloaded serverThe update takes too long and stopsRetry when traffic is low or upgrade hosting
A failing plugin or theme updateThe update crashes halfway throughDisable it and update it manually
CachingVisitors still see an old maintenance pageClear every cache layer
A maintenance mode pluginA plugin, not WordPress, shows the messageTurn the plugin’s mode off

Before you start

  • Wait about ten minutes. WordPress usually treats an old maintenance file as expired after around ten minutes, so some sites recover on their own.
  • Take a backup from your hosting panel if you can.
  • Get file access. You need FTP or your host’s File Manager.
  • Remember what you were updating. It tells you where to look if the problem returns.

How to fix WordPress stuck in maintenance mode: 7 steps

Six-step flow for fixing WordPress stuck in maintenance mode: wait a few minutes, clear every cache, delete the maintenance file, run the update again, disable plugins and restore a backup
Illustration: six moves for getting out of maintenance mode.

Step 1: Wait a few minutes and refresh

Large updates, slow servers and busy sites can take longer than you expect. Wait five to ten minutes, then refresh the page in a private window. If the site is back, you are done.

Step 2: Clear every cache

Clear your browser cache, your caching plugin, your host’s cache and any CDN such as Cloudflare. Sometimes the site is already working, and visitors are still being shown a cached copy of the maintenance page.

Step 3: Delete the .maintenance file

This fixes most cases. Connect to your site with FTP or open the File Manager in your hosting panel. Go to the main folder of your WordPress installation, which is the folder that contains wp-admin, wp-content and wp-config.php. Turn on the option to show hidden files, because files that start with a dot are hidden by default. Find the file named .maintenance and delete it. Then reload your site.

Illustration of a file manager showing the hidden maintenance file in the WordPress main folder highlighted with a delete button, and a button to show hidden files
Illustration: the hidden .maintenance file in a file manager.

Be careful to delete only .maintenance and never wp-config.php or any other file. If you cannot see the file, check that hidden files are really switched on, and look in the right folder.

Step 4: Run the update again

Log in to your dashboard and go to Dashboard, Updates. Check whether the update that failed is still listed, and run it again. If a plugin update keeps failing, download the plugin from its developer, then update it manually by replacing its folder through FTP.

Step 5: Look for leftover update files

An interrupted update can leave temporary files. In wp-content, check for a folder named upgrade and remove old files that it contains, then try the update again. If the update still fails, your server may be running out of disk space or time, so ask your host to check.

Step 6: Disable the plugins

If the site keeps returning to maintenance mode, a plugin may be crashing the update. In wp-content, rename the plugins folder to plugins-off to disable every plugin, reload the site, then rename the folder back and reactivate plugins one at a time. Also check whether you use a maintenance or coming soon plugin that might be showing its own page.

Step 7: Restore a backup or ask your host

If your site is still stuck, or you see another error after deleting the file, restore your latest clean backup. Hosts can also check server logs and resources. If you see a blank page afterwards, read our guide to fix the WordPress white screen of death.

How to avoid getting stuck again

  • Back up your site before every update.
  • Update one plugin or theme at a time instead of a big bulk update.
  • Keep the browser tab open until the update finishes.
  • Test large updates on a staging site first.
  • Update when your traffic is low.
  • Use hosting with enough resources, and consider automatic updates only when you also have automatic backups.
Four-step safe WordPress update routine: back up, update one item at a time, test the site and repeat, to avoid getting stuck in maintenance mode
Illustration: a safe update routine.
Checklist of eight habits that help prevent WordPress from getting stuck in maintenance mode, including backups, updating one item at a time, keeping the browser tab open, staging tests, enough hosting resources, avoiding traffic peaks, knowing how to delete the maintenance file and monitoring
Illustration: a checklist to prevent getting stuck in maintenance mode.

Maintenance mode on purpose

Sometimes you want to show a maintenance or coming soon page while you redesign your site. Use a dedicated plugin or your host’s maintenance feature for this, and make sure it returns the correct status so search engines understand the page is temporary. Switch it off as soon as you finish, and never leave it on by accident.

When to ask an expert for help

Ask for help if you cannot reach your files, if the message returns after every update, if you have no backup, or if your site earns money. At wpXpart we fix update problems, restore backups, set up staging sites and monitor uptime. See our WordPress maintenance services and security solutions, or hire a WordPress expert.

Frequently asked questions

How long should maintenance mode last?

Usually only seconds or a few minutes. If it lasts longer than about ten minutes, the update probably stopped and you need to fix it.

Will I lose my content?

No. Maintenance mode does not delete content. Your posts and pages stay in the database.

Is it safe to delete the .maintenance file?

Yes. It is only a temporary flag file that WordPress recreates when needed. Delete only that file.

Why can I not see the .maintenance file?

It starts with a dot, so FTP programs and File Managers hide it by default. Turn on the option to show hidden files and check the main WordPress folder.

Can maintenance mode hurt my SEO?

A short outage is normally harmless. A long one can make search engines visit less often, so fix it quickly.

What if the update is still pending after I delete the file?

Run it again from the Updates screen, or update the item manually. If it keeps failing, test it on a staging site and look at the error log.

Is it the same as a plugin’s coming soon mode?

No. A plugin’s mode is turned off in its own settings, while the update message comes from WordPress and the .maintenance file.

Should I turn on automatic updates?

They can be useful for security updates, but only with reliable backups. Test major updates yourself first.

Keep learning with these step-by-step guides from our team.

Conclusion

To fix WordPress stuck in maintenance mode, wait a few minutes, clear the caches and delete the hidden .maintenance file, then run the update again. Most sites are back online within minutes, and a careful update routine with backups keeps it from happening again.

Still stuck? Start a project with wpXpart and we will get your WordPress site back online.

Share this article
Article bywpXpart Agency

The wpXpart team designs, builds, speeds up and supports WordPress websites, and shares practical guides along the way.

Need help with your WordPress site?

Tell us about your project and get a clear, written proposal.

Start a Project

Stay tuned with our latest updates

Subscribe for practical WordPress tips and news.

Scroll to Top