Based on real events, the film tells the story of a simulation conducted by a Stanford psychology professor who made his students take on the roles of prison guards and inmates in a pretend prison to study how those roles affect human behavior.
24 students are asked to take part in a psychological experiment taking place inside a makeshift prison.