How to Connect to LAN in Minecraft: A Complete Setup Guide
Playing Minecraft with friends on the same network is one of the most straightforward multiplayer experiences the game offers — no server software required, no port forwarding headaches, and no subscription fees. But "straightforward" doesn't always mean obvious, especially when things don't connect the first time. Here's exactly how LAN play works and what affects whether it runs smoothly for your group.
What "LAN" Actually Means in Minecraft
LAN stands for Local Area Network. In Minecraft terms, it means one player hosts a world directly from their game client, and other players on the same Wi-Fi or wired network can join without any external server setup.
This is fundamentally different from:
- Dedicated servers (which run independently and require server software)
- Realms (Mojang's subscription-based hosted service)
- Direct IP multiplayer over the internet
LAN play is built into Minecraft Java Edition and Bedrock Edition, but the process differs between them.
How to Open a LAN World in Minecraft Java Edition
Java Edition has a dedicated "Open to LAN" feature built into every singleplayer world.
Steps for the host:
- Load your singleplayer world
- Press Escape to open the pause menu
- Click "Open to LAN"
- Choose your preferred game mode and whether to allow cheats
- Click "Start LAN World"
Minecraft will display a port number in the chat — something like "Local game hosted on port 55123." You don't need to manually share this; other players on the network should see the world appear automatically in their Multiplayer menu.
Steps for joining players:
- Launch Minecraft Java Edition
- Click Multiplayer
- The hosted world should appear under "Local Network" automatically
- Click it and join
If it doesn't appear automatically, players can click "Direct Connection" and type in the host's local IP address followed by the port number (e.g., 192.168.1.5:55123).
How to Connect via LAN in Minecraft Bedrock Edition
Bedrock Edition (used on Windows 10/11, console, and mobile) handles LAN differently. Here, any world you're currently playing is visible to Bedrock players on the same network — there's no manual "open to LAN" button.
Steps for the host:
- Open a world in Bedrock Edition
- Ensure "Visible to LAN Players" is enabled in world settings (it usually is by default)
Steps for joining players:
- Open Minecraft Bedrock Edition
- Go to the Play menu
- Scroll to the "Friends" tab or check under "LAN Games"
- The host's world should appear automatically
🎮 One important note: Java Edition and Bedrock Edition cannot connect to each other over LAN (or at all, without third-party tools). All players must be on the same edition.
Why LAN Connections Sometimes Fail
LAN play sounds simple but has several points of failure. Understanding them saves a lot of troubleshooting time.
Network Isolation
Most home routers work fine, but some networks — particularly guest Wi-Fi networks, school or office networks, or routers with AP isolation enabled — deliberately prevent devices from seeing each other. If one player is on Wi-Fi and another is on a wired Ethernet connection, some routers treat them as separate network segments.
Fix: Ensure all players are on the same network segment. Wired and wireless on the same home router typically works, but AP isolation needs to be disabled in router settings if it's on.
Firewall Blocking
Windows Firewall or third-party security software can block Minecraft's LAN broadcast. When you first open a world to LAN, Windows may prompt you to allow Minecraft through the firewall — clicking "Allow" is essential. If that prompt was dismissed, you'll need to manually add an exception.
Version Mismatches
All players must be running the exact same version of Minecraft. A player on 1.21 cannot connect to a world hosted on 1.20.4. This catches people off guard after an update.
Java Edition Firewall Note
Java Edition uses a randomly assigned port each session. If your firewall rules are very strict, this can cause issues since the port changes every time.
Key Differences: Java vs. Bedrock LAN Play
| Feature | Java Edition | Bedrock Edition |
|---|---|---|
| Open to LAN method | Manual (pause menu) | Automatic (world settings) |
| Port assignment | Random each session | More consistent |
| Cross-platform LAN | Java only | Windows, mobile, console |
| Auto-discovery | Usually works | Usually works |
| Max LAN players | ~8 (varies) | Varies by device |
Factors That Affect Your LAN Experience
Even when connection works, the quality of the LAN session depends on several variables:
- Host machine performance — The hosting player's computer or device handles all world processing. Weaker hardware means lag for everyone, not just the host.
- Network speed and stability — LAN is fast, but a congested Wi-Fi network with interference can still introduce latency.
- World complexity — Heavily modded worlds (Java) or worlds with large redstone contraptions increase the processing load on the host.
- Number of players — More simultaneous players increase demand on the host.
- Mods and plugins — On Java Edition, all players typically need the same mods installed for a modded LAN world to function correctly.
When LAN Isn't the Right Setup
LAN works well for small, same-location sessions, but it has real limitations:
- The world only exists while the host is playing — there's no persistent uptime
- All players must be physically on the same network (without tools like Hamachi or ZeroTier, which simulate LAN over the internet)
- Performance scales with the host's hardware, not a dedicated machine
For groups that want to play together regularly, from different locations, or without depending on one person staying online, a dedicated server or Realm handles those needs differently — with their own setup requirements and tradeoffs.
Whether LAN play is the right fit depends entirely on how many people you're playing with, where they are, how often you play, and what device everyone is on. Those variables shape which setup actually makes sense for your situation. 🖥️