/ Blog · WooCommercePost
/ WooCommerce · WordPress

How to Put WooCommerce in Maintenance Mode (and Take It Off Safely)

Put WooCommerce in maintenance mode with a plugin, a snippet, or WordPress’s built-in update mode — and take it off cleanly when the .maintenance file gets stuck.

RA
Ryan AlldridgeFounder, Superpress
Jun 2, 20269 min read
Store owner flipping the shop sign to back-in-ten while updating WooCommerce behind it
/ Post · 9 min readBody

What WooCommerce maintenance mode actually does

Maintenance mode replaces your live store with a simple holding page while you make changes behind it. Visitors see a short "we’re doing a quick update, back shortly" message instead of a half-loaded page, a broken layout, or — the expensive one — a checkout that takes their money but never creates the order. It’s the digital version of flipping the shop sign to "back in 10 minutes" so nobody wanders in mid-reshuffle.

There’s a wrinkle that’s specific to WooCommerce. A brochure site in maintenance mode just looks closed. A store in maintenance mode is also pausing the machinery that takes orders, emails receipts, and talks to Stripe or PayPal. That’s why the goal never changes: keep the window short, and know exactly how to open back up.

How to put WooCommerce in maintenance mode

There are three honest ways to do it, from easiest to most hands-on. Pick the lightest one that fits the job.

  • Use a maintenance-mode plugin. The simplest route: install a dedicated maintenance or coming-soon plugin, set your message, and toggle it on. Best for non-technical owners who want a branded holding page and an obvious off switch.
  • Add a small theme snippet. A few lines hooked into WordPress — a wp_die() holding message for logged-out visitors, while admins stay able to work — gives you maintenance mode with no extra plugin. Best when you want tight control, but only if you’re comfortable adding code to a child theme or a snippets plugin.
  • Let WordPress do it for you. Every time you update plugins, themes, or core, WordPress quietly switches the whole site into its own maintenance mode for a few seconds and drops a hidden ".maintenance" file in the root folder. You don’t turn this on — it just happens — but knowing it exists explains most "my store is suddenly unavailable" panics.

How to take WooCommerce out of maintenance mode

Turning it off should be the easy part, and usually is: flip the plugin toggle back off, or remove the snippet, and your store returns. The exception that scares people is WordPress’s built-in mode. If an update stalls or times out, WordPress can leave that hidden ".maintenance" file behind, and your whole site keeps showing "Briefly unavailable for scheduled maintenance" long after the work is finished.

The fix is calmer than it looks: connect over FTP or your host’s file manager, open the site’s root folder (the one with wp-config.php in it), and delete the file named ".maintenance". The store comes straight back. If it doesn’t, finish or roll back the update that stalled, then check again — and this is exactly the kind of recovery a WooCommerce care plan is meant to handle before you even notice.

When you want to pause checkout, not the whole store

Full maintenance mode is a blunt tool. A lot of the time you don’t need to take the whole store dark — you just need to stop new orders for a short window while you fix payments or sort out stock. WooCommerce doesn’t ship a one-click "pause orders" button, so owners reach for one of two lighter moves.

  • Catalog or browse-only mode: keep products visible but hide the Add to Cart and checkout buttons (via a plugin or a snippet). Shoppers can still browse and you keep your search rankings, but nobody buys something you can’t fulfil yet.
  • A store notice instead of a closed sign: WooCommerce’s built-in store notice posts a banner like "Orders paused until Monday" without hiding anything. Good for planned restocks and slow seasons.
  • Save full maintenance mode for the genuinely risky work — payment gateway changes, big plugin updates, theme swaps — where a customer hitting checkout mid-change is the exact thing you’re protecting against.

What to check before you flip the store back on

The moment you take maintenance mode off is the moment a real customer can hit checkout — so treat it like reopening, not just un-pausing. Run one real purchase end to end before you walk away: add to cart, check out, pay with a live card or a gateway test order, and confirm the order appears and the receipt email actually sends.

  • Place one test order and confirm it lands in WooCommerce → Orders.
  • Confirm the customer receipt and the new-order admin email both arrive.
  • Check that Stripe or PayPal recorded the payment and the webhook fired — stuck webhooks are a classic post-update gremlin (see our WooCommerce checkout checklist).
  • Clear any page cache or CDN so visitors aren’t still served the old holding page.

Four ways to enable maintenance mode, compared

They all show a holding page. They differ in how much control you get and how much can go wrong.

