Skip to content

Keycloak upgrade checker

Pick the Keycloak version you run and the one you want. See the notable changes in between, grouped by area, each linked to the section of the official upgrading guide or release notes it comes from.

Runs in your browser. Nothing you paste is sent to us.

Your upgrade

Major and minor version, for example 24.0 for 24.0.5.

Up to its latest patch. The list covers releases up to 26.8.2.

81 items16 removed53 changed12 deprecated
Before every minor or major upgrade
  • Back up the database. The schema is not compatible with the old server after the upgrade, and Keycloak cannot roll database changes back: to go back, restore the old installation and the database backup. Source
  • Shut down every node of the old version before the new one migrates the database. Rolling updates are supported only for patch releases, from 26.6.0. Source
  • Copy providers and themes to the new installation. Copy conf/ except cache-ispn.xml, and re-apply your cache changes to the file shipped with the new version. Source
  • Upgrade the server before the adapters. Older adapters may work with a newer server; a newer adapter may not work with an older server. Source
A short list of notable changes, each read in the official upgrading guide or release notes on 25 November 2026. It is not every change. Read the guide for each version you pass, and test the upgrade on a copy first.

Changes from 24.0 to 26.8

Java and custom providers (2)
  • 25.0.0Deprecated
    Java 21 supported, Java 17 deprecatedPlan a move of the server to Java 21.Source: Keycloak docs
  • 26.6.0Changed
    Java 25 supportedThe server runs on OpenJDK 25. The container image still uses OpenJDK 21.Source: Keycloak docs
Hostname, proxy and ports (9)
  • 25.0.0Changed
    Hostname v2 options on by defaulthostname-url, hostname-path, hostname-port, hostname-admin-url and hostname-strict-backchannel are no longer recognized. hostname now takes a full URL.Source: Keycloak docs
  • 25.0.0Changed
    Health and metrics move to management port 9000Point probes, load balancer checks and scrape jobs at port 9000 instead of 8080 or 8443.Source: Keycloak docs
  • 26.0.0Removed
    Hostname v1 removedMove to the hostname v2 options before you upgrade.Source: Keycloak docs
  • 26.0.0Removed
    proxy option removedUse proxy-headers, with hostname options as needed.Source: Keycloak docs
  • 26.0.0Changed
    Root redirects to the relative pathWith http-relative-path set, requests to / now redirect to that path. Check proxy rules that depended on the old answer.Source: Keycloak docs
  • 26.0.0Changed
    Operator no longer defaults to proxy=passthroughCheck the hostname and proxy settings of Keycloak custom resources.Source: Keycloak docs
  • 26.2.0Changed
    X-Forwarded-Host without a port drops the portMake your proxy send the port in X-Forwarded-Host or X-Forwarded-Port if Keycloak needs it in URLs.Source: Keycloak docs
  • 26.2.0Changed
    Client certificates from headers need a trusted proxyWith proxy-trusted-addresses set, built-in X.509 lookups only read certificates from trusted proxies.Source: Keycloak docs
  • 26.6.0Changed
    X-Forwarded-Prefix is readWith proxy-headers=xforwarded, Keycloak takes its context path from X-Forwarded-Prefix. Check what your proxy sends.Source: Keycloak docs
Database (11)
  • 25.0.0Removed
    Oracle driver no longer shippedIf you use Oracle Database, install a compatible JDBC driver yourself.Source: Keycloak docs
  • 26.0.0Changed
    Additional datasources must use XAIf you add datasources to Keycloak, at most one may be non-XA.Source: Keycloak docs
  • 26.1.0Deprecated
    db defaulting to dev-file in production deprecatedSet the db option explicitly for build, start and the import and export commands.Source: Keycloak docs
  • 26.2.0Changed
    Oracle needs the ojdbc17 driverReplace the ojdbc11 JAR with ojdbc17.Source: Keycloak docs
  • 26.4.0Changed
    Supported database versions listed and raisedMariaDB now needs 10.6 or later. Compare your database version with the Configuring the database guide.Source: Keycloak docs
  • 26.4.0Changed
    New options for additional datasourcesConfiguring additional datasources through raw Quarkus properties is unsupported now. Use the new server options.Source: Keycloak docs
  • 26.5.0Removed
    PostgreSQL 13 no longer supportedUpgrade PostgreSQL 13 before you upgrade Keycloak.Source: Keycloak docs
  • 26.5.0Changed
    PostgreSQL user should read pg_class and pg_namespaceGrant SELECT on both, or upgrades fall back to slower row counts.Source: Keycloak docs
  • 26.6.0Changed
    Long migration of OFFLINE_CLIENT_SESSIONA new REALM_ID column is filled during migration. With many offline sessions, plan for a long first start.Source: Keycloak docs
  • 26.6.0Deprecated
    Non-UTF-8 databases deprecatedKeycloak warns when the database is not UTF-8. Future versions might refuse to start.Source: Keycloak docs
  • 26.8.0Changed
    Login failures stored in the databaseBrute force lockouts now survive restarts. login-failures:v1 restores the in-memory behavior but is deprecated.Source: Keycloak docs
