You can hide your online status in League of Legends in two ways.
The first method uses the in-game status button, and the second uses the command prompt. Both methods work well and let you play without friend requests or chat messages.
Method 1: Using the Status Button
- Open League of Legends and log in
- Find the green dot icon next to your name in the top right corner
- Click the green dot - it will turn red
- You are now offline to your friends
Method 2: Using Command Prompt
- Right-click Command Prompt and select "Run as Administrator"
- Copy this command if you play on NA servers: netsh advfirewall firewall add rule name="lolchat" dir=out remoteip=192.64.174.69 protocol=TCP action=block
- Copy this command if you play on EUW servers: netsh advfirewall firewall add rule name="lolchat" dir=out remoteip=185.40.64.69 protocol=TCP action=block
- Paste the command and press Enter
- Restart League of Legends
To appear online again:
- Open Command Prompt as Administrator
- Type: netsh advfirewall firewall delete rule name="lolchat"
- Press Enter
- Restart the game
The status button method is faster but the command prompt method blocks chat completely.
I use the status button method when I want a quick solution. Both methods work well and help me play without distractions.
If these steps don't work, make sure you run Command Prompt as Administrator or try restarting your game client.