How to create a Discord invite link
Hover over a channel and click Create Invite. That is how to create a Discord invite link, per Discord's Invites 101 page. What decides who gets in is the settings screen behind Edit Invite Link, and its defaults are not what a public server needs.
The clicks, in the order Discord's page gives them:
- Hover over a channel in your server.
- Click Create Invite.
- Click Edit Invite Link to reach the settings, then Generate a New Link.
If Create Invite is missing, you may lack the permission to create invites, which a server admin can change.
- Default expiry: 7 days, unless you have changed the channel's invite settings before.
- Temporary membership: people who join are removed when they disconnect, unless they hold a role.
- Leaked link: delete the invite in Server Settings, then make a new one.
What the defaults do to a public server
Discord's Invites 101 page says the invite panel shows a link that lasts 7 days by default. If the channel's invite settings were changed earlier, it reuses those settings instead. So check the settings before you copy anything.
That default suits a private invite to a few friends. It does not suit a link you put in a bio, a video description or a directory listing. A public link that dies after a week sends visitors to an error, and you may not notice for days. Picture a college club that prints its link on a poster and keeps the 7-day default: a week later the poster is still up and the link is dead.
Expiry and max uses, setting by setting
Expiry
Discord's help pages document three durations: 30 minutes, 7 days and never. Those pages also indicate that never-expiring links are limited to Community Servers, so a missing option may mean your server is not one. The 30-minute link suits a quick handover, such as a friend waiting to join a call.
Max uses
Max uses has a "No limit" option. For a public server, no limit is right. For a private invite, set a number so a forwarded link stops after your friends have used it. If you set a limit, Discord's developer documentation caps a single invite at 100 uses.
Temporary membership, explained exactly
Many pages describe temporary membership as a timed trial. Discord's documentation describes no timer. Its Invites 101 page says people who join through such a link are automatically kicked when they disconnect, unless a role is assigned to them.
The documented trigger is disconnecting, not a clock. Discord does not document any delay before the removal. The wording does not say exactly what counts as disconnecting, so test it with a spare account before you rely on it. It suits a one-night guest, such as a quiz host. To keep a guest, give them a role; our roles and permissions guide shows how.
Vanity URLs for a server that is meant to be found
A vanity URL is a short, custom link for your server. Discord's Custom Invite Link page says it needs Level 3 Server Boost, allows up to 25 characters of lowercase letters, numbers and dashes, and goes to whoever claims it first. It also needs a text channel visible to @everyone and makes your server public. If the server drops below Level 3, the link is lost after 30 days.
Revoking a leaked invite
You can delete an invite at any time in Server Settings, under Invites. That list shows who created each invite, how many times it was used and when it expires. A deleted code cannot be remade, and Discord Support cannot restore it, so delete only when you mean it.
A server can hold up to 999 unique invite codes, at every boost level, so tidy old ones now and then.
What a deletion does to people who already joined through that invite is not documented, so we will not promise anything. To stop new joins quickly, Discord's Pause Invites feature blocks new joins through links, embeds, the vanity URL and Server Discovery. It needs the Manage Server permission, can be left on indefinitely, and does not change the links themselves.
Admins with Manage Server can filter the Members page by join method, such as invite code, vanity URL or Discovery, which helps you trace where unwanted joiners came from. For a raid, Discord's protection guidance lists pausing invites, raid alerts, a CAPTCHA for new joiners and a higher Verification Level.
The same idea works on WhatsApp: a leaked link is fixed by replacing it, and our guide to creating a WhatsApp group link covers the reset there.
Before you post the link
Check three things before you post the link: the expiry, the max uses, and whether temporary membership is switched on. For the visitor's side, see how to join a Discord server. If the server is not built yet, how to create a Discord server starts earlier. When it is ready, you can list it through the Discord submit page.