Sessions, tokens and sign-in (13)
  • 25.0.0Changed
    Persistent user sessions (preview)To keep online sessions across the jump to 26, enable persistent-user-sessions while upgrading to 25. It cannot migrate existing sessions later.Source: Keycloak docs
  • 25.0.0Changed
    Argon2 is the default password hashOutside FIPS, passwords are rehashed with Argon2 at their next sign-in. Expect more database activity for a while after the upgrade.Source: Keycloak docs
  • 25.0.0Changed
    New default client scope basicsub and auth_time now come from the basic scope. If a realm already has a scope named basic, the migration skips it; rename yours first.Source: Keycloak docs
  • 25.0.0Changed
    session_state claim removed from tokensUse sid instead. It stays in the token response.Source: Keycloak docs
  • 25.0.0Changed
    nonce only in the ID tokenAccess and refresh tokens no longer carry nonce. A compatibility mapper exists for older clients.Source: Keycloak docs
  • 26.0.0Changed
    All user sessions persisted by defaultThe database is now the source of truth for sessions. Update custom cache configs to limit session cache sizes.Source: Keycloak docs
  • 26.1.0Changed
    New service_account client scopeClient credentials claims now come from this scope, assigned when service accounts are on. Check custom mappers on service account clients.Source: Keycloak docs
  • 26.5.0Changed
    session_state and sid are no longer UUIDsThey are shorter random strings now. Fix code that parses or stores them as UUIDs.Source: Keycloak docs
  • 26.6.2Changed
    Token introspection checks the audienceA client can only introspect tokens that list it in aud. Others get active: false.Source: Keycloak docs
  • 26.6.3Changed
    No hostname wildcards in redirect URIsPatterns like https://example.com* now match only paths. Fix clients that relied on them.Source: Keycloak docs
  • 26.7.3Changed
    OIDC parameters in redirect URIs rejectedredirect_uri and post_logout_redirect_uri containing state, code or session_state are refused.Source: Keycloak docs
  • 26.8.0Changed
    Refresh token expiry follows session idlerefresh_expires_in is now capped by the user session idle timeout, and offline refresh tokens always have exp.Source: Keycloak docs
  • 26.8.0Deprecated
    Disabling persistent user sessions deprecatedRemove --features-disabled=persistent-user-sessions before a future upgrade.Source: Keycloak docs
Admin API and permissions (11)
  • 24.0.4Changedpatch of 24.0
    No partial updates of user attributes in the Admin APISend every attribute when you update a user. Attributes you leave out are removed.Source: Keycloak docs
  • 25.0.0Changed
    kcadm and kcreg parse options differentlyUsage errors now exit with code 2 instead of 1. Check scripts that test exit codes.Source: Keycloak docs
  • 26.0.0Changed
    Identity providers left out of the realm representationRead them from /realms/{realm}/identity-provider/instances, which supports filters and paging.Source: Keycloak docs
  • 26.0.0Removed
    setOrCreateChild() removed from the JavaScript admin clientUse createChildGroup() or updateChildGroup().Source: Keycloak docs
  • 26.3.0Changed
    Only server admins can assign admin rolesRealm-level administrators can no longer grant admin roles. Check delegated admin setups.Source: Keycloak docs
  • 26.3.0Changed
    User searches follow the user profileAttributes not allowed by the user profile may be missing from User API results.Source: Keycloak docs
  • 26.7.0Removed
    view-system admin role removedFull server info now needs a master realm user with manage-realm.Source: Keycloak docs
  • 26.7.0Changed
    Identity provider alias cannot changeUpdating an alias through the Admin API now returns 400.Source: Keycloak docs
  • 26.7.1Changed
    Admin roles from protocol mappers no longer countAdmin API access needs admin roles assigned directly or through groups.Source: Keycloak docs
  • 26.8.0Changed
    Client secret hidden from view-clientsReading a client secret through the Admin API now needs manage-clients.Source: Keycloak docs
  • 26.8.2Changed
    Admin API checks the token audienceTokens need the kc-admin-api scope. admin-cli and security-admin-console get it on upgrade; assign it to your own admin clients and service accounts.Source: Keycloak docs
