Set AFK Idle Timeout on Your Minecraft Server

How to automatically kick idle players after a set time on your Minecraft Java server.

Setting the Idle Timeout

In server.properties:

player-idle-timeout=30
ValueEffect
0Disabled — players are never kicked for being AFK (default)
10Kick after 10 minutes of inactivity
30Kick after 30 minutes
60Kick after 1 hour

The timer resets when the player moves, chats, or interacts with anything.

💡 Tip: Set to 30 on public servers to free up slots from AFK players. Keep at 0 for private servers.

How is this guide?

40% Off — Limited TimeGet your Minecraft server todayInstant setup, DDoS protection, and 24/7 support included.
Get a Server

On this page