How to Upgrade Divi 4 to Divi 5 (and Roll Back If Needed)

by Fahim Mahmud Chisti

Disclosure: some links on this page are partner links. IsItDev may earn a commission if you buy or sign up through them, at no extra cost to you. It does not change what we recommend. Details.

Your Divi 4 site works, Divi 5 is now the official version, and you want to know whether switching is safe and how to undo it. This guide shows how to upgrade Divi 4 to Divi 5 on a staging copy first, what the Divi 5 Migrator converts, what keeps running in Backward Compatibility Mode, and the rollback procedure Elegant Themes documents today.

Quick answer: For most sites, yes, but on a staging copy first. Divi 5 is free with an active Elegant Themes membership, and Divi 4 still gets security fixes, so you have time to do it properly.

  1. Back up, update Divi 4 to the latest 4.27.x release and clone the site to staging.
  2. Check that every third-party Divi plugin has a Divi 5 version.
  3. In Divi → Dashboard, click Enable Divi 5 Updates, then update the theme.
  4. Don’t open any page in the builder. Go straight to Divi → Divi 5 Migrator and migrate.
  5. Test staging, then repeat the same steps on the live site.
  6. To undo: Restore Divi 4 Content, roll the theme back, then click Disable Divi 5 Updates.
In this guide
  1. Should You Upgrade to Divi 5 Now?
  2. What Actually Happens When You Upgrade
  3. Before You Start
  4. Step 1: Audit the Site Before You Touch Divi
  5. Step 2: Back Up and Clone the Site to Staging
  6. Step 3: Upgrade to Divi 5 and Run the Migrator on Staging
  7. Step 4: Test Staging, Then Repeat on the Live Site
  8. What Migrates, What Stays in Compatibility Mode, What Needs You
  9. Third-Party Divi Plugins and Custom Modules
  10. How to Roll Back From Divi 5 to Divi 4
  11. Troubleshooting the Upgrade
  12. Frequently Asked Questions
  13. Next Steps
Numbered checklist graphic for upgrading Divi 4 to Divi 5: back up and clone the site to staging, check third-party modules, enable Divi 5 updates, run the Divi 5 Migrator, then test and go live

Should You Upgrade to Divi 5 Now?

Divi 5 became the official version on 26 February 2026, according to Elegant Themes’ release announcement. As of December 2026, the newest release is Divi 5.19.1 from 18 November 2026, and new 5.x versions ship several times a month (see the Divi 5 update status page).

Divi 4 is still maintained: 4.27.9 came out on 18 September 2026, per the Divi 4 changelog. Elegant Themes promises full support for at least 12 months after Divi 5’s release, with security and critical bug fixes but no new features. So a working Divi 4 site is not in danger today. But all new features go into Divi 5, so plan the move rather than avoid it.

Your site What to do Why
Only core Divi modules, Theme Builder and Divi’s WooCommerce modules Upgrade on staging now All core Divi 4 modules are listed as compatible
Third-party Divi plugins that all have Divi 5 versions Update the plugins, then upgrade Their modules convert once the Divi 5 version is installed
Key pages built with a plugin that has no Divi 5 version Wait, or plan to replace those modules Those pages stay in Backward Compatibility Mode
Custom modules a developer wrote in PHP for Divi 4 Wait until they are rebuilt for Divi 5 Modules not built on Divi 5’s API run in compatibility mode
Uses Divi’s Split Testing Plan a replacement first Elegant Themes lists it among Divi 4 features being deprecated
Client site with no staging copy or tested backup Don’t upgrade yet The switch is one-way through the Migrator

