Enable and configure anonymous mode

:bookmark: This guide details how-to enable and configure anonymous mode in Discourse for users who want to post without revealing their identity.

:person_raising_hand: Required user level: Administrator

Anonymous mode allows logged-in users to switch from their normal account to an anonymous account. This allows users to create topics and replies without any details being displayed in the Discourse user interface to connect the anonymous user with its associated account.

:information_source: See also: Using anonymous mode to reply or create topics

Enabling anonymous mode

For self-hosted sites, enable anonymous mode by selecting the allow anonymous mode site setting.

:discourse: For sites on our hosting, these settings are hidden. Customers on paid hosting plans may contact our support team at team@discourse.org, to request anonymous mode.
Note : This feature is not available on our Free hosting plan.

Configuring anonymous mode

Anonymous mode has a few related site settings:

  • The anonymous posting allowed groups site setting allows you to limit the use of the feature based on the user’s group membership. By default, this is set to admins, moderators, and trust level 1 users.
  • The anonymous account duration minutes site setting sets the period of time that an anonymous account will be reused, based on when the anonymous account last posted.
    • This setting defaults to 10080 minutes (7 days.) With the default value for this setting, if a user re-enters anonymous mode and their previous anonymous account’s last post was within the past 7 days, they will be logged back into that anonymous account. If the anonymous account’s last post was more than 7 days ago, a new anonymous account will be created for them. If the previous anonymous account never posted, it will always be reused regardless of time.

Allowing different actions

By default, someone using anonymous mode can only post anonymously. You can also allow anonymous mode for other user actions:

  • allow likes in anonymous mode will allow people using anonymous mode to like posts anonymously.
  • allow chat in anonymous mode will allow people using anonymous mode to use chat anonymously.

These two settings will only work if allow anonymous mode is enabled.

Finding an anonymous user’s regular account

While anonymous mode provides anonymity in the Discourse user interface, the Discourse database can still associate anonymous accounts with their regular user accounts. Use the following Data Explorer query to find the association:

SELECT a.username AS anonymous_username, u.username AS original_username
FROM users u
       JOIN anonymous_users au ON (u.id = au.master_user_id)
       JOIN users a ON (a.id = au.user_id)

Last edited by @southpaw 2026-03-10T17:17:18Z

Last checked by @hugh 2025-02-19T21:58:58Z

Check documentPerform check on document:
22 לייקים