Skip to content

WordPress maintenance

WordPress stuck in maintenance mode? The file to delete, and why the 10 minute rule matters

In short

WordPress shows "Briefly unavailable for scheduled maintenance" while a .maintenance file sits in the root folder. Delete it, then rerun the update. In our 13 Oct 2026 lab WordPress ignored the file after 10 minutes, so a longer outage means something keeps refreshing it. $45 for one problem: cause in writing before anything changes, staging copy first.

Seeing this on your own site? Send us the address for a free site check, and a written report comes back within 2 business days.

Key points

  • The message comes from one file, .maintenance, in the folder that holds wp-config.php.
  • In our lab the front end, /wp-admin/, /wp-login.php and the REST API all returned 503. You cannot log in to fix it.
  • WordPress ignores the file once its time stamp is 10 minutes old. Ours stayed on disk and the site came back anyway.
  • If the message lasts longer than that, check the time inside the file before you delete it. Something may be rewriting it.
On this page (9)
  1. Why is WordPress stuck in maintenance mode?
  2. What is inside the .maintenance file?
  3. Briefly unavailable for scheduled maintenance. Check back in a minute: what it means
  4. Why should the message clear by itself after 10 minutes?
  5. What if it lasts longer than 10 minutes?
  6. How do you fix it safely?
  7. Deleted .maintenance and the message is still there?
  8. Down for maintenance, scheduled maintenance or stuck: which one is yours?
  9. Questions and answers

Why is WordPress stuck in maintenance mode?

WordPress gets stuck in maintenance mode when an update leaves a file called .maintenance behind. While that file is there, every visitor sees one line: “Briefly unavailable for scheduled maintenance. Check back in a minute.”

WordPress writes the file at the start of an update and deletes it at the end. If the update stops halfway, the delete never happens.

We tested what that file does on 13 Oct 2026, on a fresh WordPress 7.1.3 site with PHP 8.3.33. The surprise: WordPress stops honoring the file after 10 minutes.

A stuck update is a common way for a site to go down with nobody touching it, which is why update handling sits at the centre of our WordPress care plan.

What is inside the .maintenance file?

One line of PHP with a number in it:

<?php $upgrading = 1791899582; ?>

That number is a Unix time stamp, the moment the update started. The file sits in the WordPress root folder, next to wp-config.php.

Briefly unavailable for scheduled maintenance. Check back in a minute: what it means

It means WordPress found a .maintenance file and stopped before loading your theme or plugins. That sentence is WordPress’s own text, printed by the core function wp_maintenance(), and the page around it is titled Maintenance. The only other look core allows is a maintenance.php file in wp-content, which replaces the plain page and shows only while .maintenance exists.

It blocks everything we tried. With the file in place, we requested four addresses: the home page, /wp-admin/, /wp-login.php and /wp-json/, the REST API.

All four returned status 503 and the same 2,500 byte page, titled Maintenance. The response also carried a Retry-After header of 600, which tells browsers and search crawlers to come back in 10 minutes.

So the owner is locked out with everyone else, because the login page is the maintenance page too. The fix has to happen in the files.

Why should the message clear by itself after 10 minutes?

Because WordPress checks the age of the time stamp, not just whether the file exists.

We backdated the file and requested the same four addresses each time:

Age of the time stampHome page/wp-admin/Login pageREST API
0 seconds503503503503
590 seconds503503503503
610 seconds200302 to login200200
3,600 seconds200302 to login200200

At 610 seconds the file was still on disk, and the site loaded as if it were gone. The function wp_is_maintenance_mode() in wp-includes/load.php returns false once the time stamp is 10 minutes old.

So a file left behind by an update that died should stop blocking the site after 10 minutes on its own.

The best defence is to prepare before the update, and our WordPress update checklist of 7 checks covers that.

What if it lasts longer than 10 minutes?

Then the old file alone is not the cause. Either something keeps writing a fresh time into it, or the site is down for another reason that happens to look similar.

We did not test those cases, so these are checks, not findings:

  1. Open .maintenance and read the number. Convert it with any Unix time converter. If it is from the last few minutes, an update is still running or has started again.
  2. Ask who else can run updates. A host’s dashboard, a management tool or plugin auto-updates can all start one. Our post on finding out who turned on WordPress plugin auto-updates shows where that setting lives.
  3. Remember that background jobs wait for traffic. Auto-updates start from WP-Cron, and WP-Cron only runs when someone loads a page, so a job can start the moment your first visitor arrives.
  4. If the time stamp is old and the site is still down, look past the file. Check the host’s error log, and whether the 503 page actually says “Briefly unavailable for scheduled maintenance”.

How do you fix it safely?

  1. Wait until no update could still be running. If the time stamp is a few minutes old, give it a few more.
  2. Open your host’s file manager or connect by SFTP, and go to the folder that holds wp-config.php.
  3. Turn on hidden files. The name starts with a dot, so many tools hide it.
  4. Delete .maintenance. Load the home page to confirm it is back.
  5. Log in and open Dashboard, then Updates. Run the update that was interrupted again.
  6. Open Plugins and Themes and check that what was being updated is still listed and active.

Deleting the file ends the maintenance page. It doesn’t finish the update. We did not cut off a real update in our lab, so we can’t tell you exactly what state a half-done one leaves behind, which is why step 6 matters.