What you get, per Elegant Themes’ Divi 4 vs Divi 5 comparison: layouts stored in a block-based format instead of shortcodes (the [et_pb_… tags Divi 4 saves in each post), 7 customizable breakpoints instead of 3 fixed ones, native Flexbox and Grid, and presets and variables. The Divi 5 FAQ says the upgrade is free for anyone with an active subscription.

What Actually Happens When You Upgrade

The upgrade has two separate parts: updating the theme, then converting your content.

  1. You opt in. From Divi 4.27.6 on, the Divi Dashboard has an Enable Divi 5 Updates button. Until you click it, the site stays on the Divi 4 update path.
  2. The theme updates to Divi 5. Content is not converted yet. The site runs in Backward Compatibility Mode, so Divi 4 layouts still display.
  3. The Divi 5 Migrator scans the site: pages, posts, custom post types, Theme Builder templates, WooCommerce products, Divi Library items, widgets and presets.
  4. You migrate. Supported modules are converted to the Divi 5 format in the database. The Migrator first saves a copy of your Divi 4 content.
  5. Unsupported modules keep working. They are wrapped and run on the Divi 4 framework. Pages with only native modules run fully on Divi 5.

Elegant Themes explains the conversion in its article on the Divi 5 Migrator system.

Don’t open pages before you migrate. Elegant Themes warns that opening a page in the builder before running the Migrator converts it immediately, without the option to roll it back.

Backward Compatibility Mode and the Admin Bar Notice

Backward Compatibility Mode is how Divi 5 runs Divi 4 modules it can’t convert. If a page contains even one legacy module, the whole page loads the Divi 4 framework. It works and stays editable, but misses Divi 5’s speed gains. In the builder, each setting change on a legacy module reloads it.

When you’re logged in and view such a page, a red Backward Compatibility Mode Enabled notice appears in the WordPress admin bar. It is informational, not an error, and visitors don’t see it. Click it to see which modules aren’t fully compatible yet.

Before You Start

  • Access: a WordPress administrator login, your Elegant Themes account, and your host’s panel or SSH for backups and staging. WP-CLI is optional.
  • Membership: updates need an active membership, with your Username and API Key entered under Divi → Theme Options → Updates. If yours has lapsed, see the current Divi plans.
  • Time: Elegant Themes says migration takes seconds, or a minute or two on large sites. Testing takes longer, so leave time to check every template.
  • Backup warning: the switch is one-way through the Migrator. Rollback gets harder the longer you edit in Divi 5, so keep a full backup you know how to restore.

Step 1: Audit the Site Before You Touch Divi

Write down what the site depends on. This list decides whether you upgrade now, and it becomes your test plan.

Divi 4 to Divi 5 pre-upgrade checklist

  • Full backup of files and database taken on: ______ (restore tested: yes / no)
  • Staging copy URL: ______
  • WordPress, plugins and Divi 4 updated (Divi version: 4.27.___)
  • Third-party Divi plugins, each with Divi 5 status (yes / no / opted out): ______
  • Custom modules or Divi PHP in a child theme or plugin: ______
  • Custom CSS: Theme Options, page settings, module Advanced tabs, Code modules, child theme style.css
  • Theme Builder templates and global presets to check: ______
  • Divi Split Testing in use: yes / no
  • Caching, minify or CDN layers to purge afterwards: ______
  • Top 10 pages to test: ______

Elegant Themes names custom CSS that no longer matches the updated structure as a common cause of display issues after updating Divi 5. Rules written against Divi 4 markup are the first thing to check when a page looks off.

Count Divi 4 and Divi 5 Content With WP-CLI

WP-CLI is WordPress’s command-line tool. Run these commands over SSH from the WordPress root folder (the one with wp-config.php); they only read the database. The first counts, per post type, the published, draft and private items containing Divi 4 shortcodes ([et_pb_) and Divi 5 blocks (wp:divi/).

WP-CLI: Divi 4 vs Divi 5 content audit (read-only)

wp db query "SELECT post_type, SUM(post_content LIKE '%[et_pb_%') AS divi4_shortcodes, SUM(post_content LIKE '%wp:divi/%') AS divi5_blocks, COUNT(*) AS total FROM $(wp db prefix)posts WHERE post_status IN ('publish','draft','private') GROUP BY post_type"
wp option get et_d5_readiness_conversion_finished

If it works, the first command prints a table with one row per post type and the columns post_type, divi4_shortcodes, divi5_blocks and total. $(wp db prefix) fills in your real table prefix. Run it before the upgrade and again after migrating: the Divi 5 column should rise, and leftover Divi 4 shortcodes are worth a look.

This site runs Divi 5.19.1 (the parent theme, no child theme) on WordPress 7.1.5 and PHP 8.3, on Bluehost shared hosting. When the query ran on isitdev.com on 3 December 2026, it showed:

  • Posts: 421 of 879 contain Divi 5 blocks. One old draft from 2022 still contains Divi 4 shortcodes.
  • Pages: 4 of 8 contain Divi 5 blocks; none contain Divi 4 shortcodes.
  • Theme Builder layouts: header (1), footer (1) and body (8) layouts are all in Divi 5 block format.
  • Everything else is plain WordPress content without Divi modules.

The second command printed 1 here. The option name is internal and undocumented; it appears to record that Divi’s Divi 5 conversion finished on this site. On a site without it, WP-CLI reports that the option does not exist. The Migrator screen remains the official answer.

Step 2: Back Up and Clone the Site to Staging

A staging site is a private copy where you can break things safely. On client sites, I always run a major theme upgrade on staging before the live site.

  1. Update the live site. Elegant Themes’ migration guide says to update WordPress, Divi and Divi plugins to their latest Divi 4 versions before you back up or clone.
  2. Take a full backup of the database, uploads, themes and plugins, with your host’s tool or a plugin such as UpdraftPlus. With SSH, you can automate WordPress backups with WP-CLI and cron.
  3. Create the staging copy with your host’s staging tool, for example a WordPress staging site in Hostinger hPanel, or a plugin such as WP Staging.
  4. Check PHP limits. Elegant Themes’ hosting requirements list a memory limit of at least 128M and a max_execution_time of 120. If yours are lower, increase the PHP memory limit first.

Step 3: Upgrade to Divi 5 and Run the Migrator on Staging

These labels come from Elegant Themes’ safe migration guide, dated 18 September 2026.

  1. Go to Divi → Dashboard and click Enable Divi 5 Updates.
  2. In the Divi Overview card, click the Update link, then Update now. The theme is now Divi 5; your content is still Divi 4.
  3. Don’t open any page, post or template. Go to Divi → Divi 5 Migrator. The compatibility check runs automatically on the first visit.
  4. Read the report. A blue checkmark means fully compatible. An orange warning icon marks items that will run in Backward Compatibility Mode, and the report names the modules responsible.
  5. If a flagged plugin has a Divi 5 version, update it now and re-run the check.
  6. Click Migrate This Site to Divi 5, then Confirm. Sites with only supported features see a blue card with Upgrade This Site to Divi 5 instead.
  7. Wait for the green card confirming the migration. It also holds the Restore Divi 4 Content button.
  8. Click Clear CSS Cache at the top right of Divi → Theme Options, then purge your caching plugin, server cache and CDN.

Then run the WP-CLI audit again. The Divi 5 column should go up for the post types you build with Divi.

Step 4: Test Staging, Then Repeat on the Live Site

  • Visit your key pages on desktop and mobile and look for layout problems.
  • Open a few pages in the Divi 5 Visual Builder and confirm you can edit sections, rows and modules.
  • Check Theme Builder templates, menus, forms and WooCommerce pages.
  • Test each third-party plugin, and note every page that shows the compatibility notice.

When staging looks right, repeat Steps 2 and 3 on the live site at a quiet time. Don’t copy the staging database over production if live has new orders, comments or posts since you cloned it; you’d overwrite them.

Afterwards, Elegant Themes suggests its Divi AI Agent for bringing old layouts into the new design system. To use Claude or another assistant instead, see how to connect an AI assistant to Divi 5 through MCP.

What Migrates, What Stays in Compatibility Mode, What Needs You

Item What the Migrator does What you do
Core Divi 4 modules, including WooCommerce modules Converts them, keeping content and design settings Spot-check the pages
Theme Builder templates, Library items, presets, widgets Converts supported content Check every header, body and footer template
Third-party modules with a Divi 5 version Converts them once that version is installed Update the plugin, re-run the check
Third-party modules without a Divi 5 version Wraps them to run on the Divi 4 framework Wait, replace them, or accept slower pages
Custom PHP modules (child theme or plugin) Run in compatibility mode like any module not built on Divi 5’s API Have them rebuilt for Divi 5
Shortcodes from non-Divi plugins Leaves them alone; they keep working Nothing
Custom CSS Nothing documented Check rules that target Divi 4 markup

Third-Party Divi Plugins and Custom Modules

Divi 5 support is up to each plugin’s developer. For a Divi Marketplace product, check the compatibility section in the side pane of its product page; if it says nothing, ask the author. For plugins sold elsewhere, check the vendor’s changelog.

One special case: an author can opt out of Divi 5. An opted-out plugin can’t be activated while Divi 5 is active, and if deactivated, its modules are replaced with a shortcode. Elegant Themes covers this in its article on backward compatibility and third-party module support. When a plugin later ships a Divi 5 version, update it and re-run the Migrator.

How to Roll Back From Divi 5 to Divi 4

You’ll find conflicting advice online. The beta-era version of Elegant Themes’ rollback article (archived in December 2025) warned against the Theme Options rollback because it would stop Divi 4 updates. The current version, dated 26 February 2026, uses that rollback and then returns the site to the Divi 4 update path with a Disable Divi 5 Updates button. Follow the current rollback article, after a fresh backup:

  1. Restore your content. In Divi → Divi 5 Migrator, click Restore Divi 4 Content. This undoes the migration.
  2. Roll the theme back. In Divi → Theme Options, open the Updates tab, click Rollback to the Previous version and confirm. After two or more Divi 5 updates this won’t reach Divi 4; use step 4.
  3. Leave the Divi 5 update path. In Divi → Dashboard, click Disable Divi 5 Updates. From then on, the site only receives Divi 4 updates.
  4. If step 2 isn’t available, reinstall Divi 4 by hand. The rollback article points to My Downloads → Download the Divi Theme in your Elegant Themes account. Now that Divi 5 is the official version, check what you downloaded before you upload it: open Divi/style.css inside the zip and confirm the Version: line says 4.27.x. If your account only offers Divi 5, ask Elegant Themes support for the Divi 4 package. Then, in WordPress, go to Appearance → Themes → Add New Theme → Upload Theme, choose the zip and click Replace current with uploaded.

Check the version under Appearance → Themes; it should be a 4.27.x release. Restore Divi 4 Content only recovers content originally built in Divi 4, and anything created in Divi 5 is not restored. Because it returns content to its pre-migration state, expect later edits to be lost too. If the result isn’t clean, use your full backup: here’s how to restore a WordPress backup over SSH.

Divi 5 to Divi 4 rollback checklist

  • Fresh full backup taken: ______
  • Pages created or edited in Divi 5 (won’t come back): ______
  • Divi → Divi 5 Migrator → Restore Divi 4 Content: done
  • Theme Options → Updates → Rollback to the Previous version, or manual reinstall: done
  • Divi → Dashboard → Disable Divi 5 Updates: done
  • Appearance → Themes shows Divi 4.27.___
  • Caches cleared and top pages checked: done

Rolling Back to an Earlier Divi 5 Version

To stay on Divi 5 but undo a bad update, back up, go to Divi → Theme Options → Updates, click Rollback to the previous version and confirm in the Version Rollback popup. This only works if that version was installed on your site before, and Elegant Themes calls it a temporary fix (its Divi 5 rollback article). One catch: right after your first Divi 5 update, the previous version is Divi 4, so the full rollback above applies.

Troubleshooting the Upgrade

These are upgrade problems. For a builder that won’t load, missing images or menu issues on a site already running Divi 5, use the guide in Next Steps.

Symptom Likely cause Fix
No Enable Divi 5 Updates button Divi 4 is older than 4.27.6 Update Divi 4 to the latest release
No Divi 5 update after opting in Updates aren’t linked to your account Enter Username and API Key in Divi → Theme Options → Updates
Layouts look broken after migrating Usually an incompatible third-party plugin, or stale CSS Clear Divi’s CSS cache and other caches, check each plugin’s Divi 5 status
A Divi plugin can’t be activated Its author opted out of Divi 5 Replace it, or roll back to Divi 4
The migration fails Outdated WordPress, Divi or plugins Update everything, run the Migrator again
Some pages are slower Legacy modules load the Divi 4 framework Replace them with native Divi 5 modules
Rollback doesn’t reach Divi 4 Two or more Divi 5 updates installed Reinstall Divi 4 manually

Frequently Asked Questions

Is Divi 5 free if I already have Divi 4?

Yes. Elegant Themes says Divi 5 is free for anyone with an active subscription, and the migration is free for all Divi members. To receive the update, your membership must be active and your Username and API Key entered under Divi → Theme Options → Updates. If it has expired, check the Divi plans first.

Will upgrading to Divi 5 break my site?

Usually not, but test on staging first. Supported Divi 4 content converts automatically, and modules Divi 5 can’t convert keep working in Backward Compatibility Mode. The real risks are third-party plugins without Divi 5 versions, custom CSS aimed at Divi 4 markup, and opening pages in the builder before running the Migrator.

What does “Backward Compatibility Mode Enabled” mean in Divi 5?

It means the page contains at least one module Divi 5 can’t run natively, so the whole page loads the Divi 4 framework. The page still works and stays editable, but misses Divi 5’s speed gains. Click the admin bar notice to see which modules cause it, then update or replace them.

Can I roll back from Divi 5 to Divi 4?

Yes. Click Restore Divi 4 Content in the Divi 5 Migrator, roll the theme back under Divi → Theme Options → Updates (or reinstall Divi 4 manually), then click Disable Divi 5 Updates in Divi → Dashboard. Content created in Divi 5 doesn’t come back, and rollback gets harder the longer you edit in Divi 5.

How long will Divi 4 be supported?

At least 12 months from Divi 5’s official release on 26 February 2026, according to Elegant Themes. Divi 4 gets security patches and critical bug fixes but no new features; 4.27.9 shipped in September 2026. Elegant Themes says Divi 4 will eventually reach end-of-life, but its help articles don’t give a date yet.

Do Divi 4 plugins work in Divi 5?

Most keep working, but not all at full speed. Plugins updated for Divi 5 convert normally. Older ones run in Backward Compatibility Mode until their developers update them. An author can also opt out of Divi 5, which blocks activation while Divi 5 is active. Check each plugin’s Divi 5 status before you upgrade.

Next Steps

Fill in the pre-upgrade checklist, build the staging copy and run the Migrator there first. If something misbehaves after the move, such as the builder not loading, missing images or a broken mobile menu, work through these fixes for Divi 5 problems after upgrading.

all_in_one_marketing_tool