WordPress Maintenance Mode: What It Is and How to Use It?

WordPress Maintenance Mode: What It Is and How to Use It?
WordPress maintenance mode is for your WordPress website like a service garage for your car. It lets you safely make changes behind the scenes without disrupting the visitor experience. How?
The mechanism is simple. Once you activate the maintenance mode, your site displays a custom message or page instead of your usual content. It usually sounds like:
Hey! We’re doing some fixes. We’ll be back online soon!
In the meantime, you may work calmly in the background on updates and fixes.
In this post, I’ll answer the most common questions arising around this concept. Namely:
- What actually is the WordPress maintenance mode and when to use it?
- What can you win or save by using maintenance mode in WP?
- How to put WordPress in maintenance mode?
- How to disable maintenance mode in WordPress?
- What makes a good maintenance message (+ 9 examples)?
- How to fix WordPress maintenance mode (if not working correctly)?
If at least one of those is what you’re looking for, read on and learn the details.
What is WordPress Maintenance Mode?
WordPress maintenance mode is a built-in feature that temporarily hides your site from public view while you perform updates, edits, or other technical work. Instead of showing your usual content, it displays a simple message telling visitors the site is currently unavailable. This way, you can safely make changes without annoying your audience.
Here is an example WordPress maintenance message displayed once the mode is active:

When to Use WordPress Maintenance Mode? 5 Key Use Cases
WordPress maintenance mode is used during core, plugin or theme updates to prevent display or functionality issues. It’s also useful when you’re:
✅ making design changes (so you can experiment freely without exposing users to an unfinished layout),
✅ migrating your website (to avoid confusing visitors while content or data is being transferred),
✅ fixing bugs (so broken features don’t interfere with UX while you’re troubleshooting),
✅ testing new features (to safely preview changes without affecting live site performance).
In short, any situation where you want to work on your site without exposing visitors to errors or half-baked changes is a good time to activate maintenance mode.
Why Use WordPress Maintenance Mode? 4 Key Benefits
Maintenance mode is used to ensure a seamless user experience, retain SEO traction, and create a safe environment to work while performing maintenance tasks. Let’s expand on these “whys” a bit to give you a more detailed view.
Maintaining Hassle-Free User Experience
When you’re making updates – whether it’s redesigning your homepage, switching themes, or performing major plugin changes – there’s always a risk of your site looking off or even breaking temporarily.
Maintenance mode ensures that your visitors don’t experience this chaos. Instead, they see a clean, professional message that reassures them the site will be back soon.
Keeping SEO and User Trust Intact During Changes
Showing a half-broken layout or error messages can damage your site’s credibility, and worse, affect how search engines view your site.
Enabling maintenance mode minimizes this risk by serving a controlled message to both users and bots, helping preserve your brand image and SEO health during critical updates.
Working Safely Without Live Site Pressure
Making real-time changes on a live website can be stressful, especially when users are interacting with the site.
Maintenance mode creates a safe, distraction-free environment where you can make updates or test features without worrying about disrupting user sessions or causing confusion.
Managing Updates and Migrations Cleanly
Big updates, such as switching hosts or migrating your site to a new domain, often involve some downtime or visible glitches.
Maintenance mode provides a structured way to communicate this planned downtime, setting clear expectations with your audience while you handle the backend work.
How to Put a WordPress Site in Maintenance Mode? 4 Ways
There are a few easy ways to enable maintenance mode on a WordPress site – whether you prefer using a plugin, editing code manually, or taking advantage of built-in features for updates. Let’s walk through the main options so you can choose what works best for your workflow.
1. Activate WordPress Maintenance Mode With a Plugin (Recommended for Most Users)
Plugins offer the easiest, most customizable way to enable maintenance mode – with options for styling the maintenance page, setting timers, and even collecting emails. If you decide to go this way, take the following steps.
1️⃣ Install a plugin
Go to Plugins → Add New in your dashboard and search for tools like WP Maintenance, SeedProd, or Maintenance. I recommend the first one, as it is free and sufficient for most use cases.

2️⃣ Activate the plugin
Next, select the plugin of your choice and click Install.
Once installed, click Activate.
3️⃣ Configure settings
Next, go to the plugin’s settings panel (usually found under Settings or directly in the sidebar).

