11 WordPress ServicesView all
8 industry verticalsAll industries
12 UK locationsAll locations
Home/Blog/Troubleshooting
Troubleshooting12 November 2026· 4 min read

WordPress Stuck in Maintenance Mode: The 30-Second Fix

Your site has been showing "Briefly unavailable for scheduled maintenance" for hours. Here is the exact file causing it and how to delete it — with or without FTP access.

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.

Frequently asked questions

Why is WordPress stuck in maintenance mode?+

When WordPress runs an update, it creates a hidden file called .maintenance in the root of your installation to show a maintenance message to visitors. When the update completes, WordPress deletes this file automatically. If the update fails mid-way due to a timeout, server error or connection drop, the file remains and your site stays in maintenance mode until you remove it manually.

How do I take WordPress out of maintenance mode?+

Connect to your site via FTP or your hosting file manager. Navigate to the root of your WordPress installation (the folder containing wp-config.php). Find the hidden file called .maintenance and delete it. Your site returns to normal immediately — no WordPress restart or server change needed.

Where is the .maintenance file in WordPress?+

The .maintenance file is in the root directory of your WordPress installation — the same folder as wp-config.php, wp-admin and wp-content. It is a hidden file starting with a dot. In FileZilla, go to Server → Force showing hidden files to make it visible.

How do I prevent WordPress from getting stuck in maintenance mode?+

Maintenance mode usually sticks because updates time out on slow hosting. Avoid running multiple large updates simultaneously. Update plugins and core on a staging environment first. Dedicated or cloud hosting with higher PHP execution time limits significantly reduces the frequency of update timeouts.

Related service

If your site regularly gets into broken states during updates, our maintenance plans handle all WordPress and plugin updates in a managed, staged process — with rollback if anything goes wrong.

WordPress Maintenance Plans →

Next article

Troubleshooting

WordPress Media Upload Not Working: How to Fix Image Upload Errors

→
← All articles