Maintenance Mode

Thanks for the discussion! While we don’t currently have a one-click “maintenance mode” toggle that would automatically serve a maintenance page across your entire site, we recognise the need for simple, effective solutions. Right now, there are two ready-made options that you can deploy in just a few clicks:

  1. Maintenance Template in Snippets

Cloudflare provides a built-in maintenance mode template via Snippets, available directly in the Cloudflare dashboard under Rules > Overview > Templates. This allows you to quickly enable a maintenance page with minimal setup.

:pushpin: Dev Docs (includes the same template): Maintenance page · Cloudflare Rules docs

  1. Custom Errors

If your origin is returning 4xx or 5xx errors (such as a 503 for planned maintenance), you can replace it with your own custom maintenance page. Custom Errors lets you upload an error page or provide inline code that will be returned when the origin is unavailable and when the request matches the expression of your custom error rule.

:pushpin: Setup Guide (API-only for now; UI support is coming soon): Create custom errors via API · Cloudflare Rules docs

Free Plan Alternatives

Both of these solutions require a Pro plan or higher, but if you’re on the Free plan, you can still:

We’re continuing to evaluate how a more streamlined “maintenance mode” feature might work, but for now, these solutions provide flexibility without disrupting your entire zone’s traffic.

Hope this helps!

2 Likes