Themes (9)
  • 25.0.0Removed
    Account console v2 theme removedMove any remaining customization to the v3 account console.Source: Keycloak docs
  • 25.0.0Changed
    Admin and account consoles on PatternFly 5Review customizations of the admin and account consoles.Source: Keycloak docs
  • 25.0.0Deprecated
    authServerUrl and authUrl theme variables deprecatedUse serverBaseUrl or adminBaseUrl in admin and account themes.Source: Keycloak docs
  • 26.0.0Changed
    Paths of common theme resources changedUpdate custom themes that load PatternFly or rfc4648 from node_modules paths; they now live under vendor/.Source: Keycloak docs
  • 26.4.0Changed
    Message bundle file names follow Java rulesIf you added a custom language code, check that your messages file name still matches.Source: Keycloak docs
  • 26.5.0Changed
    No HTML in login theme messagesMessage keys no longer render HTML or HTML entities in the login theme, except termsText.Source: Keycloak docs
  • 26.6.0Changed
    Base themes are abstractbase themes can no longer be picked in the admin console. Use a default theme or your own.Source: Keycloak docs
  • 26.7.0Changed
    Login theme layout changesAction buttons and passkey pages look different. Test custom login themes.Source: Keycloak docs
  • 26.8.0Changed
    Identity provider buttons redesignedLogin themes that override social-providers.ftl or style provider icons may render incorrectly.Source: Keycloak docs
Adapters and client libraries (5)
  • 25.0.0Changed
    Older JavaScript adapters need compatibility mappersKeycloak JS 24.0.3 or older needs the session_state mapper; versions older than 24 also need the nonce compatibility mapper. Add them or upgrade the library.Source: Keycloak docs
  • 25.0.0Removed
    Most Java adapters removedThe Tomcat, WildFly/EAP OIDC, Servlet filter, Spring and Spring Boot adapters and others are gone. SAML adapters remain for WildFly and JBoss EAP.Source: Keycloak docs
  • 26.0.0Removed
    Keycloak JS no longer served by the serverThe /js/keycloak.js URLs are gone. Install keycloak-js from npm or bundle it with your app.Source: Keycloak docs
  • 26.0.0Removed
    JEE admin client removedUse the Jakarta admin client.Source: Keycloak docs
  • 26.0.0Removed
    Adapter and misc BOM files removedRemove keycloak-adapter-bom and keycloak-misc-bom from your builds.Source: Keycloak docs
Clustering, caches and running the server (11)
  • 25.0.0Changed
    Cache options are runtime optionsMove cache, cache-stack and cache-config-file from the build step to start.Source: Keycloak docs
  • 25.0.0Changed
    External Infinispan must be 15.0 or laterUpgrade an external Infinispan server first if you run one.Source: Keycloak docs
  • 26.0.0Changed
    New cache marshalling: all caches clearedCaches are cleared on upgrade to 26. To keep user sessions, upgrade to 25 first with persistent sessions on.Source: Keycloak docs
  • 26.0.0Changed
    Build-time options must match the optimized imageKeycloak now fails to start if build options differ from the last build. Run kc.sh build before start --optimized.Source: Keycloak docs
  • 26.1.0Changed
    jdbc-ping is the default cluster discoveryNodes now find each other through the database instead of UDP multicast. Check clusters that set a transport stack.Source: Keycloak docs
  • 26.1.0Deprecated
    Other cache transport stacks deprecatedudp, jdbc-ping-udp, tcp, azure, ec2 and google are deprecated. Move to jdbc-ping.Source: Keycloak docs
  • 26.3.0Changed
    Upgrade procedure for the distribution changedDo not copy cache-ispn.xml from the old installation. Re-apply your changes to the new file.Source: Keycloak docs
  • 26.6.0Changed
    Zero-downtime patch releases on by defaultRolling updates work within one major.minor stream. Minor and major upgrades still need a full shutdown.Source: Keycloak docs
  • 26.6.0Changed
    Infinispan 16If you run an external Infinispan server, upgrade it to 16.0.Source: Keycloak docs
  • 26.8.0Deprecated
    multi-site feature deprecatedMulti-cluster v1 will be removed. The stateless feature, which keeps sessions in the database, replaces it.Source: Keycloak docs
  • 26.8.0Deprecated
    clusterless feature will be removedIf you run with --features=clusterless, plan a move to the stateless feature.Source: Keycloak docs
