Technical Users limits per realm

37 views
Skip to first unread message

TCHOUNKEU roland

unread,
May 26, 2026, 3:23:55 PM (4 days ago) May 26
to Keycloak Dev
Hello everyone,

We are currently setting up the KeyCloak infrastructure on the OpenShift platform, and based on our requirements, we will have one realm with over 1 million users. Our question is: does KeyCloak have a technical limit on the number of users per realm? It should be noted that not all of these users will be active in the realm; they are simply registered users, but in the millions.

Best regards

Björn Eickvonder

unread,
May 27, 2026, 12:36:55 AM (3 days ago) May 27
to Keycloak Dev
Hi,

while this is.not a dev question but would belong to the users group, no there is no technical limit. You may wanna tweak the cache sizes depending on your number of concurrently active users, the cache sizes default to 10000.
Otherwise just size your pods and your database sufficiently.

Björn

Abdulllah Muhammad

unread,
May 27, 2026, 10:33:14 AM (3 days ago) May 27
to Keycloak Dev
I'm successfully running it with 6 million users for past 1.5 years. 

Venugopal Puttaramaiah

unread,
May 27, 2026, 11:58:37 AM (3 days ago) May 27
to Abdulllah Muhammad, Keycloak Dev
Its depends on how many users have logged in simultaneously.

No. of users doesn't matter.

--
You received this message because you are subscribed to the Google Groups "Keycloak Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to keycloak-dev...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/keycloak-dev/667e5ffa-eb92-4d16-8641-f48a0c60766fn%40googlegroups.com.

TCHOUNKEU roland

unread,
May 27, 2026, 2:44:32 PM (3 days ago) May 27
to Keycloak Dev
Hello Muhammad, 

Thank you for your answer, 
Could you share with me the configuration details related to caches, databases, RAM/CPU for pods (requests/limits), and the architecture being used?

TCHOUNKEU roland

unread,
May 27, 2026, 2:46:04 PM (3 days ago) May 27
to Keycloak Dev
Thanks  Puttaramaiah,

About 300k will be logged simultaneously.

Reply all
Reply to author
Forward
0 new messages