Briefly unavailable for scheduled maintenance. Check back in a minute: how to fix it in WordPress

Your site was working a few minutes ago. Now every visitor sees one line of text: “Briefly unavailable for scheduled maintenance. Check back in a minute.”

Your site has not been hacked, and your content is very likely still there. WordPress shows this message during updates, and it is usually a quick problem to fix. This guide explains why it appears and what to do, in order.

Why WordPress shows this message

Each time WordPress, a theme or a plugin updates, WordPress puts the site into maintenance mode. It creates a small file called .maintenance in the main folder of your site, and it shows the message to visitors while the update runs. When the update ends, WordPress deletes the file and the site comes back.

Normally this takes a few seconds and nobody notices. The message stays on screen when something stops the update before it finishes. Common reasons are:

  • You closed the browser tab or lost your internet connection during the update.
  • You updated many plugins at once and the server ran out of time or memory.
  • Two updates ran at the same time, for example an automatic update while you were updating by hand.
  • A plugin or theme update failed partway through.

How to fix it

Step 1. Wait 10 minutes

WordPress ignores the .maintenance file once it is 10 minutes old, so the site often comes back without any help. Don’t run more updates during this time.

Step 2. Clear your cache and check again

You may be seeing a saved copy of the page. Open the site in a private window, or on your phone using mobile data. If the site loads there, clear the cache in your browser. If you use a caching plugin, or your host or Cloudflare caches your pages, clear those too.

Step 3. Delete the .maintenance file

If the message is still there after 10 minutes, delete the file by hand. You can do this from your hosting account, and it only takes a few minutes.

  1. Log in to your hosting control panel (for example cPanel).
  2. Open File Manager.
  3. Open the main folder of your site. This is usually called public_html, and you will see the folders wp-admin, wp-content and wp-includes inside it.
  4. Look for the file called .maintenance. The dot means it is a hidden file, so you may need to turn on hidden files. In cPanel, click Settings at the top right of File Manager and tick “Show Hidden Files”.
  5. Delete the .maintenance file. Delete only this file.
  6. Reload your site.

If you don’t have a control panel, you can do the same with an FTP program, or ask your host to delete the file for you.

What to check once the site is back

Deleting the file ends maintenance mode, but it does not finish the update. Do these checks before you move on:

  1. Log in to your dashboard and go to Dashboard, then Updates. Anything still listed there did not finish.
  2. Update what is left one at a time, in this order: WordPress first, then your theme, then your plugins.
  3. Open your home page, your contact page and your other important pages, and check that they look right.

Before you run any update, make sure you have a recent backup you can restore.

If the site still doesn’t work

If the maintenance message has gone but you now see a white page or an error, the update most likely stopped halfway and left a plugin, a theme or WordPress itself incomplete. Our guide on what to do when a WordPress plugin update causes a critical error takes you through the next steps.

If you see this message and you did not run any update, an automatic update probably started it. Most sites have automatic updates turned on for at least some plugins.

How to avoid it next time

  • Keep the browser tab open until the update has finished.
  • Update one item at a time on a site with a lot of plugins.
  • Don’t start updates when your internet connection is unreliable.
  • Update when your site is quiet, not during your busiest hours.
  • Take a backup first. Our guide on whether it is safe to update WordPress explains when to update and in what order.

Our guide on how to update plugins safely goes through the steps one by one.

Need help with your site?

If you can’t reach your hosting account, or the site is still broken, we can look at it for you. We confirm the price before any work starts. Contact us and tell us what you see on the screen.

Prefer not to deal with updates at all? The WP Paladin Care plan is €29 a month plus tax. We run your updates safely and undo them automatically if something breaks, and we keep a daily backup of your site. If an update we ran causes a problem, we fix it at no cost. If you want to compare your options first, see our guide to WordPress website maintenance cost for small business.