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.

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?
| Cause | What happens | Fix |
|---|---|---|
| Interrupted update | You closed the tab or the connection dropped | Delete the .maintenance file and run the update again |
| Several updates at once | A bulk update times out | Update one item at a time |
| Slow or overloaded server | The update takes too long and stops | Retry when traffic is low or upgrade hosting |
| A failing plugin or theme update | The update crashes halfway through | Disable it and update it manually |
| Caching | Visitors still see an old maintenance page | Clear every cache layer |
| A maintenance mode plugin | A plugin, not WordPress, shows the message | Turn 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

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.

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.


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.
Related guides
Keep learning with these step-by-step guides from our team.
- How to Fix the WordPress White Screen of Death: bring a blank site back.
- How to Fix the WordPress Internal Server Error: solve the 500 error.
- WordPress Security Checklist: 20 Steps: protect your site from hackers.
- How to Fix Too Many Redirects in WordPress: break the redirect loop.
- WordPress 7.2: Release Date and New Features: plan a safe update.
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.
Need help with your WordPress site?
Tell us about your project and get a clear, written proposal.
Stay tuned with our latest updates
Subscribe for practical WordPress tips and news.






















