You started a WordPress update and walked away. When you came back, the site was showing "Briefly unavailable for scheduled maintenance. Check back in a minute." That was two hours ago. Here is exactly what happened and how to fix it in under a minute.
Why WordPress gets stuck in maintenance mode
Every time WordPress runs an update, it creates a hidden file called .maintenance in the root of your installation. This triggers the maintenance message so visitors do not see a broken or partially updated site. When the update completes successfully, WordPress deletes the file automatically. When the update fails — due to a server timeout, a connection drop or a PHP fatal error mid-update — the file is never deleted and your site stays in maintenance mode indefinitely.
The fix: delete the .maintenance file
Connect to your server via FTP or your hosting control panel's File Manager. Navigate to the root of your WordPress installation. Look for a file called .maintenance. It starts with a dot, making it a hidden file — in FileZilla, go to Server → Force showing hidden files. In cPanel File Manager, enable Show Hidden Files in Settings. Once visible, delete it. Your site returns to normal immediately.
What to do after removing the maintenance file
Check whether the update that triggered the maintenance mode actually completed. In your WordPress dashboard under Dashboard → Updates, check whether the core version, plugin or theme that was updating still shows as needing an update. If it does, run it again. If the same update keeps failing and triggering maintenance mode, check your server's PHP execution time limit — a timeout is likely the cause.
If you cannot access FTP or File Manager
Most hosting providers include a File Manager in their control panel. Log into your hosting dashboard and find the File Manager. Enable the option to show hidden files, then navigate to your WordPress root directory and delete .maintenance. If you cannot access either tool, contact your hosting provider — they can remove the file directly from the server.
ImportantMaintenance mode timeouts are significantly more common on shared hosting, particularly during WordPress major version updates which take longer to complete. If you are on shared hosting and updates regularly fail, consider upgrading to managed WordPress hosting or a VPS where PHP execution time limits are higher and updates complete reliably.