A container with a detent mechanism is disclosed. In one embodiment, a container comprises a housing comprising a side wall, a lid comprising a top surface and a lip depending from the top surface, and a detent mechanism disposed between the lip and the side wall. The lid is pivotably coupled with the housing and is configured to rotate between a first position covering an open end of the housing, a second position substantially exposing the open end, and an intermediate position between the first and second positions. The detent mechanism is configured to arrest the rotation of the lid at each of the positions.