MethodBest forWatch out for
Maintenance-mode pluginNon-technical owners who want a branded page and an obvious off switchOne more plugin to keep updated; some add bloat
Theme code snippetDevelopers who want control and no extra pluginA typo can take the whole site down; it lives in your theme
Built-in WordPress update modeNobody turns it on — it covers the few seconds during updatesA stalled update can leave the .maintenance file stuck
Catalog / store-only modePausing orders while keeping the store browseable and indexedNot true maintenance mode — the rest of the site stays live

Which one should you use?

Match the method to the risk of the job, not the other way round.

A quick content or product edit

You probably don’t need maintenance mode at all. Make the change live, or post a store notice if you want to set expectations.

A plugin, theme, or payment-gateway update

Use full maintenance mode (plugin or snippet) for the few minutes the update runs, then test checkout before lifting it.

A restock or a planned pause on selling

Use catalog/browse-only mode or a store notice so you keep traffic and rankings while orders are paused.

A bigger rebuild or migration

Do the work on a staging copy, not behind a maintenance screen on the live store — then push the finished result. If that’s where you’re headed, a managed WooCommerce plan handles the staging and the safe launch for you.

What goes wrong with maintenance mode

  • Leaving it on for days. Search engines see repeated "unavailable" responses and your holding page can start eating rankings and sales. Maintenance mode is minutes, not a lifestyle.
  • The stuck .maintenance file. An update times out, the file stays, and the whole store shows "Briefly unavailable" until you delete it over FTP. Calm fix, scary first impression.
  • Forgetting payments run in the background. Taking the site fully dark mid-update can interrupt a payment webhook, so a charge goes through but the order never finishes — the worst kind of silent failure on a store.
  • Blanking the whole store when you only needed catalog mode. If you just want to stop orders, hiding the buy button beats taking the entire site offline.
  • Lifting it without testing. The first real visitor should not be your checkout tester. Run one live order yourself first.

How we run maintenance windows at Superpress

Our rule is boring on purpose: the live store should be in maintenance mode for as little time as possible, and ideally not at all. Most of the updates owners do behind a maintenance screen, we do on a staging copy first, confirm checkout still works there, then push the change — so the live store barely blinks.

When a real maintenance window is unavoidable, we keep it short, test a live payment on the way out, and watch the order and webhook flow for the first hour. That’s the difference between "the site was down for a sec" and "we lost a day of orders and nobody noticed."

  • Stage risky updates instead of working behind a live maintenance screen.
  • Keep any real window to minutes, announced where it matters.
  • Smoke-test checkout and one live payment before lifting maintenance mode.
  • Watch orders and payment webhooks right after, not just the homepage.

Frequently asked questions.

How do I put WooCommerce in maintenance mode without a plugin?

Add a small snippet to your child theme or a code-snippets plugin that shows a holding message to logged-out visitors while letting admins keep working — typically a wp_die() on an early WordPress hook. It’s lighter than a plugin, but a typo can take the site down, so only do it if you’re comfortable with code or have a developer on call.

Does maintenance mode stop people from buying?

Yes — full maintenance mode hides the whole store, checkout included, so no one can order while it’s on. If you only want to pause orders but keep the store visible, use catalog/browse-only mode or a store notice instead, which keeps your pages indexed and your traffic intact.

How do I turn off WooCommerce maintenance mode when it’s stuck?

If your store is stuck showing "Briefly unavailable for scheduled maintenance," a failed update left a hidden ".maintenance" file behind. Connect over FTP or your host’s file manager, open the root folder that contains wp-config.php, and delete the ".maintenance" file. The store returns immediately. If it doesn’t, finish or roll back the update that stalled, then check again.

Will maintenance mode hurt my SEO?

A short window won’t. Good maintenance-mode tools return a 503 "temporarily unavailable" status, which tells Google to check back later rather than drop the page. The damage comes from leaving it on for days or returning the wrong status code — so keep windows short and lift them as soon as the work is tested.

Is WooCommerce maintenance mode the same as WordPress maintenance mode?

They’re closely related. WooCommerce has no separate maintenance mode of its own — it runs on WordPress, so you use WordPress maintenance mode (a plugin, a snippet, or the built-in update mode) for the whole site. The extra care on a store is purely about what’s behind the curtain: the checkout, payments, and order emails you have to retest before reopening.

Research sources.

This guide was checked against current platform and search documentation before publication.

About the author

Ryan AlldridgeFounder, Superpress. Ryan Alldridge founded Superpress in 2016 and has kept business-critical WordPress and WooCommerce sites online ever since — the boring-but-vital maintenance work, and the 1am "the site is down" calls. In our experience, what keeps a business site online is not clever tricks — it is the boring maintenance done on time, which is exactly what we built Superpress to handle.

Reviewed by the Superpress team and fact-checked against the official sources cited above. Last reviewed Jun 2, 2026. Contact us with a correction.