Why Keycloak upgrades need a plan
Keycloak changes quickly. Each release fixes security issues, follows newer versions of the standards and cleans up old options. That is good for everyone who runs it, but it means an upgrade is rarely just a new image tag. Options get renamed, defaults change, features move from preview to supported and old ones go away.
The official upgrading guide lists these changes version by version. The trouble is volume. If you run 24.0 and want 26.8, the notes for every release in between apply to you: 25.0, nine minor releases of 26, and the patch releases that came with breaking changes of their own. Reading all of it before you know which parts matter is slow.
This checker gives you a short list first. Pick the version you run and the one you want, and it shows the notable changes in between, grouped by area, each with a link to the exact section of the official docs it comes from. You still read the sources. You just know where to start.
Where the list comes from
Every item was read in the official Keycloak upgrading guide or the release notes on 25 November 2026, the date the tool shows. Each one keeps the link to its section, so you can check the wording yourself. Nothing comes from blog posts or memory.
The list is selective on purpose. The upgrading guide also covers Java SPI changes that only matter to people who write extensions, small fixes, and changes that need no action. We kept the items that are likely to need a change in configuration, a proxy, a theme, a client or a database before or after an upgrade.
A short list is not a full list. Use it to plan and to size the work. Before the upgrade, read the upgrading guide for every version you pass.
The areas it checks
| Area | What it covers |
|---|---|
| Java and custom providers | The Java versions the server supports, and the move to Jakarta EE and Quarkus 3 that custom providers must follow |
| Hostname, proxy and ports | Hostname v2, the end of the proxy option, forwarding headers and the management port |
| Database | Supported versions, drivers, datasources and migrations that take a long time |
| Sessions, tokens and sign-in | Persistent sessions, claims, client scopes, redirect URI matching and password hashing |
| Admin API and permissions | Changed representations, stricter permission checks and the new audience check |
| Themes | Login, account, admin and welcome theme changes that break custom themes |
| Adapters and client libraries | Removed Java adapters, Keycloak JS changes and the admin client |
| Clustering, caches and running the server | Cache marshalling, transport stacks, build options and rolling updates |
| Removed and deprecated features | Options and features that are gone, or will be in a later release |
Each item carries one of three labels. Removed means it is gone and anything that uses it breaks. Changed means it still exists but behaves differently. Deprecated means it still works but will go away, so it belongs on your list for a later upgrade.
The big jumps
Some steps carry far more change than others. If your path crosses one of these, give it extra time.
21 to 22: Jakarta EE and Java 17
Keycloak 22 moved from Java EE to Jakarta EE and to Quarkus 3, and stopped supporting Java 11 for the server. Every custom provider has to move from javax.* to jakarta.* packages and be rebuilt. The OpenID Connect adapters for WildFly, servlets and Spring were deprecated in the same release.
24 to 25: hostname v2 and the management port
Keycloak 25 turned on the new hostname options. The old ones, such as hostname-url and hostname-strict-backchannel, are no longer recognized, and hostname now accepts a full URL. Health checks and metrics moved to a management port, 9000 by default, so probes and scrape jobs pointing at 8080 stop working. The hostname helper and the health and metrics helper give you the new settings.
Keycloak 25 also removed most Java adapters and the version 2 account console theme, and changed which claims tokens carry: session_state left the tokens, nonce stays only in the ID token, and a new basic client scope adds sub and auth_time.
25 to 26: sessions, marshalling and removed options
Keycloak 26 changed how cluster nodes exchange cache data, and all caches are cleared on the upgrade. The guide’s advice is to upgrade to 25 first and turn on persistent user sessions there, so sessions survive. In 26, sessions are stored in the database by default.
The deprecated hostname v1 options and the proxy option are removed in 26. Keycloak JS is no longer served by the server, and logout with the old redirect_uri parameter no longer works.
Within 26
The 26 line keeps the same major version but still brings breaking changes in minor and even patch releases. Examples from the list: hostname wildcards in redirect URIs stop matching in 26.6.3, token introspection checks the audience from 26.6.2, and from 26.8.2 the Admin API only accepts tokens that carry the kc-admin-api scope. Your own admin clients and service accounts need that scope assigned.
A safe upgrade, step by step
The upgrading guide describes the same steps for every minor or major upgrade. The checker shows them at the top of its list, with links.
- Read the migration notes for every version you pass. Start with the items the checker lists.
- Back up the database. After the upgrade its schema no longer fits the old version, and Keycloak cannot roll the changes back. Going back means restoring the old installation and the backup.
- Try the upgrade on a copy of production: same realms, same themes, same providers, a copy of the database.
- Shut down every node of the old version. Rolling updates are supported only between patch releases of the same minor version, from 26.6.0.
- Start the new version. By default it migrates the database on first start. Large tables can take a while; the guide sets a 30-minute migration timeout by default, and
transaction-setup-timeoutchanges it. - Check sign-in for each kind of client, the admin console, your themes, and any automation that calls the Admin API.
- Upgrade the adapters and client libraries after the server, not before.
If your database team wants to review schema changes first, the guide describes a manual strategy. With --spi-connections-jpa--quarkus--migration-strategy=manual, Keycloak writes the changes to keycloak-database-update.sql and exits, and you run the file yourself.
kc.sh start --spi-connections-jpa--quarkus--migration-strategy=manualTesting what the checker flags
Configuration
Options that are removed or renamed can stop the server from starting, or start it with a setting you did not expect. Compare your configuration with the list before you build the new image. The config converter helps when you move options between flags, environment variables and keycloak.conf.
Proxy and hostname
Check the URLs Keycloak puts in tokens and in its discovery document. They must match what your clients expect. The realm endpoints tool lists them, and the reverse proxy helper shows the headers each proxy should send.
Themes
Custom login themes need care, because templates change between versions. Compare each template you override with the new base template, then click through sign-in, registration, password reset and the identity provider buttons.
Clients and automation
Sign in with each kind of client you have: a single-page app, a server app, a service account. Run your scripts that call the Admin API. A token or permission change tends to show up as a refused request in one of them.
Realms
Export a realm before and after the upgrade on your test copy and compare them with the realm export diff. New client scopes, changed defaults and migrated settings show up there.
What the checker does not do
- It does not read your configuration or connect to your server. It only knows the two versions you pick.
- It does not list every change. Small fixes, internal Java APIs for extension authors and changes that need no action are mostly left out.
- It does not cover releases after 26.8.2 until we check the docs again.
- It does not tell you whether you can skip versions. Read the notes for each version you pass.
- It cannot test your themes, clients or extensions. Only a trial upgrade on a copy can.
Common mistakes
- Reading only the notes of the target version. The notes of every version in between apply too.
- Skipping patch releases in the notes. In the 26 line, several breaking changes arrived in patch releases.
- Upgrading without a database backup. There is no schema rollback.
- Rolling a minor or major upgrade node by node. Only patch releases support rolling updates.
- Copying the old
cache-ispn.xmlinto the new installation. Re-apply your changes to the new file instead. - Testing sign-in with one client only. Each client type can break in its own way.
How to use it
- Pick the major and minor version you run now, for example 24.0 if you run 24.0.5.
- Pick the version you want to reach. The list includes every patch release of it.
- Read the steps for every upgrade at the top.
- Go through the areas. Skip the ones you do not use, such as themes if you use the default theme.
- Open the source of each item that touches your setup and read the full section.
- Copy the checklist into your upgrade ticket and tick items off as you test.
Items marked as a patch of your current version came in a patch release of it. If you already run that patch or a later one, you can skip them.
If you would rather not do this every few months, our plans include managed upgrades. See the plans and prices, or work out what running it yourself costs with the cost calculator.