How to Add a Friend on Minecraft Java Edition
Minecraft Java Edition handles multiplayer and friend connections differently than Bedrock Edition — and that difference trips up a lot of players. There's no built-in friends list the way you might expect from a modern game. Instead, adding friends in Java means knowing where you're playing and how that environment manages connections.
Here's a clear breakdown of how it actually works.
Why Java Edition Doesn't Have a Traditional Friends System
Unlike Minecraft Bedrock, which uses a Microsoft account-based friends list, Minecraft Java Edition was built before that kind of social infrastructure became standard. For most of its history, Java Edition relied entirely on server IPs and LAN connections — you joined a world or server, and whoever was there was your multiplayer experience.
That said, Microsoft has been gradually integrating Java Edition accounts with its broader ecosystem, so some of this is slowly changing. But for now, "adding a friend" in Java Edition means something more practical: getting into the same world or server as someone else.
Method 1: Playing Together on a LAN (Local Network) 🖥️
If you and a friend are on the same Wi-Fi or wired network, Java Edition makes this easy.
- The host opens a world in singleplayer.
- Press Escape, then select Open to LAN.
- Choose game mode and cheats settings, then click Start LAN World.
- Other players on the same network open Minecraft, go to Multiplayer, and the world should appear automatically under Local Network.
This requires no server setup, no IP address, and no port forwarding. The limitation is obvious — everyone needs to be physically near the same router.
Method 2: Joining via Direct IP Address
This is the most common way Java Edition players connect with friends online.
The host either:
- Runs a dedicated server (using the official Minecraft server software)
- Uses a hosting service (a third-party server host that provides an IP address and port)
- Uses a tool like ngrok or Playit.gg to expose a LAN world to the internet without full server setup
Once the host has an IP address, sharing it is as simple as sending it in a message. The other player opens Minecraft Java Edition, clicks Multiplayer → Add Server, enters the IP (and port if needed, formatted as address:port), names it, and saves it.
That server then appears in their list permanently — which is effectively how Java Edition "saves" a friend's world. It's not a contact list; it's a server list.
Method 3: Using a Realm
Minecraft Realms for Java Edition is the official paid subscription option that makes multiplayer more accessible. The host subscribes to a Realm through Minecraft's main menu, then invites friends by their Java Edition username.
Invited players receive the invitation in-game and can join the Realm without needing an IP address. This is the closest Java Edition gets to a traditional invite-and-play friends system.
Key things to understand about Realms:
- Invitations are sent and received inside the game, under Minecraft → Realms menu
- The Realm stays online even when the owner isn't playing (within subscription limits)
- There is a cap on simultaneous players (typically 10 at a time for Java Realms)
- Realms require an active subscription — it's not a free feature
Method 4: Third-Party Platforms and Launchers 🎮
Some players use platforms like Aternos, Minehut, or private server hosting services that give friends a consistent server address. Others use Discord to coordinate join times and share IPs in a more organized way.
There are also launchers and platforms (like GD Launcher or modded environments) that may have their own social or friend features layered on top of vanilla Java Edition. These vary significantly in how they work.
The Variables That Affect How This Works for You
How you connect with friends in Minecraft Java Edition isn't one-size-fits-all. Several factors shape which method makes the most sense:
| Factor | How It Affects Your Setup |
|---|---|
| Same network or remote | LAN works locally; IP/Realm needed for online |
| Technical comfort level | Direct server setup requires more configuration |
| Budget | Realms cost money; LAN and direct IP are free |
| How often you play together | Realms or a hosted server suit regular groups better |
| Mod usage | Modded servers require matching mod setups on both sides |
| Java Edition version | Both players must be on the same game version to connect |
Version matching is a particularly common issue. If one player updated to the latest release and another is on an older version, they simply won't be able to join the same server. Most server software lets you set which version it runs, but both client and server must align.
What the Microsoft Account Integration Changes
Since Mojang migrated Java Edition accounts to Microsoft accounts, some social features have appeared that didn't exist before — including the ability to see Java Edition friends through the Xbox social layer in certain contexts. However, this integration is still more limited in Java than in Bedrock, and most players still rely on server lists and Realms for their day-to-day multiplayer.
Whether the Microsoft account features are relevant to your setup depends on how your account is configured, what version you're running, and whether you're using the default launcher.
The right approach for connecting with a specific friend in Minecraft Java Edition ultimately comes down to your network situation, how you both play, and what level of setup you're willing to manage.