A hidden sleep switch in the brain triggers a sharp tipping point about four minutes before standard sleep onset.