A Drupal 7 to Drupal 11 migration means building a new Drupal 11 site and moving your content and configuration into it with Drupal core's Migrate modules. You cannot update a Drupal 7 site in place. Do it on Drupal 11: Drupal 7 has been out of security support since 5 January 2025, and Drupal 12, due in the week of 7 December 2026, removes the Drupal 7 migration path from core.
Key takeaways
- Drupal 7 reached end of life on 5 January 2025. It gets no security or compatibility updates from the Drupal Security Team.
- Migrate to Drupal 11, not Drupal 12. Drupal 12 removes Migrate Drupal and Migrate Drupal UI, so the core Drupal 7 upgrade path only exists up to Drupal 11.
- Drupal 11 is supported until early December 2028. That is the window for migrating with the core tools, and the earlier you finish, the longer you get on a supported version.
- Content migrates well. Views, the theme and most custom code do not: you rebuild them.
- What drives the timeline is the module inventory, the custom code and the content model, not the number of pages.
Why Drupal 11 is the target, and why the window is closing
Drupal 11 is the last major version that ships the core Drupal 7 upgrade path. The Drupal 12.0.0-beta1 release notes say that Migrate Drupal and Migrate Drupal UI have been removed from core and not moved to a contributed project. The same notes say sites can continue to migrate from Drupal 6 or 7 to Drupal 11, and then update to Drupal 12 with the normal update process. The Migrate API itself stays in core.
In practice, that gives a Drupal 7 site one clear route: migrate to Drupal 11, then follow Drupal 11 into Drupal 12 later, as a normal major update. We covered what else Drupal 12 removes and what it needs from your hosting in our guide to Drupal 12.
| Date | What it means for a Drupal 7 site |
|---|---|
| 5 January 2025 | Drupal 7 end of life. No more security or compatibility updates. |
| Week of 7 December 2026 | Drupal 12.0.0 and 11.5.0 are scheduled. Drupal 12 has no core Drupal 7 migration modules. |
| Early December 2028 | Drupal 11 end of life. A migration with the core Drupal 7 tools has to be finished, and the site moved to Drupal 12, before then. |
Last checked against the Drupal core release schedule, the Drupal 12.0.0-beta1 release notes and the Drupal 7 end of life page on drupal.org: 3 December 2026.
Migration, not upgrade: what moves and what you rebuild
A Drupal migration from version 7 copies data from the old database into a new, empty Drupal 11 site. The drupal.org upgrade guide explains why: since Drupal 8, Drupal stores content and configuration in a different way, so an update cannot be applied to a Drupal 7 site. The old site is not modified, which means it stays online while the new one is built.
| Part of the site | What happens |
|---|---|
| Content: nodes, users, taxonomy terms, files | Migrated by core. Drupal core provides an upgrade path for every module that was in Drupal 7 core. |
| Configuration: content types, fields, user roles | Migrated by core, then usually cleaned up by hand. |
| Views | Not migrated by core. Rebuild them, or try the contributed Views Migration module and test the result carefully. |
| Theme | Cannot be migrated. The theme system changed, so the front end is rebuilt. |
| Contributed modules | Only migrated if the module has a migration path and is installed on both the old and the new site. Many need a manual or custom migration. |
| Custom modules | Rewritten for Drupal 11. Drupal 7 module code does not run on modern Drupal. |
The drupal.org guide also makes a point that is easy to forget: if a site has little content or custom configuration, entering that content by hand on the new site can be faster than setting up an automated migration. Decide that per site, not per habit.
Before you start: audit the Drupal 7 site
Start with an inventory of what the Drupal 7 site actually does. Most surprises in a migration come from a module or a piece of custom code nobody remembered.
- List every enabled module. Use the Modules page or the Available updates report at
admin/reports/updates. For each module, answer the questions the drupal.org preparation guide asks: do we still need it, has it moved to core (Views has), and is there a Drupal 11 version or a replacement? - Check module availability. The drupal.org guide suggests the Upgrade Status module on the Drupal 7 site to list installed projects and show whether they exist for modern Drupal. The upgrade screen in the browser also shows which modules can be upgraded automatically.
- Update Drupal 7 first. The upgrade process expects the latest Drupal 7 core and the latest versions of the contributed modules you want to migrate. The final Drupal 7 release is 7.103, released on 4 December 2024.
- Read the known issues. The drupal.org known issues page covers ID conflicts, Views and multilingual details. Multilingual Drupal 7 sites have their own section in the upgrade guide.
- Decide what not to migrate. Old content types, unused fields, test users and orphaned files cost time in every test run. Removing them from the plan is cheaper than migrating them.
- Map the URLs. Export the current URL aliases and any redirects. Search traffic depends on the old URLs resolving on the new site.
Choose the migration approach
Pick the approach based on how long the old site has to stay live while the new one is finished. The drupal.org guide describes three options.
| Approach | How it works | Fits when |
|---|---|---|
| One upgrade, then manual steps | Practise the migration, note every manual step, then repeat it once on a clean Drupal 11 install for production. | Small sites where editors can pause for the final run. |
| Incremental upgrade | Run the full migration, do the manual work on the new site, then run the migrations again to bring over new and updated content. | The old site stays online and editors keep publishing. |
| Configuration through deployment, content migrated last | Build and finish the configuration on development, deploy it to staging and production with configuration management, then migrate only the content into each environment. | Larger sites with a development, staging and production workflow. Requires Drush. |
One rule applies to all three: do not change the configuration of the old site between the first migration and the last one. The drupal.org guide recommends against it, and it is the fastest way to break a migration that already worked.
The migration step by step, with Drush
Use Drush rather than the browser for anything beyond a small site. It runs migrations one at a time and lets you roll them back. These steps follow the drupal.org "Upgrade using Drush" guide.
Create a clean Drupal 11 site. The destination must be empty: no content created before the migration. Drupal 11 needs PHP 8.3 or later, Composer 2.7.0 or later and Drush 13.
composer create-project drupal/recommended-project:^11 my-site cd my-site composer require drush/drush vendor/bin/drush site:install minimalAdd the migration modules. Migrate and Migrate Drupal are in Drupal 11 core. Migrate Upgrade (4.x for modern Drupal) adds the Drush command that generates the migrations, and it needs Migrate Plus.
composer require drupal/migrate_upgrade:^4 drupal/migrate_plus drush pm:install migrate migrate_drupal migrate_upgrade migrate_plus- Install the destination modules. Migrations only run for modules that are installed on both sites. Install the Drupal 11 versions of the modules you decided to keep before you generate anything.
Connect the Drupal 7 database. Use a copy of the live database, not the live one. Add it to
settings.phpunder the keymigrate; the drupal.org guide warns that other key names cause errors.$databases['migrate']['default'] = [ 'database' => 'drupal7', 'username' => 'drupal7', 'password' => 'secret', 'host' => 'localhost', 'port' => '3306', 'driver' => 'mysql', 'prefix' => '', ];Generate the migrations without running them.
--legacy-rootpoints to the old site, so files can be copied from it.drush migrate:upgrade --legacy-db-key=migrate --legacy-root=https://www.example.com --configure-only drush migrate:status --tag='Drupal 7'Run the migrations and check the results. Run them one at a time while you are still testing, and all at once when the run is stable.
drush migrate:import upgrade_d7_user drush migrate:import --tag='Drupal 7' drush migrate:rollback upgrade_d7_userMigration names depend on your site, so take them from the
migrate:statusoutput.- Do the manual work and export it. Rebuild the views, the theme and the custom features, then export the configuration with
drush config:exportand commit it. - Run the final content migration. With an incremental approach, migrate the new and updated content just before launch. The drupal.org guide uses
drush migrate:import --tag=Contentfor a content-only run.
Last checked against the drupal.org "Upgrade using Drush" and "Preparation" pages and the Migrate Upgrade project page: 3 December 2026.
What drives the timeline and the cost
The duration of a Drupal 7 migration depends on how much has to be rebuilt, not on how many pages the site has. A site with thousands of articles in two content types can be simpler than a site with a few hundred pages and complex custom logic.
| Factor | Why it matters |
|---|---|
| Contributed modules without a migration path | Each one needs a replacement, a custom migration or a decision to drop the feature. |
| Custom modules | Rewritten, not migrated. Business logic hidden in custom code is the most common cause of delays. |
| Content model | Field collections, complex references and paragraph-like structures usually need custom migration code. |
| Views and theme | Always rebuilt. A redesign at the same time adds design and review work. |
| Multilingual content | Drupal 7 translation setups vary, and the upgrade guide treats them separately. |
| Integrations | Single sign-on, CRM, payment or search integrations are rebuilt and tested against the new site. |
| Hosting | Drupal 11 needs PHP 8.3 or later. If the Drupal 7 server runs an older PHP version, the new site may need a new server. |
In our migration work, the decision that saves the most time is made in the audit: agreeing what the new site does not need to do. Every feature carried over "just in case" has to be migrated, rebuilt and tested.
The main risks and how to reduce them
Most migration risks are known in advance. The table lists the ones we plan for on every Drupal 7 project.
| Risk | How to reduce it |
|---|---|
| ID conflicts overwrite content | Migrate into a clean site. The migration keeps the Drupal 7 IDs, so anything created on the new site first can be overwritten. |
| Lost search traffic | Keep the URL aliases, add redirects for every URL that changes, and check the most visited URLs after launch. |
| Content created during the project goes missing | Use incremental migrations, and agree a short content freeze before the final run. |
| Private files are not migrated | Give the new site direct access to the private files directory and set file_private_path in settings.php before the run. |
| The Drupal 7 site is exposed during the project | Keep it patched as far as possible, restrict admin access, and consider the Drupal Association's Extended Security Support Provider Program if the project runs long. |
After the migration: stay current on Drupal 11
A migrated site is a new Drupal 11 site, and it needs the same care as any other. Keep core and modules on supported minor versions with Composer, as described in our guide to updating Drupal core with Composer. When you plan the move to Drupal 12, run the Upgrade Status module to find what blocks it. Then uninstall Migrate Drupal and the migration modules before that upgrade, because Drupal 12 no longer has them.
Frequently asked questions
Is Drupal 7 still supported?
No. Drupal 7 security support ended on 5 January 2025, and it no longer receives security or compatibility updates from drupal.org. The Drupal Association runs an Extended Security Support Provider Program with certified vendors for sites that cannot migrate yet. That buys time, but it is not a long-term plan.
When was Drupal 7 released?
Drupal 7.0 was released on 5 January 2011. Its end of life came exactly 14 years later, on 5 January 2025, after several extensions.
Is there an end-of-life deadline for a Drupal 7 migration?
Yes, for the core tools. Migrate Drupal is only available up to Drupal 11, and Drupal 11 reaches end of life in early December 2028. After that, a Drupal 7 migration would need a custom migration built on the Migrate API, which is more work.
Planning a Drupal 7 migration?
DevAtWork is a Drupal agency in Bucharest, Romania. We migrate, upgrade and maintain Drupal sites for organisations and digital agencies across Europe. If you still run Drupal 7 and want to know what a move to Drupal 11 involves for your site, see our Drupal migration and upgrade services or tell us about your site.
Sources
- Drupal 7 End of Life (drupal.org)
- Drupal core release schedule (drupal.org)
- Drupal 12.0.0-beta1 release notes (drupal.org)
- Upgrading from Drupal 6 or Drupal 7: overview (drupal.org)
- Upgrading from Drupal 6 or Drupal 7: preparation (drupal.org)
- Choosing the upgrade approach (drupal.org)
- Upgrade using Drush (drupal.org)
- Known issues when upgrading from Drupal 6 or 7 (drupal.org)
- Migrate Upgrade module (drupal.org)
- Drupal 7.103 release (drupal.org)
