The fastest way to invite a friend depends on which version you're playing

Inviting someone to play Minecraft with you works differently on Java Edition, Bedrock Edition, and Realms. Java Edition (the original PC version) uses a direct connection method where one player hosts and others join by typing in an IP address. Bedrock Edition (Windows 10/11, consoles, mobile) uses Microsoft accounts and a friends list built into the game itself. Realms is a subscription service that runs a persistent world on Minecraft's servers, so friends can join whenever they want without the host being online.

The method you use depends on what platform you're on and whether you want a temporary game session or a world that stays running. If you're playing casually with a friend right now, Java Edition's direct connection is simplest. If you want something more permanent or you're on console or mobile, Bedrock or Realms is the way to go.

Key Takeaways

  • Java Edition requires the host to start a world in LAN mode and share their IP address, which only works when both players are on the same local network or using a tunneling tool.
  • Bedrock Edition lets you invite friends directly through the in-game friends list if you're both signed into Microsoft accounts.
  • Realms creates a permanent world that stays online even when you're not playing, and friends can join anytime with a subscription.
  • Console versions of Bedrock (Xbox, PlayStation, Nintendo Switch) use the same friends system as the Windows version.

Inviting someone in Java Edition

Start a new world or open an existing one, then pause the game and look for the "Open to LAN" button. Click it, and Minecraft will generate a session ID and show you the port number. Your friend needs to open the multiplayer menu, click "Direct Connection," and enter your IP address followed by a colon and the port number (for example: 192.168.1.5:25565).

This only works if you're both on the same WiFi network or connected through the same router. If your friend is outside your home network, you'll need a tunneling tool like Hamachi or Aternos to create a virtual connection. Hamachi is free for up to five players and creates a virtual network that makes it look like you're on the same local network even when you're not. Aternos is also free and runs a temporary server that stays online for a few hours at a time.

The LAN session ends when you close the world or quit the game, so this method is best for short gaming sessions. If you want a world that stays running, you'll need to rent a server or use Realms.

Inviting someone in Bedrock Edition

Make sure both you and your friend are signed into Microsoft accounts on the same device or on your own devices. Open Minecraft and go to the Friends tab, then search for your friend by their Microsoft username or gamertag. Send them a friend request, and once they accept, you can invite them directly to your world.

Start or open a world, then pause and select "Invite to Game." A list of your friends will appear. Click the friend you want to invite, and they'll get a notification that you've invited them. They can accept from the notification or from their own Friends tab. The invitation stays open for a few minutes, so they don't have to be online right when you send it.

Bedrock Edition works the same way on Windows 10/11, Xbox, PlayStation, and Nintendo Switch. The only difference is that console players need to be signed into their console's account, which is linked to their Microsoft account. Cross-platform play is turned on by default, so a friend on Xbox can play in your world even if you're on Windows.

Using Realms for a persistent world

Realms is a subscription service that runs a Minecraft world on Microsoft's servers. You pay a monthly fee (the cost varies by region), and the world stays online all the time. Friends can join whenever they want, even if you're not playing, and the world saves automatically.

To set up a Realm, go to the Realms menu in Bedrock Edition and select "Create Realm." Choose a name and description, then invite up to 10 friends by their Microsoft username. They'll get an invitation and can join from their own Realms menu. You can change who has access, set the difficulty, and turn PvP on or off from the Realm settings.

Realms is the best option if you want a shared world that multiple friends can visit at different times without needing you to host. The downside is the monthly cost and the fact that you're limited to 10 players at once. If you need more players or want to avoid the subscription, a rented server is the alternative.

Troubleshooting when an invite doesn't work

If your friend doesn't see your invitation in Bedrock Edition, check that you're both signed into Microsoft accounts and that your friend request was accepted. Sometimes the notification takes a minute to appear. Ask your friend to restart the game if they still don't see it.

In Java Edition, if your friend can't connect using your IP address, make sure you actually clicked "Open to LAN" and that the port number is correct. If they're outside your home network, the direct connection won't work — you'll need Hamachi or a server. Test the connection by having your friend try to join while you're still in the world; if they can't connect after a few seconds, the issue is usually the IP address or port.

If you're using Realms and a friend can't join, check that their invitation was sent (go to your Realm settings and look at the members list). Realms invitations expire after 24 hours if not accepted, so you may need to send a new one. Also make sure your Realm subscription is still active — if it lapses, the world goes offline and friends can't join.

Choosing between methods

Use Java Edition's LAN mode if you're playing a quick session with someone on your home network and don't want to pay for anything. Use Bedrock Edition's friends system if you're on console, mobile, or Windows and want something simple that works across platforms. Use Realms if you want a world that stays online and you don't mind paying a monthly fee.

If you're playing with more than 10 people or want full control over the server, a rented server is the only option. Servers like Nitrado, Aternos, and GameServers host Minecraft worlds and let you invite as many people as you want. They cost more than Realms but give you more flexibility.

Frequently Asked Questions

Can I invite someone to my world if they're on a different platform?

Yes, but only in Bedrock Edition. Java Edition doesn't support cross-platform play. Bedrock works across Windows, Xbox, PlayStation, Nintendo Switch, and mobile, so a friend on any of those platforms can join your world.

What if my friend doesn't have a Microsoft account?

In Bedrock Edition, they need to create a free Microsoft account to play online. In Java Edition, they don't need an account to join your LAN world, but they do need the game itself. Realms requires a Microsoft account because it's tied to the Bedrock platform.

How many people can play in one world at the same time?

Java Edition supports up to 30 players on a single server, though performance depends on your hardware. Bedrock Edition supports up to 8 players in a regular world and up to 10 in a Realm. Rented servers can support more, depending on the server provider.

Do I have to be online for my friend to play in my world?

No, only if you're using Realms. In Java Edition and regular Bedrock worlds, you have to be hosting the world for others to join. Realms keeps the world running on Microsoft's servers, so friends can play anytime.

Can I invite someone if they're already in another world?

Yes. They'll get the invitation notification, but they can only join after they leave their current world. Once they accept and close their current game, they'll be able to join your world.