This is the failure our care plan is built to keep off a live site: we run updates on a staging copy first, and only send them to the live site once the copy works. What a plan like that costs a month, ours and four others, is in how much WordPress maintenance costs.

Deleted .maintenance and the message is still there?

Send us the page address, what it shows and when it started. We find the cause on a staging copy before we change anything.

One fix: $45 for 1 problem, done in 2 days, and if we start and cannot fix it, you do not pay for that job.

Get the $45 fix

Prices in US dollars; you pay a Stripe invoice.

If you want to look yourself first, these are the four causes we know of. Only the 10 minute clock in the first one comes from our lab; the rest are checks we have not tested:

  1. An update wrote the file again. WordPress writes .maintenance when an update starts, so an update that runs again, from a host tool or a plugin auto-update, puts it straight back. Our lab showed the 10 minute limit counts from the time inside the file, so each fresh file starts the clock again. Reopen the file and compare its time stamp with the time you deleted it.
  2. A cache is serving the old page. A page cache or CDN can keep the saved maintenance page after the file is gone. Untested: purge the cache, then load the page in a private window.
  3. The page is not from WordPress. If the wording differs from the line above, or the page carries a logo or your theme’s look, a maintenance plugin or the host is serving it. Untested: check the plugin list over SFTP and the host’s dashboard.
  4. The update keeps failing. If the file returns every few minutes, an update is starting, failing and starting again. Untested: the host’s error log at those times may name the plugin or theme. Fix that first, then run the update by hand.

Down for maintenance, scheduled maintenance or stuck: which one is yours?

Read the exact words on the page first. WordPress core has one maintenance sentence, so anything else came from somewhere else.

What you seeWhere it comes fromWhat to do
“Briefly unavailable for scheduled maintenance. Check back in a minute.” for a few secondsWordPress, while an update runsWait. WordPress deletes the file when the update ends, and in our lab it stopped honoring the file at 10 minutes
The same sentence for more than 10 minutesA .maintenance file with a fresh time in itThe four causes above
“Down for maintenance” or a styled page with a logoA maintenance plugin, the theme or the host, not WordPress core (untested)Turn off the plugin’s maintenance setting, or ask the host
A maintenance notice your host sent you in advanceThe host’s own scheduled work (untested)Wait for the window the host gave, then check the site

Not sure which one you have? Ask for the free site check: send the site address and we reply in writing within 2 business days. If you already know what to fix, the one-off fixes are listed here.

Where did these facts come from?

Questions and answers

Where is the .maintenance file?

In the WordPress root folder, the same folder as wp-config.php, wp-admin and wp-content. Its name starts with a dot, so many file managers and SFTP apps hide it until you turn on hidden files.

Is it safe to delete the .maintenance file?

Yes, once no update is running. The file holds one line with a time in it and nothing else. Deleting it only ends the maintenance page. It does not finish or undo the update, so run that update again afterwards.

Can I log in to wp-admin while WordPress is in maintenance mode?

No. In our WordPress 7.1.3 lab, /wp-admin/ and /wp-login.php returned the same 503 maintenance page as the home page. The fix has to happen in the files, through your host's file manager or SFTP.

How long does WordPress maintenance mode last?

Normally a few seconds, while an update runs. WordPress stops honoring the file 10 minutes after the time written in it, even if the file stays on disk. Our lab site came back at 610 seconds with the file still there.

Still stuck? Send us the page address and what you see Want to know if the problem stops here? Ask for the free site check.

We write up one real fix or build a few times a week. Follow DistroCode on LinkedIn

  • Results from our 13 Oct 2026 WordPress lab: critical error returned 500, maintenance returned 503, and Updating failed while the post saved, under the tag Read the screen first.

    WordPress site broken after update? What the screen tells you broke

    When a WordPress site breaks after an update, read the screen first. A critical error means a plugin or theme crashed PHP. "Briefly unavailable for scheduled maintenance" means a stuck .maintenance file. "Updating failed" in the editor often means the post saved anyway. $45 for one problem: cause in writing before anything changes, staging copy first.

  • Card reading 503? Read the page, then the log. Beside it, lines from our 17 Oct 2026 WordPress lab: in maintenance mode the home page answers 503 and a logo image 200, and with PHP stopped the home page answers 503 and the logo image 200. A tag reads Images still loaded.

    WordPress 503 service unavailable: three causes our lab reproduced

    A WordPress 503 service unavailable error means the server is up but will not build pages. In our 17 Oct 2026 lab it came from a .maintenance file, a stopped PHP service, or every PHP worker busy. The page text and server logs tell you which. $45 for one problem: cause in writing before anything changes, staging copy first.

  • Card reading Care plans read on one day: $39 to $599. Beside it, a panel headed Entry plans, 18 Oct 2026 lists GoWP Pro $39, FixRunner $59 to $79, WP Buffs $89, FatLab $99, hosting in, DistroCode $99 and Our store plan $229, with the DistroCode $99 boxed. A tag reads Same price, different work.

    How much does WordPress maintenance cost a month?

    On the four price pages we read on 18 Oct 2026, paid WordPress maintenance plans for one site cost $39 to $599 a month. Entry plans were $39 at GoWP, $59 to $79 at FixRunner, $89 at WP Buffs and $99 at FatLab, hosting included. Ours is $99, or $229 for a WooCommerce store.