Methods, systems, and apparatus, including computer-readable media, for automated idle environment shutdown. In some implementations, activity of a server environment is monitored over a period of time. A measure of user-initiated activity of the server environment is determined based on the monitored activity of the server environment over the period of time. The level of user-initiated activity over the period of time is determined to be less than a threshold level. In response to determining that the level of user-initiated activity over the period of time is less than the threshold level, shut down of the server environment is initiated.