Upgrading from Drupal 9 to Drupal 10


Feb Dao


In this blog post, we'll explore the journey of upgrading from Drupal 9 to Drupal 10, outlining the key steps and considerations for a seamless transition.

Drupal follows a regular release cycle, and major versions are introduced to incorporate improvements, security updates, and new functionalities. Drupal 9 served as a stepping stone, laying the groundwork for Drupal 10 by eliminating deprecated code and ensuring compatibility with Symfony 4 and PHP 7.3. Upgrading to Drupal 10 is crucial to benefit from the latest innovations, security enhancements, and community-driven improvements.

Key Considerations Before Upgrading:

  1. Review System Requirements: Before initiating the upgrade process, ensure that your hosting environment meets the system requirements for Drupal 10. Check PHP, database, and server requirements to guarantee a smooth transition.

  2. Assess Contributed Modules and Themes: Evaluate the compatibility of contributed modules and themes with Drupal 10. Some modules might need updates to align with the latest version, so be prepared to either update, replace, or find alternative solutions.

  3. Backup Your Website: As with any major update, it's essential to create a full backup of your Drupal 9 website. This precautionary measure ensures that you can revert to the previous version in case of any unforeseen issues during the upgrade.

Steps for Upgrading to Drupal 10:

  1. Update to the Latest Drupal 9 Version: Before moving to Drupal 10, make sure your site is running the latest Drupal 9 release. This ensures that your site is free of deprecated code and can easily transition to the next major version.

  2. Utilize Upgrade Status and Rector: Drupal provides tools like Upgrade Status and Rector to simplify the upgrade process. Upgrade Status helps identify deprecated code and modules, while Rector automates the necessary code changes. Use these tools to streamline the transition and reduce manual effort.

  3. Update Custom Code and Themes: If your site includes custom code or themes, review and update them to align with Drupal 10 coding standards. Ensure that any deprecated functions or methods are replaced with their updated equivalents.

  4. Test Thoroughly: Rigorous testing is crucial before deploying Drupal 10 in a production environment. Test your website's functionality, including modules, themes, and custom code, to identify and address any issues that may arise during or after the upgrade.

  5. Engage with the Community: Drupal has a vibrant and supportive community. Engage with forums, attend meetups, and seek advice from experienced developers who have already made the transition to Drupal 10. Community support can be invaluable in addressing challenges and gaining insights.

Add new comment

The content of this field is kept private and will not be shown publicly.

Plain text

  • No HTML tags allowed.
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.


  • Allowed HTML tags: <em> <strong> <cite> <blockquote cite> <ul type> <ol start type> <li> <dl> <dt> <dd> <p>
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.
  • Use [gist:#####] where ##### is your gist number to embed the gist
    You may also include a specific file within a multi-file gist with [gist:####:my_file].

Spread the word