Discord requires servers that host adult or sexually explicit content to restrict access behind an age verification gate. Without this gate, any member can view NSFW channels and Discord may flag or remove the server for violating its Terms of Service. The age verification gate prompts users to confirm they are 18 or older before they can view the channel content. This article explains how to mark a channel as NSFW and enable the age gate for text and voice channels on desktop and mobile.
Key Takeaways: Setting Up Age-Restricted Channels in Discord
- Channel Edit > Permissions > Age-Restricted Channel toggle: Marks the channel as NSFW and adds the age gate warning.
- Server Settings > Moderation > Explicit Content Filter: Scans and removes explicit media in non-NSFW channels.
- Server Settings > Roles > Manage Permissions > View Channel: Restricts NSFW channels to specific roles for finer access control.
What the Discord NSFW Age Gate Does
The NSFW age gate is a built-in feature that adds a content warning overlay to a channel. When a member clicks the channel name, Discord displays a prompt that says “This channel is age-restricted. Are you sure you want to view it?” The member must click “Yes, I’m 18 or older” to proceed. If the member is under 18 or declines, the channel remains hidden.
The age gate applies to both text and voice channels. For voice channels, the gate appears when a member tries to join the channel. The gate does not verify the member’s actual age through ID or documents. It relies on the member’s self-declaration. Discord requires all servers that share sexually explicit content to enable the age gate on every channel that contains such content. Failure to do so may result in a server violation warning or server deletion.
Before you set up the age gate, you need the “Manage Channels” permission on the server. Server owners have this permission by default. If you are an administrator, you also have it. If you are a moderator, ask the server owner to grant you the “Manage Channels” permission.
Steps to Enable the Age Gate on a Discord Channel
You can enable the age gate on any existing text or voice channel. The process is the same for desktop and mobile apps, though the menu labels differ slightly.
On Desktop (Windows, macOS, Linux)
- Open Channel Settings
Right-click the channel name in the server channel list. Select “Edit Channel” from the context menu. - Go to the Permissions Tab
In the channel settings sidebar, click “Permissions.” This tab shows all role and member overrides for this channel. - Toggle Age-Restricted Channel On
At the top of the Permissions page, find the switch labeled “Age-Restricted Channel.” Click the switch so it turns blue. Discord will display a confirmation dialog explaining that the channel will be restricted to users 18 and older. Click “Yes, turn it on.” - Save Changes
Click the “Save Changes” button at the bottom of the Permissions tab. The channel now shows a “18+” badge next to its name in the channel list.
On Mobile (iOS, Android)
- Open Channel Settings
Tap and hold the channel name in the server channel list. Tap “Edit Channel” from the pop-up menu. - Access Permissions
In the Edit Channel screen, scroll down and tap “Permissions.” - Enable Age-Restricted Channel
Tap the “Age-Restricted Channel” toggle to the on position. Confirm by tapping “Turn On” in the dialog that appears. - Save
Tap the save icon in the top-right corner (usually a checkmark or “Save”). The “18+” badge appears next to the channel name.
Using Role-Based Access to Further Restrict NSFW Channels
The age gate is a global warning for all members. If you want only specific roles to see the NSFW channel, you must configure channel permissions for those roles. This is useful for servers that have a public area and a private adult area.
- Create a Role for NSFW Access
Go to Server Settings > Roles. Click “Create Role.” Name it something like “18+ Members.” Set the role color if desired. Click “Save Changes.” - Open the NSFW Channel’s Permissions Tab
Right-click the NSFW channel. Select “Edit Channel” then click “Permissions.” - Add the New Role
Under “Roles/Members,” click the “+” button. Select the “18+ Members” role from the list. - Set View Channel Permission
In the role override row, find the “View Channel” permission. Click the green checkmark to allow it. Leave all other permissions as neutral (gray). - Remove Default @everyone Access
In the same Permissions tab, find the @everyone role. Set its “View Channel” permission to the red X (deny). This hides the channel from all members who do not have the “18+ Members” role. - Save Changes
Click “Save Changes.” Now only members with the “18+ Members” role can see the NSFW channel, and they still must click through the age gate.
What Happens When a Member Tries to View the NSFW Channel
When a member clicks the channel name, Discord displays a full-screen overlay with the message: “This channel is age-restricted. Are you sure you want to view it?” The member has two options: “Yes, I’m 18 or older” or “No, take me back.” If the member clicks “Yes,” the overlay disappears and the channel content loads. If the member clicks “No,” Discord returns to the channel list. The member can try again at any time.
On the Discord mobile app, the same overlay appears. The member must tap the confirmation button to proceed. There is no option to remember the choice. The gate appears every time the member opens the channel.
If the Age Gate Does Not Appear
Channel Still Shows Without the 18+ Badge
If the channel does not display the “18+” badge after you enable the age-restricted toggle, the change may not have saved. Go back to the channel’s Permissions tab and confirm the toggle is blue. If it is gray, click it again and click “Save Changes.”
Members Can See the Channel Without the Gate
The age gate only works if the channel is marked as age-restricted. If you also set role-based view permissions, the gate still appears for members who have access. If members bypass the gate, they likely have the “Administrator” permission, which overrides channel-level restrictions. Remove the “Administrator” permission from non-owner roles to enforce the gate.
Voice Channel Age Gate Not Working
Voice channels with the age-restricted toggle enabled show the gate when a member tries to join. If the gate does not appear, verify that the voice channel’s permissions do not have a role override that grants “Connect” permission to @everyone. The gate still appears, but members can join without seeing the warning if they have direct permission. To force the gate, deny “Connect” for @everyone and allow it only for the roles that should have access.
| Item | Age Gate Only | Age Gate + Role Restriction |
|---|---|---|
| Description | Any member can view the channel after clicking through the age warning | Only members with a specific role can view the channel after the age warning |
| Setup time | 1 minute | 5 minutes |
| Permission changes needed | Toggle Age-Restricted Channel on | Create role, deny @everyone View Channel, allow role View Channel |
| Best for | Servers where all members are adults | Servers with mixed-age membership or private adult areas |
After you enable the age gate, test it by switching to a test account or asking a trusted member to confirm the gate appears. If you need to remove the gate later, simply toggle the Age-Restricted Channel switch off and save. The “18+” badge disappears and members can view the channel without the warning overlay. For servers that share sexually explicit content, keeping the gate enabled is required by Discord’s Terms of Service. The age gate combined with role-based permissions gives you full control over who sees adult content in your server.