You clicked "Update" on a plugin, the coffee was still hot, and now your website is one grey line on a white page: "Briefly unavailable for scheduled maintenance. Check back in a minute." You check back in a minute. Then in five. The phone you put on the site for customers is suddenly very quiet. Every guide out there tells you to delete one file, and they're right most of the time. But this morning I read the WordPress code that prints the message, and it has a clock in it that nobody mentions. That clock tells you which fix you need.
What does "Briefly unavailable for scheduled maintenance" mean?
It means WordPress found a small file called .maintenance in your site's main folder and decided an update is running. WordPress creates that file at the start of every update and deletes it at the end. If the update stopped halfway, the file stays and every visitor, you included, gets the grey message instead of your site.
It isn't a hack and it isn't your host being down. It's WordPress protecting itself while it swaps files: half a plugin on the server is worse than a short "come back later". The trouble starts only when nobody tells it the swap is over.
<?php $upgrading = 1764673200; ?>
- The dot at the front of the name hides the file in most file managers until you switch on "show hidden files".
- The number is the moment the update started, counted in seconds since 1 January 1970. That's the whole file.
- It sits next to
wp-config.phpand thewp-adminfolder, not insidewp-content.
The 10-minute rule inside WordPress
WordPress shows the message only while the time stamp in that file is less than 10 minutes old. After that, its own code treats the file as stale and loads your site normally, even with the file still there. So a message that lasts much longer than 10 minutes means something else is keeping it alive.
This is in wp-includes/load.php, in a function called wp_is_maintenance_mode(). The comment above the check says it plainly: if the time stamp is older than 10 minutes, consider maintenance over. The function that prints the message answers with status 503 (temporarily unavailable) and a "Retry-After: 600" header, which asks browsers and Google to come back in 600 seconds. Ten minutes again.
Why do so many people say their site was "stuck" for hours, then? In the sites I look after, it comes down to four things: the update ran again and wrote a fresh time stamp, a custom maintenance page is installed, a maintenance plugin is switched on, or you're looking at a saved copy of the page. The table below sorts them.

Which fix do you need? Look at the clock and the wording
Note when the message first appeared and copy its exact words. Under 10 minutes with the WordPress wording, wait or delete the file. Longer than that, or different wording, the file is not your main problem, and deleting it alone won't bring the site back.
| What you see | How long | What is causing it |
|---|---|---|
| "Briefly unavailable for scheduled maintenance. Check back in a minute." | Under 10 minutes | An update is running or just died. Wait a few minutes, or delete .maintenance. |
| The same words | Comes back again and again | The update keeps retrying and failing, often automatic updates on one plugin. Each try writes a new time stamp. |
| The same words, but only on your computer | Hours | A saved copy in your browser or a cache. Open the site on your phone over mobile data. |
| Your own design, logo, "We'll be back soon" | Any time | A custom page in wp-content/maintenance.php. WordPress shows it in place of the grey line. |
| "Coming soon", a countdown, an email signup box | Days | A maintenance or coming-soon plugin that someone switched on. The 10-minute rule doesn't apply to it. |
The last row is my favourite. Somebody switches on a "coming soon" plugin during a redesign, launches the new site and forgets about it. The business runs ads for a month to a page with a countdown that already reached zero. If that's you, nothing is broken: log in to WordPress, which still works for logged-in admins with most of these plugins, and turn the plugin off.
How to delete the .maintenance file
You need your hosting account, not WordPress, because the dashboard shows the same message. Open the file manager in your hosting panel, or connect with an SFTP program like FileZilla, go to the folder that holds wp-config.php, show hidden files, and delete .maintenance. The site comes back on the next reload.
- Log in to your hosting account and open File Manager. On cPanel hosts it's under Files. If you only have the GoDaddy-style dashboard with seventeen upsell banners, scroll past them, it's there.
- Open the site's main folder. On most hosts it's
public_html, on others it's named after your domain. You're in the right place when you seewp-admin,wp-contentandwp-config.php. - Turn on hidden files. In cPanel File Manager it's under Settings, "Show Hidden Files (dotfiles)". In FileZilla it's Server, then "Force showing hidden files".
- Find
.maintenanceand delete it. Don't touch.htaccessnext to it, which is a different file your site needs. - Reload the site in a private window. If it loads, go straight to the next section before you celebrate.
If you can't find the file at all, that's useful news. It means the message comes from one of the other rows of the table, and you're looking for a plugin or a custom page, not a leftover file. Same story when the site loads but your page edits don't show: that's a cache, and I wrote up the four checks for it in why website changes are not showing.

The site is back. Now check what the update left behind
- Deleting the file ends maintenance mode. It doesn't finish the update. Open Dashboard, then Updates, and see which plugin or theme still says an update is available.
- Update that one item on its own and keep the tab open until WordPress says it's done. Closing the tab halfway is how most of these start.
- If the site now shows "There has been a critical error on this website", the update broke a plugin. WordPress usually emails the admin a recovery link; I explained that email in what the WordPress technical issue email means.
- Don't press "Update all" on fifteen plugins at once tomorrow morning. One at a time is slower and it's also the version you can undo.
Why did the message come back the next day?
Because the same update ran again and failed again. WordPress can update plugins by itself in the background, so a plugin that can't install, because of a full disk, wrong folder permissions or a licence that expired, will put the site into maintenance mode at every try. Find that plugin and fix or replace it by hand.
A full hosting disk is the most common one I see. The update needs room to unpack the new version next to the old one, and a hosting account stuffed with five years of backups in the home folder has none. That's also why I keep telling people to test a website backup and keep it somewhere other than the same server.
When you'd rather not do this at 11 p.m.
This is one of those jobs that takes me two minutes and takes an owner an evening of hosting panels. Running updates one by one, watching the disk, and checking the site after each one is part of my website maintenance and support plan. And if the site is down for a reason that has nothing to do with WordPress updates, start with what to check when your website is down.
Questions about the maintenance message
Is my WordPress site hacked if it says Briefly unavailable for scheduled maintenance?+
Almost never. The message is WordPress's own update screen. It appears when an update of WordPress, a plugin or a theme is running, or when an update died halfway and never deleted its .maintenance file.
Can I log in to wp-admin while the message is showing?+
No. WordPress checks for the maintenance file before it loads the dashboard, so the login page shows the same message. You need your hosting file manager or an SFTP program to reach the file.
Is it safe to delete the .maintenance file?+
Yes. It holds one line with a time stamp and nothing else. Deleting it only tells WordPress the update is over. It does not undo or finish the update, so check your plugins afterwards.
Does the maintenance message hurt my Google rankings?+
A few minutes do no harm. WordPress answers with status 503 and asks visitors to come back in 600 seconds, which tells Google the outage is temporary. A site stuck for days is a different story.
Why did the message come back the next day?+
Something ran the same update again and it failed again. That is usually automatic updates retrying a plugin that cannot install. Find which plugin is half updated and update or replace it by hand.
Sources, read on 2 December 2026: WordPress source code on GitHub, wp-includes/load.php (the functions wp_maintenance and wp_is_maintenance_mode: the 10-minute check, status 503, Retry-After 600, the maintenance.php page) and class-wp-upgrader.php (what the .maintenance file contains).
Site still showing the grey message?
Send me the address and the exact words on the screen. I'll tell you which row of the table you're in.
Get My Free Quote


