Why auto-join rooms matter for new Matrix users on Synapse
On a new company Synapse server, every hire needs the same starting rooms on day one: the announcements room, a company space and the team channels that match their role. Without a mechanism for this, the first week turns into a series of manual invitations, and anyone who misses one starts the job without the information everyone else received. The auto_join_rooms setting in the Synapse configuration manual handles this at registration time. It lists the rooms that a new user joins automatically when the account is created, and it defaults to an empty list, so a fresh installation adds no rooms until you name them. Planning this list is the first decision, because every room you add becomes a default for every future account, including contractors, service accounts and test users.
Auto-join is only half of the onboarding picture. The configuration manual also documents auto_accept_invites, which is disabled by default and can be limited to direct messages or to invites from local users. That setting answers a different question: what happens when someone invites a new account to a room after registration. Teams that need both behaviors should decide which rooms are fixed defaults and which invitations a user should accept without manual action, then test each path with a throwaway account. Be aware that the older synapse_auto_accept_invite module overlaps with auto_accept_invites, and the manual advises against enabling both because they may compete. Confirm which of these mechanisms your Synapse version and modules already use before you change either one.
This page covers how to choose the default room list, when to pair it with auto_accept_invites, how to clean up the conflict with the older module, and how to verify the result. Before you start, confirm the exact room IDs or aliases your server will reference, and check the configuration manual for the options available in the Synapse release you run. The Synapse configuration manual is the document to confirm each key against your version, since defaults and limits can change between releases.
Choosing between auto_join_rooms and auto_accept_invites
Choose auto_join_rooms when every new account must see the same company rooms from its first login, such as a general announcements room, a support channel or a space that groups them. The setting lists room identifiers in the homeserver configuration, and new users join those rooms automatically when they register. It defaults to an empty list, so nothing joins until you add entries. It acts only at registration. Users created before the change, or users removed from a room later, are not rejoined by this setting.
- Timing: the join happens during registration, so the rooms are present before the user opens the client.
- Scope: the list applies to every new account, with no per-team or per-role filtering.
- Membership: users are joined as members, which means they can leave the room later.
- Existing accounts: the setting does not backfill accounts that already exist.
- Room settings: the rooms must already exist and be configured for the access you intend.
Before you rely on this, confirm the room identifiers, the room visibility and who can post in each room, and test a registration on a non-production server.
Choose auto_accept_invites when the goal is that invitations sent to a user are accepted without the user clicking through them, for example direct messages from a colleague or invitations from a trusted internal inviter. The setting is disabled by default. You can limit it to direct messages, or to invites from local users, so that it does not accept every room invitation from anywhere. It acts when an invitation arrives, not when the account is created.
- Timing: acceptance happens when the invite is received, so it works for accounts that already exist.
- Limits: you can restrict it to direct messages or to local inviters.
- Default: it stays off until you enable it.
- Not a room list: it does not place users in rooms that nobody invited them to.
- Review: an auto-accepted invitation still puts the user in the room, so confirm which inviters you trust.
Before enabling it, decide which inviters are trusted and whether direct messages alone are enough for your organization.
Some organizations need both behaviors: a set of company rooms that every user joins at registration, and automatic acceptance of invitations into those rooms or from internal colleagues. The two settings act at different points in the lifecycle, so combining them is a design choice rather than a conflict in the configuration itself. The combined result must still match the access you intend for each room, because auto-accepted invitations can add users to rooms beyond the default list.
- Sequence: registration joins the default rooms, and later invitations are accepted as they arrive.
- Overlap: a user may be in a default room and also receive an invitation to the same room, which the server handles as a normal membership.
- Access review: list every room that either setting can reach.
- Inviter scope: limiting acceptance to local inviters narrows the exposure.
- Testing: create a test account, send it invitations from different inviters, and check the resulting memberships.
Before combining them, write down the rooms and inviters each setting can reach and check that the list matches your access policy.
Synapse documentation advises against enabling auto_accept_invites at the same time as the synapse_auto_accept_invite module, because the two may compete. The module is a separate extension that implements automatic invitation handling. Running both can produce unpredictable behavior, and the documentation does not describe which one takes precedence, so do not rely on an assumed order. Module behavior also depends on the version you run, so check the module's own documentation before you install it.
- Pick one mechanism: use the built-in setting or the module for invitation acceptance, not both.
- Check existing installs: find out whether an older deployment already loads the module before you enable the setting.
- Test after change: send a test invitation and confirm that it is accepted once and as expected.
- Document the choice: record which mechanism is in use so that future upgrades do not reintroduce both.
- Review the upgrade path: recheck the choice whenever you change Synapse versions.
Before you change invitation handling, confirm which mechanism your server loads and test one invitation end to end.
Configuration options and when each fits
This table compares auto_join_rooms, auto_accept_invites, and the synapse_auto_accept_invite module on default setting, scope, and fit. Read each row against your onboarding model: rooms every account should join, invitations you want accepted automatically, or a legacy module already in your config. The main takeaway is that the built-in options and the module overlap, so pick one path and confirm its behavior in the configuration manual before rollout.
| Option | Default and scope | When it fits and what to confirm |
|---|---|---|
| auto_join_rooms | Defaults to an empty list. Lists rooms that new users join automatically when they register. | Fits company-wide channels or a space that every new account should see. Confirm in the configuration manual whether the setting applies to existing accounts, since the facts supplied only describe registration. |
| auto_accept_invites | Disabled by default. Can be limited to direct messages or to invites from local users. | Fits users who should accept invitations without a click, such as internal DMs. Confirm which limit options exist and how they combine before enabling it for all invites. |
| auto_accept_invites with direct-message limit | Off by default. Restricts automatic acceptance to direct message invitations. | Fits internal messaging where colleagues start one-to-one chats, while group room invites still need manual acceptance. Confirm the exact flag names in the configuration manual. |
| auto_accept_invites with local-inviter limit | Off by default. Restricts automatic acceptance to invites from accounts on your own server. | Fits closed deployments that should never auto-accept from federated servers. Confirm how federated inviters are identified in the configuration manual. |
| synapse_auto_accept_invite module | A separate third-party module, not part of the core configuration. | Fits only servers that already run it. Do not enable it alongside auto_accept_invites, because the two may compete. Confirm the module's maintenance status and compatibility with your Synapse version before choosing it. |
Setting up default rooms and spaces step by step
This sequence takes a set of company rooms or a space from creation to a verified default-join configuration, so every new account lands in the right places. It also shows how to confirm the change works for new users without touching existing accounts.
Decide the default room list and its owner
Before anyone creates a room, the administrator and the business owners agree which rooms or space every new account should join, who administers each one, and whether any room must stay invite-only. Write the list down with the room purpose and the moderator for each room, because a room added to auto_join_rooms later affects every account created after that point. The step is done when the list is approved and each room has a named owner. Ask your Matrix partner or internal lead to confirm that the list matches your sign-in and naming policy.
Create the rooms or space as an administrator
An administrator creates each room in Element, or creates a space and adds the rooms to it, using a dedicated admin account rather than a personal one. Set the join rule, history visibility and room directory setting deliberately, since these are hard to reason about after members arrive. Confirm that the admin account can see and manage every room. The step is done when each room opens in the admin client and its settings match the approved list.
Collect room IDs or aliases for each room
Open each room's settings and copy its canonical alias (for example, a
#name:your-server-nameform) or its internal room ID, which starts with an exclamation mark. Use the alias where it exists because it reads clearly in the config file, and record the room ID as a fallback. Keep the values in one file under change control. The step is done when every room on the approved list has one recorded identifier, and each identifier resolves to the correct room when you open it by typing it into the client.Add the identifiers to auto_join_rooms
A server administrator adds the recorded identifiers to the
auto_join_roomslist in the Synapse configuration file, which ishomeserver.yamlin a standard install. The setting defaults to an empty list, so the file change is the only thing that enables the behavior. Review the YAML indentation and quoting before saving, and keep a copy of the previous file for rollback. The step is done when the file parses cleanly and the list matches the approved list exactly. Check the configuration manual for the exact syntax used by your Synapse version.Restart Synapse and confirm it loaded the change
Restart the Synapse process using your deployment method, such as systemd, a container orchestrator or the ESS Helm chart, and then check the startup log for configuration errors. Confirm the process is healthy before moving on. If the server runs workers, restart the processes that read the configuration so none keep the old list. The step is done when Synapse starts without configuration errors on every process that loads the file.
Register a test account and check its rooms
Create a new test account through your normal registration path, such as SSO or an invite, and sign in with it in a clean client session. Confirm that the account appears as a member of every room on the list, and that it shows no pending invites for them. Delete or deactivate the test account afterward according to your retention policy. The step is done when the test user is joined to every listed room and each room shows the expected membership.
Verify existing users are unchanged
Auto-join runs when accounts register, so existing members should not be added on their own. Compare the membership of each room with the list of users who existed before the change, using the admin client or your server's admin tools. If you want existing users added, plan that as a separate, reviewed process with its own communication, because it changes access for people already on the server. The step is done when membership for existing accounts matches the pre-change record, or the bulk plan is approved and documented.
Why the synapse_auto_accept_invite module conflicts with auto_accept_invites
The synapse_auto_accept_invite module and the built-in auto_accept_invites setting both accept invitations on a user's behalf, and the Synapse configuration manual warns that the two may compete. Do not enable both. If an older deployment already runs the module, plan to retire it as part of the same change that sets auto_accept_invites, so that one component owns invitation handling. Confirm the current wording of that warning in the Synapse configuration manual before you change anything, because the exact behavior depends on your Synapse version.
Start with an inventory. Read the modules section of homeserver.yaml and list every loaded module, including any that come from a container image, a Helm values file or a custom Python package installed beside Synapse. Then search the same configuration for auto_accept_invites and any settings for the module, and record the values in each place. Check each environment separately, such as staging and production, since they often drift. Keep the built-in setting if it covers your need: it is disabled by default, can be limited to direct messages or to invitations from local users, and is maintained as part of Synapse itself. Keep the module only if you rely on behavior the built-in setting cannot express, and record why in your change log.
Test invitation handling after the change, not only after startup. Create a test account and a second test account, then send a direct message invitation and a room invitation from each direction (local to local, and from a federated server if federation is enabled). Confirm which invitations are accepted, which wait for a manual response, and that the test account joins only the rooms you expect. Check the Synapse logs for module or setting errors during the same window. Repeat the test after each Synapse upgrade, since behavior tied to invitations can change between releases.
Security and privacy risks of default room membership
Automatic membership removes the human check that normally decides who sees a room. Each risk below maps to one setting you control: the list of rooms, the scope of auto-accepted invites, and the publication and join rules of the rooms themselves.
New accounts seeing sensitive rooms
Every account created after the list is set joins every room on it, including rooms that were meant for a single team. A room that was private when you added it to the list may later hold discussions, files or links that a new hire should not see. Review each listed room's membership, history visibility and who can change its settings before you add it. Treat the list as a permission grant, not a convenience setting.
Synapse configuration manualAuto-accepted invites from unknown senders
When auto_accept_invites is enabled without limits, an account can be pulled into rooms by anyone who can send it an invite, including accounts on federated servers you do not manage. The setting is disabled by default, so the risk appears only when someone turns it on. Limit acceptance to direct messages or to invites from local users if your policy allows it, and confirm which senders the server will accept from before you enable it.
Federated invites into default spaces
A space or room on the default list may be reachable by users on other homeservers if its join rules allow remote joins or invites. Because new accounts join without a second review, a remote participant can become a visible member of a room that your own staff treat as internal. Check whether each default room accepts remote members, and if your policy requires an internal-only server, keep federation restricted before you publish the list.
Open publication and join rules
A room with public join rules lets anyone with the room ID or a link join it, and a room published to the room directory is easy to find. Auto-join can then place every new account into a room whose membership is not controlled by your administrators. Confirm the join rule and directory visibility of each default room, and set them to invite-only or restricted before the room goes on the list.
Drift in room settings over time
A room that passed review at launch can change later, when a room admin lowers its join rule, changes history visibility or adds a bridge. Since new accounts keep joining it automatically, the change reaches every future user without notice. Schedule a periodic review of each default room's settings and membership, record the owner of each room, and assign someone to approve changes to the list itself.
How a new account reaches its default rooms
The flow starts when a new account registers on Synapse. Synapse reads the auto_join_rooms list and joins the new user to each listed room or space on registration. Invitations arrive separately: auto_accept_invites, which is disabled by default, can accept them, limited to direct messages or local inviters. The synapse_auto_accept_invite module sits on a parallel path and should not be active alongside that setting, because the two may compete. Check which path is enabled before you roll out.
Auto-join and auto-accept paths, with the module shown as a conflicting alternative.
Limits to confirm before you rely on auto-join
Auto-join is a registration-time behavior, so its effect depends on what already exists on your server and how accounts are created. The cards below list the checks to run in your own environment before staff depend on default rooms for onboarding.
Accounts created before the change
The setting applies when an account registers, so it does not add existing users to new rooms by itself. Confirm whether your team plans to add current accounts to the default rooms with a script or admin API call, and who owns that one-time step. Test with an illustrative account created before the change and one created after, and record which rooms each one holds.
- Config key
- auto_join_rooms
Identity provider and provisioning
If accounts are created through SSO or an external provisioning process, confirm that the registration path actually triggers auto-join. Accounts created by an admin, a provisioning tool or a different login flow may behave differently from self-registration. Ask your identity team which path creates each new account and test each path before you rely on it.
Room join rules and permissions
Auto-join only adds users to the rooms you list, so each room's join rules, power levels and visibility decide what those users can do after joining. A room set to invite-only or restricted may not accept the join the way you expect. Confirm the join rule, the default power levels and who can post in each default room before you publish the list.
Auto-accept conflicts
Auto-accept of invites is disabled by default and is a separate setting from auto-join. Do not enable it alongside the synapse_auto_accept_invite module, because the two may compete. Check whether any module or legacy configuration on your server already auto-accepts invites, and test one new account to confirm it joins once rather than in duplicate ways.
Synapse version in use
Behavior of configuration keys can change between releases, so confirm the exact Synapse version running in production before you test. Read the upgrade notes for every release between your current version and the version you plan to run, and repeat the auto-join test after each upgrade. Your team should record the version in its change log next to the configuration change.
Synapse upgrade notesQuestions teams ask before onboarding users into default rooms
How much effort does configuring auto_join_rooms take?
The config change itself is small: you list the room IDs or aliases in auto_join_rooms in homeserver.yaml and restart Synapse. The effort sits in the work around it: deciding which rooms belong in the default set, confirming each room exists and has the right permissions, and checking that the join behaves as expected for a new account. Effort grows with the number of rooms, the number of spaces, and how many restricted or invite-only rooms need extra handling. Ask any partner to split its quote into room design, configuration, testing and handover so you can see which part drives the total.
Can our internal team set up default rooms on its own?
Often yes, if one or two engineers already run the Synapse server and someone owns room governance. The setting is documented in the Synapse configuration manual and does not need custom code. The risks are less technical: a room created with the wrong join rules, a space that new users cannot see, or a default room that later gets a public alias by mistake. Teams without Synapse experience usually benefit from an outside review of the configuration before it reaches production, especially on a federated server where room access affects other servers.
What do we need to provide before the work starts?
Plan to supply four things: a written list of the rooms or spaces every new user should join, a named owner for each room, admin access to the Synapse host and its configuration files, and a few test accounts that match real user types, such as a contractor or a regional staff member. Also confirm how accounts are created, whether through password registration, SSO or an admin API, because that affects when the join happens. Missing any of these usually adds a round of waiting rather than changing the technical work.
How long does testing take as the number of rooms grows?
Testing time grows with the number of rooms and with the number of account paths that create users. A small set of rooms can be checked with a handful of new test accounts in one pass. Larger sets need a test for each room's join rules, a check that users can read history they should see, and a check that rooms do not leak to users who should be excluded. Ask for the test matrix in writing, so each room and each registration path has a named check and a pass condition. The duration depends on your environment, so confirm it against your own room list rather than a generic estimate.
Does enabling auto_join_rooms affect users who already have accounts?
No. The setting applies when a new account is registered. Existing users are not joined to rooms added later, so you need a separate step if you want current staff in a new default room. Teams usually script that step with the Synapse admin API or use an admin tool, then verify membership with a sample of accounts. Confirm this behavior on your Synapse version, because the upgrade notes and the configuration manual are the source of truth for how it applies.
When should we bring in outside help instead of configuring it ourselves?
Bring in outside help when the default rooms affect compliance-sensitive communication, when the server federates with other organizations, or when the team has no one who has run Synapse in production. Outside help is also useful when rooms are tied to SSO group mapping or when you need auto_accept_invites for a bot or service account. DeployOpen plans, implements, tests and documents these changes inside your own infrastructure, under a written scope. Ask for the scope, deliverables and retest approach before you agree to a fixed price.
What is the difference between auto_join_rooms and auto_accept_invites, and which do we need?
auto_join_rooms makes every new account join a fixed list of rooms at registration, which suits company-wide channels. auto_accept_invites is disabled by default and accepts invites automatically, and it can be limited to direct messages or to local inviters. Use the first for shared channels and the second only when a specific class of invite should be accepted without a click. Do not enable auto_accept_invites alongside the synapse_auto_accept_invite module, because the two may compete. Confirm which one your existing configuration already uses before you change either.
How DeployOpen scopes and delivers Matrix onboarding
DeployOpen plans auto-joining for your Synapse homeserver as a written scope, covering which rooms or space new accounts join, which invite behavior applies, and how the setting is tested and documented before go-live. The work runs inside infrastructure you control, with the configuration reviewed by your own identity and administration owners.
How we scope
- Inventory the company rooms or space that every new account should join, with named owners for each room.
- Decide whether auto_join_rooms, auto_accept_invites, or both fit your onboarding and privacy requirements.
- Confirm whether any legacy synapse_auto_accept_invite module is installed, and record how it will be removed or retained.
How we build
- Set auto_join_rooms in the Synapse configuration for the agreed room aliases, tested on a staging homeserver first.
- Configure auto_accept_invites with the narrowest limit your policy allows, such as direct messages or local inviters only.
- Test new registrations, SSO sign-ins and existing accounts so the behavior is confirmed for each login path.
How we hand over
- Deliver the written configuration, the room list with owners, and the reasoning behind each invite setting.
- Document the procedure for adding or retiring a default room, including how existing members are handled.
- Walk your administrators through the test cases so they can repeat them after future configuration changes.
How we support
- Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.
- Ongoing support, upgrades and continuous testing are available as a retainer if your room list changes often.
- Ask any partner to confirm the Synapse version your homeserver runs before quoting, since configuration behavior can change between releases.

