The Stanford prison experiment was a psychological experiment performed during August 1971. It was a two-week simulation of a prison environment that examined the effects of situational variables on participants' reactions and behaviors.