
In this post, I'll walk you through everything you need to know about Minecraft Realm codes, what they are, how to find them, and how to use them to join or invite others to your realm.
Whether you’re playing on Java or Bedrock Edition, this guide will cover all the details so you can dive right into the action.
What Are Minecraft Realm Codes?
A Minecraft Realm Code is a unique six-character code that acts like a password to join a private Minecraft server, known as a Realm. Realms are different from regular multiplayer servers because they are hosted by Mojang (the creators of Minecraft) and provide a secure, invite-only experience.
Here’s a quick rundown of how these Realm codes work:
-
Realm Codes are generated when a realm is created.
-
Only the realm owner can access and share the code.
-
The code allows friends to join the realm without needing to set up a traditional server connection.
-
Codes can be shared via a direct invite link or by giving the six-character code to players.
How to Find Your Minecraft Realm Code?
Since there are two versions of Minecraft, there are two ways to obtain a Realm code. Let’s go over both:
Minecraft: Java Edition

If you’re playing the Java Edition (PC/Mac), follow these steps to locate your Realm code:
-
Launch Minecraft – Open the Minecraft Java Edition on your computer.
-
Select “Minecraft Realms” – From the main menu, click on the "Minecraft Realms" button.
-
Find Your Realm – Choose the realm you want to invite others to from the list.
-
Open Settings – Click the gear icon next to your Realm’s name.
-
Go to the Players Section – Select the "Players" option from the menu.
-
Generate an Invite Code – Click on the "Invite" button to generate a code.
-
Share the Code – Your realm code will be shown as a six-character string or as part of an invite link.
Example: If your share link is https://realms.gg/DEF246, the last six characters (DEF246) are your Realm code.
Minecraft: Bedrock Edition

If you’re playing on Bedrock Edition (which includes Xbox, PlayStation, Nintendo Switch, mobile, and Windows 10), the process is slightly different:
-
Launch Minecraft Bedrock Edition on your console, PC, or mobile device.
-
From the main menu, select "Play."
-
Open the "Friends" tab at the top of the screen.
-
If you own a realm, you’ll see it listed under "Joinable Realms."
-
Click the pencil icon next to the Realm’s name.
-
Select the "Invite" option to generate a code or invite link.
-
The six-character code will be displayed. You can either copy it or share the invite link directly.
On consoles, you’ll usually be prompted to enter a 6-digit code manually when joining a Realm.
How to Join a Minecraft Realm Using a Code?
Once you have a Realm code, joining is super simple. Here’s how:
Java Edition
-
Open Minecraft Java Edition.
-
From the main menu, select “Minecraft Realms.”
-
Click “Join a Realm.”
-
Enter the six-character invite code.
-
Hit “Join” and you’re in!
Bedrock Edition
-
Open Minecraft Bedrock Edition.
-
Go to “Play.”
-
Open the “Friends” tab.
-
Select “Join Realm.”
-
Enter the six-character code.
-
Confirm and you’re ready to play!
Tip: If someone sends you a direct invite link, just click on it and the game will automatically open and join the realm.
How to Manage and Share Realm Codes?
Once you've got your realm up and running, managing it is important to keep things running smoothly. Here’s how you can control who joins and how to share the code safely:
How to Manage Your Realm Code:
-
Only the realm owner can see and share the code.
-
You can reset the code at any time if you want to kick out unwanted players.
-
If your realm is full (Java supports up to 10 players), you’ll need to remove players to make room.
Sharing a Realm Code:
-
You can share the code directly by copying the invite link or code.
-
You can also send it via text, email, or even through your gaming platform’s messaging system.
Troubleshooting Realm Code Errors
Here are a few problems you might encounter and how to fix them:
Takeaway
Minecraft Realm codes are your ticket to a private, invite-only world where you and your friends can create and explore without limits.
Now that you know how to find and share realm codes, setting up and managing your Minecraft Realm will be a breeze.
So, what are you waiting for? Gather your friends, start a realm, and let the adventure begin.
Also Read: Why Is My Minecraft Skin Failing to Load? | Quick Fixes for Minecraft Skin Issues