The fastest way depends on which Minecraft version you own

Adding a friend in Minecraft works differently on Java Edition and Bedrock Edition, and the method also depends on whether you're playing on the same local network or online. Java Edition uses a username system and requires you to type your friend's exact name into the game. Bedrock Edition (the version on Windows 10, Xbox, Nintendo Switch, and mobile) uses Microsoft accounts and a friends list similar to other gaming platforms. Both are straightforward once you know which version you have.

You can find which version you own by launching the game. If the launcher shows "Minecraft Java Edition" or "Minecraft: Java Edition", you have Java. If it says "Minecraft" without "Java", or if you're playing on a console or phone, you have Bedrock.

Key Takeaways

  • Java Edition requires you to type your friend's exact username in the server or multiplayer menu, with no spaces or capital letter variations.
  • Bedrock Edition uses your Microsoft account and a friends list you access from the main menu before joining a world.
  • Playing together on the same WiFi network (LAN) works in both versions without adding friends first, but only while you're on that network.
  • Realms is a paid subscription option in both versions that lets you invite friends to a persistent world you control.
  • If a friend request fails, the most common cause is a typo in the username or account name.

Adding friends in Java Edition

Java Edition does not have a built-in friends list. Instead, you add friends by typing their username directly when you join a multiplayer server or when they join a server you are running. To play together on a server, both of you need the server address (the IP address or domain name), and you both need to have that server in your multiplayer menu.

To join a server where a friend is playing, open Minecraft Java Edition, click "Multiplayer", then "Add Server". Type the server address in the "Server Address" field exactly as your friend gave it to you. Click "Done", then double-click the server to join. If your friend is already there, you will see them in the game world and can chat with them using the T key.

If you want to host a world for a friend to join, you can enable "Open to LAN" in your single-player world. Click "Esc" while playing, then "Open to LAN", and choose a game mode. Your friend can then see your world in their multiplayer menu if they are on the same WiFi network. This only works while you are actively playing and on the same network.

Adding friends in Bedrock Edition

Bedrock Edition has a proper friends list tied to your Microsoft account. To add a friend, sign in with your Microsoft account on the main menu (you will see your account name in the top right). Open the menu, then go to "Friends". Click "Add Friend" and type your friend's Microsoft account name or email address. Your friend will receive a friend request notification, and once they accept, you will both see each other in your friends list.

After you have added a friend, you can invite them to a world you are playing in. While in a world, press the menu button (the three dots or pause menu), go to "Invite to Game", and select your friend's name from the list. They will receive an invitation and can join your world if they have the same version of Bedrock Edition (Windows, Xbox, Switch, or mobile).

If your friend is on a different platform — for example, you are on Windows and they are on Nintendo Switch — you can still play together as long as you are both on Bedrock Edition. Cross-platform play is built in and works automatically once you are friends.

Playing on the same network without adding friends

If you and a friend are on the same WiFi network, you can play together without formally adding each other. In Java Edition, open a single-player world, press Esc, and click "Open to LAN". Your friend's game will show your world in the multiplayer menu under "Servers" at the bottom, and they can click it to join. This is the fastest way to play together locally.

In Bedrock Edition, create a world and set it to "Multiplayer" in the world settings. Your friend will see your world in their "Friends" tab if you are on the same network, even if you have not formally added each other. They can tap or click your world to join.

The limitation of LAN play is that it only works while you are both on the same network and while the host is actively playing. If you close the game or leave the network, the world is no longer visible to others.

Using Realms for persistent worlds

Realms is a subscription service available in both Java and Bedrock Edition that lets you rent a world from Minecraft. You invite friends to your Realm, and they can play in that world whenever they want, even when you are offline. The world stays active as long as your subscription is active.

In Java Edition, click "Realms" on the main menu. You can create a new Realm or join a friend's Realm if they have invited you. In Bedrock Edition, go to "Play", then "Create New", and select "Create on Realms". Both versions charge a monthly fee (the exact amount varies by region and subscription length). Realms is optional — you do not need it to play with friends, but it is useful if you want a world that persists without someone having to host it.

Troubleshooting when a friend request fails

If you cannot add a friend or they do not appear in your list, check the spelling of their username or account name first. Usernames are case-sensitive in some contexts, and even one letter wrong will prevent the connection. Ask your friend to spell their exact account name letter by letter.

In Bedrock Edition, make sure both of you are signed into Microsoft accounts. If either of you is playing offline or as a guest, you will not be able to add each other. In Java Edition, make sure you are both using the correct server address and that the server is actually running and accepting connections.

If you are trying to join a server and it says "Connection refused" or "Cannot connect", the server may be down or the address may be wrong. Ask your friend to confirm the server address and check that they can connect to it themselves.

Frequently Asked Questions

Can I add a friend if they play a different Minecraft version than me?

Not directly. Java Edition and Bedrock Edition are separate games and cannot play together. However, if your friend has Bedrock Edition on any platform (Windows, Xbox, Switch, mobile), you can play together across those platforms. Java Edition players can only play with other Java Edition players.

What if my friend's username has changed?

In Java Edition, you will need their new username to join a server with them. In Bedrock Edition, if they change their Microsoft account name, you may need to remove and re-add them. Ask them for their current account name and try adding them again.

Do I need to pay to play with friends?

No. Playing on servers or LAN worlds is free in both versions. Realms is optional and costs money only if you want a persistent world that stays active when you are offline. Most players use free multiplayer options.

Can I play with a friend on a console if I am on PC?

Yes, if you both have Bedrock Edition. Bedrock Edition supports cross-platform play between Windows, Xbox, Nintendo Switch, and mobile devices. Java Edition does not support cross-platform play.

Why can't my friend see my world in the multiplayer menu?

Make sure you are both on the same WiFi network and that you have enabled "Open to LAN" (Java) or set the world to "Multiplayer" (Bedrock). If you are on different networks, you will need to use a server or Realms instead.