/setidletimeout Command in Minecraft Java Edition

Set the Server Idle Timeout Timer

Java EditionServer AdminPermission: Level 3

The /setidletimeout command lets server administrators configure the idle timeout setting on a Minecraft Java Edition server. It takes a single number that sets the timer in minutes.

Server owners use this command to manage how many minutes the idle timer counts before taking effect. Because it changes a server-wide setting, you need level 3 operator permissions to run it.

Syntax (Java 26.3, 1 form)

  1. /setidletimeout <minutes>

The forms you will use most

/setidletimeout <minutes>
Sets the server idle timeout to the specified number of minutes.

Arguments

ArgumentTypeWhat it means
<minutes>whole number
at least 0
The number of minutes for the idle timeout, which must be a whole number of at least 0.

Examples

Version history

Measured from the game files of every Java release from 1.13 to 26.3.

  1. 1.13 Already in the game in 1.13, the oldest Java version we track.

Tips

Common mistakes

Java vs Bedrock

Minecraft Bedrock Edition has no command with the name /setidletimeout, as this command is only available in Java Edition.

FAQ

What permission level is needed for /setidletimeout?

You need permission level 3 (Server admin) to use the /setidletimeout command in Minecraft Java Edition.

Can I use /setidletimeout in Minecraft Bedrock Edition?

No, Bedrock Edition does not have a command with this name.

What is the lowest number I can use in /setidletimeout?

The lowest number you can use for the <minutes> argument is 0, and it must be a whole number.

Related commands

/ban/ban-ip/banlist/datapack/deop/fetchprofile/kick/list/op/pardon/pardon-ip/publish/reload/save-all/save-off/save-on