4️⃣ Enable maintenance mode
Toggle it on, set up your message or design to be displayed on your website during the maintenance work, and save changes.
And that’s all! Visitors will now see your custom maintenance page (which is of course a temporary page), while logged-in admins still see the site normally.
Best Use Case: Choose this method if you want a user-friendly, customizable solution without touching code – ideal for non-developers.
2. Enable WordPress Maintenance Mode Using Built-In Tools
WordPress briefly enters maintenance mode automatically when you update themes, plugins, or the core. You don’t have to enable it – but you can trigger it manually if needed. To manually trigger:
1️⃣ Create a file called .maintenance in the root directory of your WordPress site.
2️⃣ Paste this line of PHP into the file:
<?php $upgrading = time(); ?>3️⃣ Save and upload the file to your site using FTP or your hosting file manager.
Your site now shows the default “Briefly unavailable for scheduled maintenance” message to visitors.
To disable it, just delete the .maintenance file once your work is done.
Best Use Case: This method is ideal for quick, no-plugin interventions when you’re making updates and want to rely on WordPress’s native handling without installing additional tools.
3. Turn On Maintenance Mode with Code in functions.php
For developers or those comfortable with PHP, you can add a quick snippet to your theme’s functions.php file to block access. Although quick, this method requires editing your active theme’s code directly, so be careful, as if something wen’t wrong, you can mess up the entire website. Here are the steps for this method:
Pro-Tip: Always backup your site prior to code modifications to protect your data should anything go wrong during the process.
1️⃣ Open your theme’s functions.php file.
2️⃣ Add the following code:
function custom_maintenance_mode() {
if (!current_user_can('edit_themes') || !is_user_logged_in()) {
wp_die('Site under maintenance. Please check back soon.');
}
}
add_action('get_header', 'custom_maintenance_mode');Note that you can replace Site under maintenance. Please check back soon. with a custom message (whatever you want).
3️⃣ Save the file. Now, anyone who’s not logged in will see the message.
4️⃣ Remove the snippet once you’re done with maintenance.
Best Use Case: Choose this approach when you want complete control over the maintenance functionality and need to implement custom logic, such as allowing specific user roles access or displaying different messages based on user status.
4. Via Your Hosting Provider’s Tools
Many managed WordPress hosting platforms like Kinsta, SiteGround, or WP Engine offer built-in options to put your site into maintenance mode or staging. Steps here may look like these ones:
1️⃣ Log in to your hosting dashboard.
2️⃣ Find tools like “Maintenance Mode” or “Site Lock”.
3️⃣ Toggle the feature on.
4️⃣ Customize the message if the host allows it.
Best Use Case: Ideal when you’re performing server-level maintenance, updates, or migrations where even WordPress admin access might be temporarily unavailable, but you still need to communicate with visitors.
Website Maintenance Message – Which One To Go For?
The best website maintenance message depends on your audience and maintenance duration. Here are a few essential guidelines you should consider (along with maintenance message examples you can use freely):
👉 For quick updates (under 1 hour), keep it simple and reassuring, like:
(1) We’re making some quick improvements to serve you better. We’ll be back shortly!
(2) Hang tight! We’re fine-tuning things behind the scenes and will be back in a few minutes.
(3) Quick maintenance in progress. Thanks for your patience while we make things even better!
This maintains trust without creating anxiety.
👉 For scheduled maintenance, be specific with timing:
(1) Scheduled maintenance in progress. We’ll be back online by 3 PM EST. Thank you for your patience!
(2) Routine maintenance in progress. Service will resume at approximately 5 PM. Thanks for waiting!
(3) Scheduled site improvements happening now. We’ll be back by 6 PM with exciting updates!
Clear expectations reduce user frustration.
👉 For extended maintenance, add value and engagement:
(1) We’re upgrading our site to bring you exciting new features! Follow us on [social media] for updates, or leave your email below to be notified when we’re back.
(2) Big changes ahead! We’re working around the clock to deliver something amazing. Join our mailing list for behind-the-scenes updates and be first to see the new site.
(3) Major improvements coming your way! We’re rebuilding our platform for a better experience. Subscribe below for launch notifications and exclusive early access.
While creating any type of maintenance message, you should adhere to the following best practices:
- acknowledge the inconvenience,
- provide an estimated timeline (when possible),
- explain briefly why the maintenance is happening,
- offer alternative contact methods if needed,
- match your brand’s tone and personality.
Pro-Tip: Always test your maintenance message before going live, and consider collecting email addresses during longer outages to turn the situation into a marketing opportunity.
Summary
As you see, WordPress maintenance mode is a very useful feature. It enables you to migrate your site, do necessary cleaning or update plugins and themes without confusing your audience (and losing their trust as well…) and search engines. Enabling and disabling it is straightforward regardless of the method you go for.
If you are ahead of major changes to your site and need professional advice on how to perform them seamlessly, you can always reach out to WP Kraken experts, who take care of hundreds of business sites on a daily basis. Good luck!
CONTACT WP KRAKENFAQ
How to Activate WordPress Site in Maintenance Mode?
To put a WordPress site in maintenance mode, you can use a plugin like SeedProd or WP Maintenance Mode for an easy, customizable solution. Alternatively, you can manually enable it by editing your theme’s functions.php, creating a maintenance.php file, or using WP-CLI if you’re comfortable with code.
What Is WordPress Custom Maintenance Mode?
WordPress Custom Maintenance Mode refers to a personalized version of the default maintenance screen that visitors see when your site is temporarily offline. Instead of showing a plain message, you can design a branded page with your logo, colors, messaging, and even features like a countdown timer or contact form. This helps maintain a professional image and keeps users informed while your site is under construction or being updated. You can set it up using plugins, theme files, or manual code.
What to Do If WordPress Maintenance Mode Is Not Working Properly?
If you got stuck in maintenance mode or you’re unable to deactivate it, start by checking for leftover .maintenance files in your site’s root directory – delete this file if it exists. If you’re using a plugin, try disabling and reactivating it, or clear your cache (both browser cache and any caching plugins). For code-based methods, double-check your syntax in functions.php or .htaccess. Still stuck? Temporarily switch to a default theme and deactivate all plugins to rule out conflicts.
Which WordPress Maintenance Plugin Is Best?
WP Maintenance Mode and SeedProd are the top choices for most users. WP Maintenance Mode offers a free, lightweight solution perfect for basic needs, while SeedProd provides advanced customization options with beautiful templates and email collection features.
