[TOC]
It is recommended that you always update your installation of ExpressionEngine when a new version is released to ensure that you have all bug fixes, security updates, and new features.
NOTE: Note: Shortly after a major version is released, the previous major version will become a legacy product. Once a product is designated a legacy product, it will only receive security updates and will automatically become a retired product 1 year later (meaning no updates of any kind). Reference the Version Support page of the ExpressionEngine website for more information.
WARN: Important Upgrading major version (example from v5.x to v6.x) typically includes major updates and breaking changes. Do not upgrade major version manually or via 1-click without testing in a test or development environment first. Always following best practices when Upgrading ExpressionEngine
- Backup files
- Backup Database
- Update Add-ons (confirm they support new major version)
ExpressionEngine supports one-click updating as of Version 4.0 or newer. If you are running a version older than 4, then you must perform a manual update.
NOTE: Note: If updating from a version prior to ExpressionEngine 6, you may need to rename or remove system/ee/EllisLab directory manually. You will also need to manually copy the latest index.php and admin.php files to your site's root folder.
When an update is available, you'll see the version number in the control panel footer turn yellow or red. Click the version number, then click "Update Now".
Upgrade Steps
- Backup files and Database
- Confirm all add-ons are updated and compatible with new major ExpressionEngine version
- Test in staging environment
- Review the Version Notes for any version-specific changes that you may need to make to your installation.
In the rare case an update fails, please read Troubleshooting Automatic Updates.
NOTE: Website Online Status: In some versions of ExpressionEngine the current Website Online status is not available to the updater. In this instance an alert will be displayed post-update with the current Website Online status and the option to turn the system on or off. Please make sure to review this alert and your Website Online status to ensure your website is working as expected.

You can also update ExpressionEngine via the command line on your server. This allows you to keep your installation's files only writable by your user and not also by your web service.
Use update when you need to update both files and database changes.
Example:
php eecli.php update --verbose
- rollback: Rollsback last update
- verbose,v: Verbose output
- force-addon-upgrades: Automatically runs all addon updaters at end of update (advanced)
- y: Skip all confirmations. (advanced)
Use update:db when files are already in place and you only need to run database update steps.
Examples:
php eecli.php update:db
php eecli.php update:db --to-version=7.5.3 -y
- rollback: Rollback last database update
- verbose,v: Verbose output
- y: Skip all confirmations. (advanced)
- skip-cleanup: Skip cleanup steps after update
- to-version: Target database version to upgrade to
- from-version: Starting database version to upgrade from
--to-versioncannot be greater than the installed app version.- If the current database version is already at or above the target version, no update steps are run.
- If
--from-versiondoes not match the detected database version, a warning is shown. - Rollback requires
system/user/cache/ee_update/database.sqlto exist. - If you are running against a local installer payload,
EE_INSTALL_MODEmust be set toTRUEin.env.php.
TIP: Feature Update: As of ExpressionEngine 5.4, you may now upgrade directly from ExpressionEngine 2 to the current version.
- Back-up your ExpressionEngine database and files.
- Download the latest release of ExpressionEngine and unzip the files to a folder on your computer.
NOTE: Note: Check your third-party add-ons to see if you need updated versions for the latest version of ExpressionEngine. Most add-ons do not need major changes when updating from v3 or higher. Your add-on vendor(s) can let you know what, if anything, you need to do for your installed add-ons. Any add-ons not compatible with the version you are upgrading to, should be uninstalled and removed before attempting the upgrade.
Working either locally with your backed up files, or on the server (not recommended), copy the following files from the newly downloaded release to your site:
[TOC=4]
Copy the following files from the backup of your current site to the new folder where you unzipped the new version of ExpressionEngine on your computer:
- Copy
system/expressionengine/config/config.phptosystem/user/config/config.php - Copy
system/expressionengine/config/database.phptosystem/user/config/database.php - If you have any languages other than English in your Control Panel, copy all files and directories except english from
system/expressionengine/language/tosystem/user/language/. - If you have the forum module installed, copy the directory
themes/forum_themes/tothemes/user/forum/. - If you have the wiki module installed, copy the directory
themes/wiki_themes/tothemes/user/wiki_themes/. - If you save templates as files, copy all files and directories from
system/expressionengine/templates/tosystem/user/templates/.
NOTE: Note: If you’ve moved your system directory, make sure to change both index.php and admin.php to point to the correct directory. And don't forget to update all admin.php files if you're running your control panel from multiple Sites!
NOTE: Note: We recommend putting ExpressionEngine 6 compatible third-party add-ons into the system/user/addons/ directory now.
On the server, rename the following files and directories:
- Rename
system/tosystem_old/ - Rename
themes/tothemes_old/ - Rename
index.phptoindex.php.old - Rename
admin.phptoadmin.php.old
Then upload the following files and directories:
system/themes/index.phpadmin.php
- Copy
admin.phptoadmin.php - Copy
index.phptoindex.php - Copy
system/ee/tosystem/ee/ - Copy
themes/ee/tothemes/ee/
NOTE: Note: If you’ve moved your system directory, make sure to change both index.php and admin.php to point to the correct directory. And don't forget to update all admin.php files if you're running your control panel from multiple Sites!
NOTE: Note: We recommend putting ExpressionEngine 6 compatible third-party add-ons into the system/user/addons/ directory now.
Go to your site's control panel URL (typically found at https://example.com/admin.php or https://example.com/system/) and follow the on-screen instructions to update ExpressionEngine.
You're Done! ExpressionEngine is now fully updated. But before you go...
- If the updater could not automatically rename the installer, rename or remove
system/ee/installer/directory manually. The installer directory can be safely removed after installing ExpressionEngine. - To enable one-click updating, make sure your file permissions are all set.
- Review the Version Notes for any version-specific changes that you may need to make to your installation.
- Review file permissions if something isn't working quite right.