Error rescue

How to fix the WordPress maintenance mode error ("Briefly unavailable for scheduled maintenance")

By Ali Yasin Jatoi 6 min readUpdated July 4, 2026
Reviewed by Ali Yasin Jatoi, Founder & Lead Engineer· Updated July 4, 2026

Quick answer

The WordPress maintenance mode error means an update was interrupted and the hidden .maintenance file WordPress creates during updates was never deleted. Fix it in 60 seconds: connect via SFTP or your host's File Manager, open the WordPress root folder (the one with wp-config.php), enable "show hidden files", and delete the file named .maintenance. Reload the site — it's back. If the update was mid-flight, log in and re-run it from Dashboard → Updates so nothing stays half-installed.

What is WordPress maintenance mode?

WordPress maintenance mode is a temporary state WordPress enters every time it installs core, plugin, or theme updates. During the swap, WordPress replaces old files with new ones — and it doesn't want visitors hitting a half-updated site, so it shows a message instead: "Briefly unavailable for scheduled maintenance. Check back in a minute."

Under the hood, WordPress does two things when an update starts. It creates an empty file called .maintenance in the site root, and it loads a tiny helper file (wp_maintenance()) that checks for that file on every request. If the file exists, WordPress shows the maintenance message instead of the site. When the update finishes, WordPress deletes the .maintenance file and normal service resumes — usually within seconds.

So the message itself isn't a bug. It's a feature. It only becomes an error when the file gets stuck.

Why the maintenance mode error happens

The .maintenance file gets left behind whenever an update is interrupted before WordPress reaches the cleanup step. In our incident logs at WebCare Studios, the four most common causes are: (1) the admin closed the browser tab mid-update, (2) the PHP process hit max_execution_time and died, (3) shared hosting killed the request for using too much memory, or (4) a plugin update triggered a fatal error that stopped the update runner.

None of these are your fault as a site owner. They're symptoms of the environment WordPress is running in — usually a host that's undersized for the site, or a bulk update run directly on production without staging.

Prefer we just fix it?

Site is down or blocking real customers right now? Our emergency team is live around the clock — median response 12 minutes, flat $149 for the fix. Learn more about emergency WordPress help or grab a slot below.

The 60-second fix (SFTP or File Manager)

  • 1. Connect to your site via SFTP (FileZilla, Cyberduck, Transmit) or open your host's File Manager (cPanel, Plesk, MyKinsta, SiteGround Site Tools).
  • 2. Navigate to the WordPress root folder — the folder that contains wp-config.php, wp-login.php, and the wp-content directory.
  • 3. Turn on "show hidden files". The .maintenance file starts with a dot, which hides it by default. In FileZilla: Server menu → "Force showing hidden files". In cPanel File Manager: Settings → tick "Show Hidden Files".
  • 4. Delete the file named .maintenance. Only that file. Don't touch wp-config.php or anything else.
  • 5. Reload your site in a fresh browser tab (or private window to bypass cache). The maintenance message is gone.

If the site is broken after deleting .maintenance

Deleting the file gets visitors back in, but if the update was still mid-flight some plugin files may be half-swapped. You'll usually see PHP warnings, a broken plugin, or in the worst case a critical error.

Log into wp-admin and go to Dashboard → Updates. Re-run whatever update was in progress. WordPress finishes the swap cleanly and the warnings clear.

If wp-admin itself throws a critical error, force-disable the plugin that was being updated: rename its folder inside wp-content/plugins via SFTP (for example rename 'woocommerce' to 'woocommerce_off'). WordPress will deactivate it, the admin loads, and you can reinstall the plugin fresh.

Preventing it from happening again

Update in staging, not on live. Every WebCare Studios care plan tests updates on a staging clone first. If an update breaks staging, live never sees it — and live never gets stuck in maintenance mode.

Raise PHP timeouts on shared hosting. Ask support to bump max_execution_time to 300 seconds and memory_limit to at least 256M. That single change removes the most common cause of interrupted updates.

Put Cloudflare or Bunny CDN in front of the site. During slow origin responses (like an update running), the CDN absorbs the delay so the browser doesn't disconnect first.

If your site gets stuck in maintenance mode more than once a quarter, it's not a WordPress problem — it's a hosting or workflow problem. That's usually when founders move to a managed care plan.

Common questions

What does "Briefly unavailable for scheduled maintenance. Check back in a minute." mean?+

It's WordPress's way of telling visitors that an update is in progress. WordPress creates a hidden .maintenance file at the start of every update and shows this message until the file is deleted. Normally the file is removed automatically within seconds; if the update is interrupted, the file stays and every visitor keeps seeing the message until you remove it manually.

How long does WordPress maintenance mode last?+

A clean update takes 5–30 seconds. If the message stays longer than a minute, the update was interrupted and WordPress is stuck. It won't clear itself — you need to delete the .maintenance file in the site root via SFTP or File Manager.

Where do I find the .maintenance file?+

In the WordPress root folder, alongside wp-config.php, wp-login.php, and the wp-content directory. It's hidden because filenames beginning with a dot are hidden on Unix systems, so turn on "show hidden files" in your SFTP client or File Manager before you go looking.

Is it safe to delete the .maintenance file?+

Yes. It's a temporary lock file WordPress creates during updates and would have deleted itself once the update finished. Removing it manually just does what WordPress couldn't. If an update was mid-flight, log in afterwards and re-run it from Dashboard → Updates so nothing stays half-installed.

Can I fix WordPress maintenance mode without SFTP?+

Yes. Every host provides a web-based File Manager (cPanel, Plesk, MyKinsta, SiteGround Site Tools, WP Engine User Portal). Log into your hosting dashboard, open File Manager, navigate to the WordPress root, enable "show hidden files", and delete the .maintenance file. No SFTP client required.

Why does my WordPress site keep getting stuck in maintenance mode?+

Recurring stuck-updates almost always trace back to hosting: PHP max_execution_time too low, memory_limit too small, or the host killing long-running processes. Raise the limits (or move to a managed host) and update in staging first. If it still happens, get a WordPress engineer to audit the update pipeline.

Does WordPress maintenance mode affect SEO?+

Not if it clears within a few minutes — Google is patient with brief unavailability. If the site stays stuck for hours or days, Googlebot will start seeing 503 responses from the maintenance screen and may temporarily drop rankings. Fix it fast and rankings return within a crawl cycle.

Do I need a maintenance plan to avoid this?+

A care plan doesn't add features WordPress doesn't already have — it adds discipline. Staging-tested updates, verified backups before every update, and a real engineer watching the deploy mean the .maintenance file gets cleaned up every time. Our care plans start at $99/mo and cover this end-to-end.

Want help with this?

The pages below go deeper, by service and by city.

Want this handled for you?

Book a call and we will review your site before recommending anything.

Call Book a call