What a Keycloak major version upgrade changes for your team
A Keycloak major version upgrade is a documented sequence, and the order matters: review the migration changes, upgrade the server with its database migration, upgrade the adapters, then upgrade the client libraries, which release independently of the server. The current release on the Keycloak downloads page is 26.8.2, published November 5, 2026, as of December 2026, and the release before it is 26.8.1, published October 13, 2026. Confirm the current release on the Keycloak downloads page and on the Keycloak GitHub releases page the week you plan the change, because this guidance names no release after 26.8.2 and no future major version. No end-of-life date or support window is stated for these releases, so ask the Keycloak project or your distributor how long a target line will be maintained before you commit to it.
Since Keycloak 26.0, the project has planned four minor releases a year and a major release every two to three years, according to its October 2024 release update. The project says breaking changes in a minor release will be opt-in, but the 26.8.2 upgrading guide still lists breaking changes that apply by default, including restricting protocol mapper management to realm administrators, an audience check enforced by the Admin REST API, and stricter SAML identity broker validation. Read each version's guide yourself and sort every item into one of three groups: applies by default, opt-in, or not relevant to your realms and clients. An admin script that edits protocol mappers under a non-admin account, for example, needs testing before the cutover.
Plan the database step as its own work item. The upgrading guide covers automatic and manual relational database migration and a migration timeout setting, so decide which mode your team will run and confirm the timeout against your largest database before the change window. Take a verified database backup and a copy of your configuration before you start, and record the exact versions in use so the rollback target is clear. Confirm in the guide whether a schema change can be reversed, because that decides whether rollback means reverting the software or restoring the database from backup. Test that restore on a copy before the change window opens.
Current Keycloak releases and what the sources do not say about support
This table lists the Keycloak releases covered on this page, with publication dates and the Red Hat build of Keycloak. Read the support column as a list of things to confirm, because no end-of-life date or support window is stated for any Keycloak release here. The main takeaway is that you cannot plan a target version from these entries alone, so check the Keycloak downloads page and release notes before you choose the version you upgrade to.
| Release | Published | Support status |
|---|---|---|
| Keycloak 26.0.0 | 2024-10-04 | First release of the 26 line. No end-of-life date or support window is stated. Check the downloads page and release notes before planning. |
| Keycloak 26.8.1 | October 13, 2026 | Listed as current in Keycloak's release information before 26.8.2 appeared. No end-of-life date or support window is stated. Check release notes before planning. |
| Keycloak 26.8.2 | 2026-11-05 | Shown as the download as of December 2026. No end-of-life date or support window is stated. Check the downloads page and release notes first. |
| Keycloak 26.8.2 upgrading guide | 2026-11-05, with the 26.8.2 release | Lists breaking changes: protocol mapper management limited to realm administrators, an audience check in the Admin REST API, and stricter SAML identity broker validation. |
| Release cadence | Keycloak blog, October 2024 | Planned four minor releases a year and a major every two to three years. Minor breaking changes are opt-in. Not a support window. |
| Red Hat build of Keycloak | Confirm with Red Hat | Product page showed 26.6 as its latest version. Support is governed by Red Hat's terms, so confirm dates with Red Hat. |
The documented Keycloak major version upgrade path, in order
The Keycloak upgrading guide sets the order: review migration changes, upgrade the server, upgrade the adapters, then upgrade the client libraries. Steps one and two are the checks the release notes and database guide call for before the server moves, and the sequence ends with a server on the target release and applications checked against it. A pre-upgrade backup is the team's own preparation, not a step the guide lists.
Confirm target release and read upgrade notes
Confirm the target release, then read the notes in the Keycloak upgrading guide for every release between your current version and that target. Breaking changes sit in those notes. For example, the 26.8.2 upgrading guide lists a restriction of protocol mapper management to realm administrators, an audience check enforced by the Admin REST API, and stricter SAML identity broker validation, so check which of these touch your realms, clients and brokers. Done when the team holds a written list of changes that affect its configuration, with an owner for each item.
Check database against supported list
Confirm the production database is on the supported list in the Keycloak database guide. That list includes PostgreSQL 14 to 18, MariaDB, MySQL, Microsoft SQL Server, Oracle Database and Amazon Aurora PostgreSQL, along with the others the guide names. If the deployment still uses the default dev-file database, it is for development only and is not suitable for production, so plan a database move before the upgrade. Record the engine and exact version, and confirm them against the guide's current table. Done when that record matches a supported entry.
Upgrade server and run database migration
Before this step, the platform team takes a backup of the database and configuration as its own preparation, since the upgrading guide does not list a backup. Then it deploys the target server release. The guide covers relational database migration, which runs either automatically or manually as the guide describes, and it includes a migration timeout setting to review before starting. The team that owns Keycloak runs this step. Done when the logs show the migration finished without errors and the server starts cleanly on the target release.
Upgrade adapters used by applications
Upgrade any adapters your applications run, following the version guidance in the upgrading guide for the target release. The guide places this step after the server upgrade, so the server is already on the target release when adapter changes go in. Application owners usually make this change, with the platform team reviewing it, because the adapter sits in each application's login path. If no application uses an adapter, record that and move on. Done when each application that uses one starts, completes a sign-in against the upgraded server and shows no login errors in its own logs.
Upgrade client libraries on their own schedule
Upgrade the client libraries your applications embed, such as the libraries they use for OpenID Connect or SAML. The guide notes that client libraries release independently of the server, so their versions do not have to match the server release. Choose each version from that library's own release notes, since a library can carry requirements of its own. Done when each application builds, passes its login tests and completes a sign-in against the upgraded server. Keep a record of the library and version each application uses so the next upgrade starts from an accurate inventory.
How the database migration runs during a Keycloak major version upgrade
The Keycloak upgrading guide covers how the database moves to the new major version, through automatic or manual relational database migration and a migration timeout setting. Read both topics before you set a date. Confirm the timeout setting's exact key and its default in the upgrading guide, then write them into your change plan. Production Keycloak needs a relational database. The default dev-file database is for development only, so an instance that still runs on it must move to a supported production database, such as PostgreSQL 14 to 18, before the upgrade counts as a production change. The database guide lists the full set of supported options.
Three decisions come before the upgrade window. The first is automatic or manual migration. Confirm in the guide what each path does and which one fits your starting version and database, then plan the runbook around it. The second is the timeout. Size it from a rehearsal on a copy of production data, because schema changes on large production tables can run far longer than they do on a small test instance. Run the rehearsal on the same database engine and version you run in production. The third is sign-off: name the person who can stop the upgrade if the rehearsal timing or the migration output looks wrong.
A current, verified database backup matters more than any other step in this section. Take it immediately before the upgrade window so that it captures the state you will migrate. Then restore it into a separate environment and confirm that the target Keycloak version starts against the restored copy. Check the upgrading guide for whether the migrated schema can be reversed. If it cannot, the backup is the database rollback path, so it must be tested before the window opens. Keep the backup record, the rehearsal logs and the timeout value together in the change record so an auditor or incident responder can follow each step.
Keycloak breaking changes in the 26.8.2 upgrade guide
Keycloak 26.8.2 lists three breaking changes that touch administration, API authorization and SAML brokering, and the project says breaking changes in minor releases will be opt-in. Each card names the setups affected and the check to run before cutover. Work through them alongside the full upgrading guide, because the documented order is to review migration changes, upgrade the server, then upgrade adapters and client libraries.
Mapper management limited to realm admins
Keycloak 26.8.2 restricts protocol mapper management to realm administrators. Protocol mappers control which claims end up in tokens, so any script, Terraform module or CI job that creates or changes mappers under an account without that role will fail after the upgrade. Inventory each automation job and the account it signs in with, then run every job against a staging copy of the realm on 26.8.2 before you schedule cutover. Failures should appear as authorization errors, so keep the staging job logs for comparison.
Keycloak upgrading guideAudience check in the Admin API
The Admin REST API enforces an audience check in 26.8.2. API clients whose access tokens do not carry the expected audience may be refused, even when their roles are correct. Open the upgrading guide and confirm which clients and token settings the check covers, then decode a token from each API client and compare its aud claim with what the guide expects. Include service accounts and any integration that reuses a token issued to another client, since those are the easiest entries to miss in an inventory.
Keycloak upgrading guideStricter SAML broker validation
Keycloak 26.8.2 applies stricter validation to SAML identity brokers, so an external SAML provider that logged users in before may fail after the upgrade. Compare each brokered provider's metadata, signing configuration and broker settings against the validation rules the guide lists, and fix any mismatch before cutover. Then test each broker on staging with a login from a user at that provider, including any scheduled metadata refresh, because a broker can pass a configuration review and still fail at sign-in.
Keycloak upgrading guideOpt-in changes in minor releases
The project states that breaking changes in a minor release will be opt-in, so a move within the 26.x line may leave some behavior unchanged until you enable a setting. For each change in the 26.8.2 guide, record whether it is opt-in or applies by default in your configuration. The notes supplied for this page cover only 26.8.2, so read the upgrading notes for every intervening 26.x release separately and do not assume a change from one release is absent from another. Fix the target version only after that list is complete.
Backwards compatibility policyKeycloak major version upgrade planning by environment
Virtual machines running the server distribution put every upgrade step on your team: the server binaries, the configuration files, custom providers and the relational database. The upgrading guide sets the order as reviewing migration changes, upgrading the server, then the adapters, then the client libraries, which release independently of the server. Protect the database first, because the upgrade migrates the schema and your restore point is what makes a failed attempt recoverable.
- Back up the database and configuration: take a database backup and copy the configuration files, custom providers and themes before you change the server.
- Keep a staging copy of the database: restore a recent backup into staging and run the migration there first, so schema and timing problems appear before production.
- Record the installed release: write down the current server release and every configuration file, so you can rebuild the previous state if the upgrade fails.
- Test each brokered identity provider and federated directory: confirm that OIDC and SAML brokers and LDAP or Active Directory federation still sign users in and sync. The 26.8.2 upgrading guide lists stricter SAML identity broker validation, so test SAML brokers early.
- Retest OIDC and SAML clients and admin scripts: check each client's redirect and token behavior, plus any pipeline that calls the Admin REST API, since that API enforces an audience check in 26.8.2.
Before the production window, confirm that every brokered provider, federated directory and client passes its login test in staging, and that you can restore the backup you took.
On Kubernetes, the Keycloak Operator manages the Keycloak deployment, and the operator installation guide describes two install routes: the Operator Lifecycle Manager, which Keycloak recommends, or kubectl. The sources available for this comparison do not document the operator's upgrade steps, so read the operator documentation for your target release before you change subscriptions or manifests. Settle the database ownership question early, because the database is usually a separate system with its own backups and upgrade process that stays with your team.
- Install route: confirm whether your cluster installs the Operator through the Operator Lifecycle Manager or kubectl, and keep the resulting manifests in version control.
- Operator upgrade steps: read the operator documentation for the target release and confirm the exact order of operator and Keycloak changes before scheduling.
- Ownership split: confirm which resources the Operator reconciles and which parts stay with you, including the external database, its backups and its major version changes.
- Clients and automation: test OIDC and SAML clients, LDAP or Active Directory federation, brokered providers and any pipeline calling the Admin REST API, since 26.8.2 restricts protocol mapper management to realm administrators.
- Rollback path: confirm how a failed operator change is reverted in your cluster and whether your database backup covers the state you need to restore.
Before you schedule the change, confirm the operator upgrade steps, the ownership split and the database backup process in writing with your platform team.
The Red Hat build of Keycloak is Red Hat's supported distribution of the open source Keycloak project and replaces Red Hat Single Sign-On. It runs on its own version line, and Red Hat's product page listed 26.6 as its latest version when this comparison was prepared, so confirm the current line before planning. A version number on your server only tells you what Red Hat ships, so match it to the upstream release with Red Hat before you rely on any upstream upgrade guidance.
- Version mapping: ask Red Hat which upstream Keycloak release matches the build you run and which upstream changes it includes.
- Red Hat's upgrade path: follow the steps Red Hat documents for your installed line, and use upstream guidance only where Red Hat confirms it applies to its build.
- Distribution differences: check the artifacts, bundled database drivers and logging configuration your deployment depends on, since the build can differ from the upstream download.
- Migration from Red Hat Single Sign-On: if you are moving from Red Hat Single Sign-On, confirm the target line and the migration path with Red Hat before you start.
- Integration retest: run OIDC and SAML clients, LDAP or Active Directory federation, brokered providers and admin automation against the target build, because the upstream breaking-change list may not describe the Red Hat build exactly.
Before you commit to a version, confirm the mapping, the upgrade path and the support window covered by your subscription in writing with Red Hat.
The upgrade sequence and where to set restore points
The diagram starts with reading the Keycloak upgrading guide notes and confirming that your database is supported. Your team then backs up the database and configuration. The upgrade is tried in staging, including the database migration, and tests run there. A failed run returns the work to staging, so production is not touched until staging passes. Production is then upgraded with its migration, followed by the adapters, the client libraries and post-upgrade checks. Restore points sit before the production migration and after each stage. The Keycloak project does not document a rollback path, so these restore points are your team's own procedure. Define and rehearse them before the first production run.
Upgrade order with team-defined restore points before production and after each stage.
Testing a Keycloak upgrade when no rollback path is documented
No server rollback or downgrade procedure is documented in the upgrade material this plan relies on, so the only recovery path you can plan today is restoring the relational database from a backup taken before the migration runs. Keycloak handles relational database migration either automatically or through a manual step, so the backup must be a consistent snapshot taken immediately before the new server first starts. Treat that restore as an untested assumption until you have rehearsed it in staging on a copy of production data. Match the database engine and version, the realm configuration and the node count, because a restore that works on a smaller test database tells you little about the production window.
Build the staging test plan around the flows that fail quietly. Run OIDC and SAML client logins for every registered client, including the ones nobody has touched in a year. Test brokered logins to each external OpenID Connect or SAML identity provider, and sign in as a user federated from LDAP or Active Directory to confirm the federation link and attribute mappings still resolve. Have a non-realm-admin account attempt protocol mapper changes, since the Keycloak 26.8.2 upgrading guide restricts protocol mapper management to realm administrators and a delegated account that worked before may now fail. Run each Admin REST API script your automation uses and confirm the audience check accepts its tokens. Finally, validate SAML broker flows, because the stricter SAML identity broker validation can reject assertions that previously passed.
Time the full restore from start to finish. Record how long it takes to stop the Keycloak nodes, restore the database, start the previous server version and complete a successful login, then compare that figure with the outage window your change process allows. Repeat the rehearsal at least once with the same backup size so the timing reflects more than a single run. Before you depend on any rollback step, confirm with the Keycloak project and in the Keycloak upgrading guide whether reverting the server or the database schema is supported for your starting and target versions. If it is not, the backup and restore are the only path, and the change approval should say so explicitly.
What buyers ask before a Keycloak major version upgrade
What drives the cost of a Keycloak major version upgrade?
The cost follows the amount of work between your current version and the target, and how much of your estate depends on Keycloak. Review time covers reading the upgrading guide and the breaking changes that apply to your realms, clients and admin scripts. Testing covers a staging environment that mirrors production, login and token flows, and any custom code or integrations. Cutover covers the change window, the database migration and the rollback plan. Other drivers are the number of releases between your start and target versions, the number of brokered identity providers, and the admin automations that call the Admin REST API. Staging infrastructure and database work add cost when they are not already in place. Separate one-time work, such as the first upgrade and the staging build, from recurring upgrades, which repeat as Keycloak ships releases and can sit under a retainer. DeployOpen does not publish a price list. A quote follows the written scope, so ask for line items for each driver above and for which upgrades are one-time and which fall under a retainer.
How long does a Keycloak major version upgrade take?
The duration depends on the scope, so DeployOpen agrees timelines in writing as part of a fixed scope. Ask for the timeline, its assumptions and the conditions that would move it before you commit a change window. The main variables are the number of releases between your current version and the target, the number of realms, clients and brokered identity providers, how much custom code and how many admin automations need retesting, and how quickly staging access and sign-off are available. Review the breaking changes in the Keycloak upgrading guide early, because that review sets the test plan, and the test plan drives the schedule. Recurring upgrades on later releases follow the same pattern, so ask whether a retainer would set a standing cadence for them.
What does a Keycloak major version upgrade need from our team?
Expect to provide staging access, database backup access, an inventory of clients and automation owners, a change window and sign-off. Staging access lets the upgrade be rehearsed on a copy of your realms and configuration before production. Database backup access matters because the relational database migration is the step you must be able to reverse, so confirm backup and restore procedures with your database team first. The inventory identifies every SAML or OpenID Connect client, brokered provider and script that calls the Admin REST API, which is where breaking changes usually surface. Named owners for each item approve test results. A change window and a sign-off from the business owner close the upgrade. Ask the provider to list these inputs in the written scope so gaps are found before work starts.
Can our own platform team run a Keycloak major version upgrade?
Yes, your team can do it yourselves if it can run the documented steps and the test plan. The upgrading guide sets the order: review the migration changes, upgrade the server, upgrade the adapters, then upgrade the client libraries, which release independently of the server. Whether your team can carry this out depends on Kubernetes or virtual machine skills, depending on where Keycloak runs. On Kubernetes, the team needs to be comfortable with rollouts, the Operator and the database connection. On virtual machines, it needs to manage the server distribution, service configuration and rollback. In both cases, the team must test logins, token flows, brokered providers and admin scripts against staging before production. If your team lacks that depth, an implementation partner can run the work within a fixed scope or review your plan.
Does the Keycloak Operator change the major version upgrade steps?
Confirm this in the Keycloak Operator documentation before you plan, because the answer depends on the Operator version and how your team installs it. The Operator is installed through the Operator Lifecycle Manager, which Keycloak recommends, or with kubectl. Ask the team running the upgrade which steps the Operator automates and which remain manual, and get that split written into the scope. Whatever the Operator automates, the database backup, staging rehearsal, breaking-change review and rollback plan still apply. Start with the Keycloak Operator installation guide for the install path, then confirm the upgrade behavior for your version with the documentation for that version.
Does upgrading Keycloak to a new major version change its license?
Keycloak is licensed under Apache-2.0, and upgrading to a newer major version does not, by itself, change that license. Read the license file for the version you run to confirm the terms before you scope the work. If you run the Red Hat build of Keycloak, which replaces Red Hat Single Sign-On, confirm the subscription terms, supported versions and support coverage with Red Hat. That distribution is packaged and supported separately from the upstream project, so ask Red Hat to state in writing whether the upgrade you plan falls within your subscription. Record the build and license terms in the scope so that the upgrade plan, support obligations and any audit evidence describe the same version.
When a Keycloak upgrade needs outside help
Get outside help when the upgrade reaches past the server binary. The strongest signals are several realms or many clients with custom integrations, SAML identity brokers whose validation settings were configured years ago, and admin automation that calls the Admin REST API. The 26.8.2 upgrading notes list an audience check enforced by that API and a restriction of protocol mapper management to realm administrators, so scripts that create or edit mappers need a test run before cutover. Other triggers include a high availability cluster, several releases skipped across separate guides, no staging environment that matches production, and evidence that an assessor will review. One of these is a reason to review the plan with a second team. Several together usually mean the work needs dedicated capacity.
Outside help typically covers planning the order of work from the Keycloak upgrading guide, which runs migration review, server upgrade, adapter upgrade and then client libraries, each on its own schedule. It also covers testing against a copy of your realms and clients, a cutover runbook with rollback steps written down in advance, and documentation and handover to your team. Outside help does not issue audit reports or certifications. DeployOpen prepares systems, controls and evidence for compliance assessments, but independent auditors and certification bodies issue audit reports and certifications. Ask any provider to state in writing which deliverables it produces and which remain with your team, including who runs the production cutover and who approves a rollback.
Most DeployOpen engagements are fixed-scope, so the written scope should name the environments, realms, clients, SAML brokers and admin scripts in it. Ask what happens when testing finds an integration that was not listed, and how a change to scope is priced and approved before work continues. Retainers cover ongoing upgrades and continuous testing after the first upgrade, which makes them a separate decision from the one-time project. DeployOpen does not publish a price list, so request a quote built from the written scope and ask which items are one-time and which recur under a retainer.
How DeployOpen plans and runs Keycloak upgrades
DeployOpen plans and runs Keycloak major version upgrades inside your own infrastructure, from the written scope through to handover. The plan follows the order Keycloak's upgrading guide gives: review migration changes, upgrade the server, then the adapters and client libraries. Engagements are fixed-scope, so deliverables and timelines are agreed in writing before work starts.
How we scope
- The written scope lists which Keycloak versions, realms, clients and databases are in the upgrade.
- Scope also records which breaking changes in your target release affect your configuration, custom providers and protocol mappers.
- Engagements are fixed-scope; ongoing support after the upgrade can be arranged as a retainer.
How we build
- Upgrade the test environment first, then run the server, adapter and client library steps in the documented order.
- Run database migration in a rehearsal, with the automatic or manual path and migration timeout set deliberately.
- Test every OIDC, SAML and broker flow, plus Admin REST API scripts the audience check could break.
How we hand over
- Written runbook covering the upgrade steps, the rollback path and the checks each step must pass.
- Test results and a record of every breaking change addressed, with the configuration changes made.
- Handover session with your platform team, so the people who run Keycloak can follow the runbook.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers for later Keycloak releases.
- Post-upgrade checks on sign-in, federation and broker flows, documented against the runbook.
- Confirm the support window for your Keycloak release before planning the next upgrade, since the downloads page gives none.

