---
title: "Config Split: Configuration Management for Drupal Projects"
lang: en
type: knowledge
canonical: https://www.arocom.de/en/knowledge/drupal/config-split
alternate: https://www.arocom.de/wissen/drupal/config-split
author: "Axel Roth"
last_updated: 2026-10-31
---

# Config Split: Configuration Management for Drupal Projects

Config Split is the standard module for environment-specific
configuration management in Drupal. It cleanly separates configurations
for Dev, Staging, and Live and makes deployments reliably automatable.
arocom has worked with Drupal since 2012; Config Split is a fixed part
of the deployment workflow in all our Drupal projects.

## Config Split: Configuration Management for Drupal Projects

Drupal stores configuration in YAML files, a major improvement
over earlier versions. But what happens when certain modules should
only run on the development environment? Or when the configuration
on the live system differs from staging?

Without Config Split, you have to manually compare all configuration
files with every deployment. That costs time, is error-prone, and
blocks automation. Config Split solves exactly this problem.

## How Config Split Works

Config Split works with two concepts:

**Blacklist.** Configuration elements on the blacklist are
exclusively managed by the respective split. They do not exist
in the sync directory. Example: the Devel module belongs only
on the development environment, so it goes on the Dev split's
blacklist.

**Greylist.** Elements on the greylist remain in the sync
directory but can be overridden by the active split. This is
useful when a configuration is generally the same but differs
slightly on Live, e.g., cache settings or email configuration.

The active split is controlled via settings.local.php. With
every deployment, Drupal automatically knows which
configuration applies. The result: deployments become
deterministic and automatable.

## Setting Up Config Split: The Practical Workflow

**Step 1: Install the module.** Config Split is installed via
Composer and enabled. Configuration is done under Configuration
> Development > Configuration Split settings.

**Step 2: Define splits.** A separate split is created for each
environment (Dev, Staging, Live). Each split gets its own
directory and is activated in settings.local.php.

**Step 3: Assign modules.** Modules that should only run on
specific environments are assigned to the corresponding splits.
Devel and Kint go on Dev, performance modules on Live.

**Step 4: Export and test.** With drush csex, split
configurations are exported. A drush cim on each environment
should show no unexpected changes.

The initial setup effort is worth it: the team saves time on
every deployment and avoids configuration errors that could
impact the live site in the worst case.

## Your Deployment Workflow Needs an Upgrade?

arocom sets up Config Split for your Drupal platform and
automates your deployments. Write to us or start with the
[Future Check](https://www.arocom.de/en/future-check).

**From arocom projects:**

- [werbemax](https://www.arocom.de/en/references/werbemax) switched to us in 2023 after an agency change; we took over 28 custom modules, documented them, and migrated them to Drupal 11 without breaking a single feature.
- Aqua Römer sells mineral water regionally and needs a site that stays visible in local search. We set up Drupal 10 with schema markup, clean redirects, and a newsletter loop; the brand stays in the local top results without requiring constant marketing intervention.

### Do I need Config Split for every Drupal project?

For professional projects with multiple environments (Dev, Staging, Live), Config Split is standard. For simple setups with only one environment, it is not strictly necessary.

### What happens during an upgrade to Drupal 11?

Config Split is compatible with Drupal 11. The configuration structure is preserved during the upgrade. arocom accompanies upgrades and ensures that splits are cleanly migrated.

### Can Config Split cause deployment problems?

Only with incorrect setup. If splits are not properly configured, configurations can end up on the wrong environment. That is why clean initial setup and documentation are essential.

## Read more

- [Installing Drupal modules](https://www.arocom.de/en/knowledge/drupal/installing-modules): Practical guide
- [Drupal 11](https://www.arocom.de/en/knowledge/drupal/drupal-11): The most important innovations
- [Drupal Development](https://www.arocom.de/en/services/development): Concept, architecture, implementation
