How to fix "Briefly unavailable for scheduled maintenance" in WordPress
If your website suddenly shows only the sentence "Briefly unavailable for scheduled maintenance. Check back in a minute.", WordPress is stuck in maintenance mode. This happens when an update of WordPress, a plugin or a theme was interrupted. The fix takes about two minutes: you delete one small file called .maintenance, then finish the update properly.
Why this message appears
Every time WordPress updates something, it creates a temporary file named .maintenance in the main WordPress folder. While that file exists, visitors see the maintenance message. When the update finishes, WordPress deletes the file. If the update is interrupted, the file stays and the site stays "under maintenance". Common reasons:
- You closed the browser tab or lost the connection during the update.
- You updated many plugins at once and the process timed out.
- The update ran out of PHP memory or hit a time limit.
- A plugin's new version was not compatible and stopped the process.
Step 1: Wait a minute first
Sometimes the update is still running. Wait one or two minutes and refresh the page. If the message is still there after that, the update has failed and you need to remove the file.
Step 2: Delete the .maintenance file
- Log in to cPanel and open File Manager.
- Click Settings at the top right and tick Show Hidden Files (dotfiles), then click Save. Files that start with a dot are hidden by default.
- Open the folder where WordPress is installed, usually
public_html. You will see folders likewp-admin,wp-contentandwp-includesthere. - Find the file
.maintenance, right-click it and choose Delete. - Refresh your website. It should load normally again.
.maintenance. Do not delete .htaccess or other dotfiles; they are needed by your site.You can also delete the file over FTP. See How to upload your website (File Manager and FTP) for how to connect.
Step 3: Finish the interrupted update
- Log in to the WordPress dashboard and open Dashboard → Updates.
- Check which items still show an update. Update them one at a time, not all together.
- After each update, open the website in another tab to make sure it works.
If a plugin was half-updated, it may now be broken. Re-run its update, or delete it and install it again from Plugins → Add New. Your settings are normally stored in the database and are not lost when you reinstall the plugin files, but take a backup first. See How to back up and restore your website.
Common problems after removing the file
- White page or "critical error": a plugin or theme update finished only partly. Disable the last updated plugin by renaming its folder in
wp-content/plugins, then reinstall it. - The message comes back during every update: the update is running out of time or memory. Update plugins one by one, ask support to check your PHP limits, and make sure your PHP version is supported by your plugins.
- Dashboard asks to update the database: click the Update WordPress Database button. This is normal after a core update.
- You still see the message but the file is gone: clear your cache plugin (for example LiteSpeed Cache → Purge All) and your browser cache.
How to avoid it next time
- Take a backup before big updates.
- Update a few plugins at a time and keep the browser tab open until WordPress says the update is complete.
- Remove plugins you do not use; fewer plugins means fewer updates.
Frequently asked questions
Is it safe to delete the .maintenance file?
Yes. It is a temporary file that only contains the time the update started. Deleting it does not remove any content.
Did I lose my posts or orders?
No. The maintenance message only hides the site. Your posts, pages and WooCommerce orders are stored in the database and are not touched.
Can I show a nicer maintenance page during updates?
Yes. Some maintenance-mode plugins let you design a custom page, but the simplest protection is to update carefully so the message stays only for a few seconds.
Need help? Open a support ticket or message us on WhatsApp +20 127 113 3655.