Prior to making this film, Jacques Audiard had screened a film for prisoners in France. Shocked by the prison conditions, he decided his next film would take place in one.
The director met Tahar Rahim when they shared an automobile ride from another film set. Niels Arestrup plays a villain in Jacques Audiard's previous film.