Drupal is a registered trademark of Dries Buytaert
drupal 11.3.7 Update released for Drupal core (11.3.7)! drupal 11.2.11 Update released for Drupal core (11.2.11)! drupal 10.6.7 Update released for Drupal core (10.6.7)! drupal 10.5.9 Update released for Drupal core (10.5.9)! cms 2.1.1 Update released for Drupal core (2.1.1)! drupal 11.3.6 Update released for Drupal core (11.3.6)! drupal 10.6.6 Update released for Drupal core (10.6.6)! cms 2.1.0 Update released for Drupal core (2.1.0)! bootstrap 8.x-3.40 Minor update available for theme bootstrap (8.x-3.40). menu_link_attributes 8.x-1.7 Minor update available for module menu_link_attributes (8.x-1.7). eca 3.1.1 Minor update available for module eca (3.1.1). layout_paragraphs 2.1.3 Minor update available for module layout_paragraphs (2.1.3). ai 1.3.3 Minor update available for module ai (1.3.3). ai 1.2.14 Minor update available for module ai (1.2.14). node_revision_delete 2.0.3 Minor update available for module node_revision_delete (2.0.3). moderated_content_bulk_publish 2.0.52 Minor update available for module moderated_content_bulk_publish (2.0.52). klaro 3.0.10 Minor update available for module klaro (3.0.10). klaro 3.0.9 Minor update available for module klaro (3.0.9). layout_paragraphs 2.1.2 Minor update available for module layout_paragraphs (2.1.2). geofield_map 11.1.8 Minor update available for module geofield_map (11.1.8).

maintenance

31 sites Security covered
View on drupal.org

The Maintenance module provides site administrators with a powerful and flexible way to control when and how Drupal's maintenance mode is applied and displayed. Designed for both developers and administrators, it offers automation, customization, and visibility filtering to meet real-world needs for scheduled downtimes or access restrictions.

Overview

Advanced Maintenance Mode Control, with scheduling, redirection, theming and more.

The Maintenance module is a fully configurable and extensible enhancement to Drupal’s core maintenance mode system. It allows administrators to define how and when maintenance mode is triggered, who sees it, and how it looks—making it ideal for professional-grade sites requiring uptime control and graceful downtime messaging.

Features

  • Custom Maintenance Message: Show plain text, formatted HTML, or even render a full node as the page content.
  • Scheduling Maintenance: Automatically enable or disable maintenance mode based on time and date.
  • Access Control: Show or hide maintenance mode based on IP address, route path, or query string.
  • User Redirection: Redirect anonymous users to a custom URL after a delay or instantly.
  • Page Reload Options: Add a reload button or automatically refresh the page every 15 seconds.
  • Custom HTTP Status Codes: Override the default 503 response to use 200, 403, or other valid HTTP codes.
  • Maintenance Themes: Choose from built-in templates such as clean or particles.
  • Status Report & Logging: View when maintenance was last enabled and add log notes for clarity.
  • Developer-Friendly: Includes services, hooks, and traits for extending logic or theming.

Requirements

This module requires no additional modules beyond Drupal core.

Installation

Follow standard Drupal module installation methods:

  • Composer: composer require drupal/maintenance
  • Manual: Download and place the module in /modules/contrib, then enable it from the Extend page.

Please view the project's README.md for detailed installation instructions.

Post-Installation Configuration

All settings are located under: /admin/config/development/maintenance

Here you can:

  • Define how maintenance message is displayed.
  • Configure scheduling, redirection, reload behavior, and themes.
  • Set visibility rules based on IPs, paths, and query strings.

Support

If you have questions, issues, or suggestions for improvement, please submit them via the Maintenance issue queue.

Maintenance Beta 1 is now available!

This beta release includes major structural improvements, fatal bug fixes, better performance, and enhanced coding standards. Developers can now rely on a clean architecture using Traits, helper classes, and detailed inline documentation. Try it now and help shape the stable release!

☉ Issues ☰ File an issue

The Maintenance module continues to evolve with community feedback. Stay up to date with new features and contribute to make it even better.

Activity

Total releases
4
First release
Jul 2025
Latest release
8 months ago
Release cadence
2 days
Stability
0% stable

Release Timeline

Releases

Version Type Release date
1.0.0-beta1 Pre-release Jul 24, 2025
1.0.x-dev Dev Jul 24, 2025
1.0.0-alpha2 Pre-release Jul 22, 2025
1.0.0-alpha1 Pre-release Jul 19, 2025