Removed and deprecated features (10)
  • 25.0.0Removed
    Offline session preloading removedOffline sessions are no longer loaded at startup.Source: Keycloak docs
  • 25.0.0Removed
    Legacy LinkedIn provider removedRealms still using the old linkedin-oauth provider must switch to the LinkedIn OpenID Connect provider.Source: Keycloak docs
  • 26.0.0Removed
    Legacy redirect_uri logout parameter removedLogout URLs with redirect_uri no longer work, and two legacy logout SPI options are gone. Use OpenID Connect RP-Initiated Logout.Source: Keycloak docs
  • 26.0.0Removed
    GELF log handler removedSwitch to another supported handler, such as Syslog.Source: Keycloak docs
  • 26.0.0Changed
    account3, admin2 and login2 features renamedUse versioned names, for example --features-disabled=admin or --features=login:v1.Source: Keycloak docs
  • 26.5.0Deprecated
    Fine-grained admin permissions v1 deprecatedPlan a move to FGAP v2.Source: Keycloak docs
  • 26.6.0Deprecated
    Legacy token exchange deprecatedToken exchange v1 will be removed. Plan a move to the supported version 2.Source: Keycloak docs
  • 26.7.0Deprecated
    SHA1 to be removed in Keycloak 27Configure SHA2 or SHA3 wherever you still use SHA1.Source: Keycloak docs
  • 26.7.0Deprecated
    Twitter identity broker deprecatedUse the generic OAuth v2 provider against the X OAuth 2.0 endpoints.Source: Keycloak docs
  • 26.8.0Removed
    Keycloak Realm Operator end of lifeReplace KeycloakRealm and KeycloakClient resources with the Keycloak Operator’s own resources, such as KeycloakRealmImport.Source: Keycloak docs

Checked against the official Keycloak docs on 25 November 2026.

How to use it

  1. Choose the major and minor version you run now.
  2. Choose the version you want to reach.
  3. Read the steps for every upgrade, then the changes by area.
  4. Open the source of each item that touches your setup.
  5. Copy the checklist into your upgrade ticket.

What to know

Every Keycloak release comes with migration notes. Between two versions far apart there can be dozens: renamed options, removed features, new defaults, theme changes and database migrations.

The checker lists the notable ones for the versions you pass, from 21.0 to 26.8. Each item was read in the official docs on 25 November 2026 and links to its section.

It is a short list, not every change. Use it to plan, then read the upgrading guide for each version and test on a copy first.

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

AreaWhat it covers
Java and custom providersThe Java versions the server supports, and the move to Jakarta EE and Quarkus 3 that custom providers must follow
Hostname, proxy and portsHostname v2, the end of the proxy option, forwarding headers and the management port
DatabaseSupported versions, drivers, datasources and migrations that take a long time
Sessions, tokens and sign-inPersistent sessions, claims, client scopes, redirect URI matching and password hashing
Admin API and permissionsChanged representations, stricter permission checks and the new audience check
ThemesLogin, account, admin and welcome theme changes that break custom themes
Adapters and client librariesRemoved Java adapters, Keycloak JS changes and the admin client
Clustering, caches and running the serverCache marshalling, transport stacks, build options and rolling updates
Removed and deprecated featuresOptions 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.

  1. Read the migration notes for every version you pass. Start with the items the checker lists.
  2. 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.
  3. Try the upgrade on a copy of production: same realms, same themes, same providers, a copy of the database.
  4. 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.
  5. 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-timeout changes it.
  6. Check sign-in for each kind of client, the admin console, your themes, and any automation that calls the Admin API.
  7. 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.

Write the migration SQL instead of applying it
kc.sh start --spi-connections-jpa--quarkus--migration-strategy=manual

Testing 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.xml into 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

  1. Pick the major and minor version you run now, for example 24.0 if you run 24.0.5.
  2. Pick the version you want to reach. The list includes every patch release of it.
  3. Read the steps for every upgrade at the top.
  4. Go through the areas. Skip the ones you do not use, such as themes if you use the default theme.
  5. Open the source of each item that touches your setup and read the full section.
  6. 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.

Questions

Frequently asked questions

Where does the upgrade list come from?

From the official Keycloak upgrading guide and release notes, read on 25 November 2026. Each item links to the section it comes from.

Does it list every change between two versions?

No. It lists notable changes that are likely to need action. Read the upgrading guide for every version you pass before you upgrade.

Can I roll a Keycloak upgrade node by node?

Only between patch releases of the same minor version, from 26.6.0. For a minor or major upgrade, the guide says to shut down all nodes of the old version first.

Can I roll back a Keycloak upgrade?

Not the database schema. To go back, restore the old installation and the database backup you took before the upgrade.

Will users stay signed in during an upgrade?

Since 26, sessions are stored in the database by default and survive restarts. Upgrading to 26 clears all caches, so the guide advises going through 25 with persistent sessions on to keep them.

What changed with hostname options?

Keycloak 25 introduced hostname v2 and stopped recognizing the old options, and 26 removed hostname v1 entirely. hostname now takes a full URL.

Which Java version does Keycloak need?

Java 11 support ended in 22. Java 21 is supported since 25, where Java 17 was deprecated, and Java 25 since 26.6. The container image uses OpenJDK 21.

Why is my Admin API token refused after upgrading to 26.8.2?

The Admin API now requires tokens with the kc-admin-api scope. Built-in admin clients get it on upgrade; assign it to your own clients and service accounts.

Rather not run Keycloak yourself?

We run it for you on a cluster of your own, with backups, upgrades and written support. Starter and Premium begin with a 7-day trial.