Are you seeing the ‘Briefly unavailable for scheduled maintenance’ error in WordPress?
This error usually appears while updating WordPress core, plugins, or themes. Basically, your WordPress site fails to finish the update and stays stuck in maintenance mode.
In this article, we will show you how to easily fix the ‘Briefly unavailable for scheduled maintenance’ error in WordPress. We will also show you why this error occurs and how you can avoid it in the future.

Why Does the WordPress Maintenance Mode Error Occur?
The WordPress maintenance mode page is technically not an error. It is a notification page.
During the update process, WordPress downloads necessary update files to your server, extracts them, and then installs the update.
WordPress also puts your site into maintenance mode and displays the ‘Briefly unavailable for scheduled maintenance. Check back in a minute’ notice during the process.

To trigger the maintenance mode notification, WordPress creates a temporary .maintenance
file in your website’s root folder.
If everything works normally, then this notice will probably be displayed for only a few seconds. After the successful update, WordPress will automatically delete the maintenance file and disable maintenance mode.
However, sometimes, due to a slow WordPress hosting server response or low memory issue, the update script will time out and interrupt the process. When this happens, WordPress does not get a chance to take your site out of maintenance mode.
In other words, your WordPress website will continue showing the maintenance mode notice, and you will need to manually fix it.
If this error is happening to you, don’t worry. Simply follow this guide so that you can resolve it in no time. You can use these quick links to skip to different parts of our tutorial:
Video Tutorial
If you’d prefer written instructions, then just keep reading.
How to Fix the WordPress Maintenance Mode Error
To get your website out of maintenance mode, all you really need to do is delete the .maintenance
file from your site’s root folder using an FTP client like FileZilla or your hosting’s file manager app.
Simply connect to your website’s files, find the .maintenance
file, right-click on it, and select ‘Delete’.

If you can’t find the .maintenance
file in your WordPress root directory, then make sure your FTP client is set to show hidden files.
In FileZilla, you can force the client to show hidden files by clicking on Server » Force showing hidden files from the menu bar.

Once the .maintenance
file has been removed, your site will come out of maintenance mode, and the error should be fixed.
Troubleshooting the WordPress Maintenance Mode Error
Since we have helped thousands of users fix the ‘Briefly unavailable for scheduled maintenance’ error in WordPress, we have also helped users solve several unseen issues that can come up.
Below are some additional steps you might have to take:
WordPress Is Still Stuck in Maintenance Mode After the Update and Fix Above
If this is the case, then you need to update the wp-activate.php
file located in your main WordPress folder. This is the same place where you found and deleted the .maintenance
file.
You will need to either open the file using your hosting company’s file manager app or download it on your computer using FTP.
Next, you need to find the code:
define ('WP_INSTALLING', true)
Then, change the ‘true’ to ‘false’.
So your code will look like this:
define ('WP_INSTALLING', false)
After that, you need to save the changes and upload the file to your hosting server using FTP. If you are using the hosting company’s file manager, then simply saving the file should get you out of maintenance mode.
My Site Is Broken After I Fixed the WordPress Maintenance Mode Error. How Do I Fix It?
An unfinished or interrupted update may cause issues when your site comes out of maintenance mode.
If this error occurred when you were updating WordPress core software, then you will need to follow our guide to safely update WordPress.
If the error occurred when you were updating a WordPress plugin, then you will need to temporarily deactivate all WordPress plugins using FTP. This step will ensure that the corrupt plugin is disabled, and your website will come back online.
Next, you will need to log in to your WordPress dashboard and activate one plugin at a time to see which plugin caused the issue. After that, you need to manually install the plugin update so that it’s working properly.
How to Avoid the WordPress Maintenance Mode Error in the Future
We already know that the ‘Briefly unavailable for scheduled maintenance’ error is caused by a slow server response or a low memory issue on your web hosting server.
The easiest way to avoid this error is by upgrading to a higher hosting plan. We recommend going with one of these managed WordPress hosting companies that offer superior hosting performance.
If upgrading to a higher hosting plan is not an option, then we recommend doing plugin and theme updates one at a time.
Often, users have a tendency to quickly click on the update link underneath each plugin. WordPress then staggers the update order. However, even a millisecond of delay in connection could cause a conflict, leading your site to be stuck in maintenance mode.

