Your site is showing "Briefly unavailable for scheduled maintenance. Check back in a minute." but the message is not clearing. This usually means an update was interrupted or the temporary maintenance state was not removed correctly.
When WordPress runs an update — whether for core, a plugin, or a theme — it creates a hidden file called .maintenance in your root directory. This file tells WordPress to show the maintenance message to visitors while the update runs.
Normally, WordPress deletes this file automatically once the update completes. But if the update is interrupted — your browser closed, the server timed out, or your internet dropped — the .maintenance file gets left behind. WordPress then keeps showing the maintenance message indefinitely, even though no update is running.
💡 Good news: If a leftover .maintenance file is the only cause, removing it can restore normal access once you have confirmed that no update is still running.
If you've enabled hidden files and there's no .maintenance file visible, something else is causing the maintenance message. Check these three places:
define('WP_MAINTENANCE', true); — if present, delete that line or set it to falseThis issue happens when updates get interrupted. A few habits that prevent it:
⚠️ If the maintenance message returned after you deleted the file, WordPress may be retrying a failed update. Check for and complete any pending updates in your dashboard, or check our guide on how to update WordPress safely.
How do I get WordPress out of maintenance mode safely?
A common method is cPanel File Manager: enable Show Hidden Files, find the .maintenance file in your root folder, and delete it. If the leftover maintenance file was the cause, the site should return to normal after the file is removed and the update state is cleared.
Is it safe to delete the .maintenance file?
Yes, completely safe. The .maintenance file is only a flag file — it contains a timestamp and tells WordPress to show the holding page. Deleting it has no effect on your database, content, or plugins.
Can I prevent WordPress from going into maintenance mode during updates?
You can't fully prevent it — maintenance mode is a built-in WordPress safety feature. But you can reduce the risk of getting stuck by ensuring updates complete without interruption, and by updating during low-traffic periods.
If deleting the file didn't fix it or you're seeing a different error, I can diagnose and resolve it fast.
Get WordPress Recovery Help