Instead of quickly clicking on the ‘Update’ link, we recommend patiently updating one plugin at a time.
How to Customize the Maintenance Mode Notification
An easier solution to avoid showing the default maintenance mode notification is by manually putting your WordPress site in maintenance mode before installing any updates.
The best way to do this is by installing and activating the SeedProd plugin. It is the best WordPress page builder plugin that comes with a maintenance mode feature.
You can customize your maintenance mode page using the drag-and-drop builder and integrate different email marketing tools.
Check out our SeedProd review if you want more details about the plugin.
First, you will need to install the SeedProd plugin on your website. For more details, see our step-by-step guide on how to install a WordPress plugin.
Upon activation, go to SeedProd » Landing Pages from your WordPress admin panel and click on the ‘Set Up a Maintenance Mode Page’ button.

After that, you will need to select a template for your maintenance mode page.
Simply hover over the template you want to use and click the check icon.

Next, you can customize your maintenance mode page using the SeedProd drag-and-drop builder. The plugin offers standard blocks for text, images, and buttons and advanced blocks such as a countdown timer, contact form, and social sharing buttons.
Simply drag any block you want from the menu on your left onto the template on the right.

SeedProd also makes it super easy to arrange the blocks in the template the way you want. Plus, you can click on any element to edit its color, size, text, font, and more.
Once you are happy with the maintenance mode page, click the ‘Save’ button to store your changes. Next, head over to the ‘Page Settings’ tab and click the Page Status toggle to Publish your page.

Now, whenever you are updating your website, simply enable the maintenance mode page on your WordPress website.
To activate the page, head over to SeedProd » Pages from your WordPress dashboard and toggle Maintenance Mode to ‘Active.’

You can then visit your website to see the maintenance mode page in action.
Here’s what it may look like:

For ideas on how to design your maintenance mode page, check out our article on maintenance page ideas.
We hope this article helped you fix the ‘Briefly unavailable for scheduled maintenance’ error in WordPress. You may also want to read our guide on fixing the most common WordPress errors and the difference between coming soon vs maintenance mode.
If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.
Mich says
Hi, this tutorial works for me temporarily; when I try to update a plugin (any one), it keeps saying that the update failed, and the maintenance error message comes back up again. I signed out and signed back in a few times, refreshed the page, deleted the maintenance file every time it appears again, but nothing’s working.
Any idea what’s causing this?
WPBeginner Support says
There are many possible reasons, we would recommend using the recommendation from the end of our article for a workaround!
Admin
Dana says
Thank you so much
WPBeginner Support says
You’re welcome!
Admin
Larry says
Worked for me on 01 April 2022
WPBeginner Support says
Glad our guide was helpful!
Admin
waqar ahmad says
it took me two minutes to restore my website. worked like magic. thanks
Sneh Mishra says
Thank you so much for this article, it worked
MUJAHID H says
Great It worked , Thanks
WPBeginner Support says
Glad our guide was helpful
Admin
TJ says
Please could you help me: My wordpress site says ” I have a critical error”.
WPBeginner Support says
That would be a different error, you would want to take a look at our guide below for our recommendations:
https://www.wpbeginner.com/wp-tutorials/how-to-fix-the-wordpress-white-screen-of-death/
Admin
sir waqas says
thanks you. i get my solution
WPBeginner Support says
Glad our guide was helpful
Admin
Louis Wandagp says
Thank you very much, this helped me alot
WPBeginner Support says
Glad our guide was helpful
Admin
Tom says
You saved me – Thanks
WPBeginner Support says
You’re welcome, glad our guide was helpful
Admin
Valentina Acosta says
Thank you very much for sharing your knowledge!!
WPBeginner Support says
You’re welcome, glad our content is helpful
Admin
Tek Child says
Hello,
First of all, thanks for saving my site. I had the same problem with my localhost website and was so tensed because I was about to make it live today. This problem occurred when I tried updating ewww image optimizer. I don’t know how to say thanks to you.
Thanks for the information.
WPBeginner Support says
Glad you found our guide helpful
Admin