Asghar Farhadi wrote the script in Persian and then lived in France for two years in order to better understand the rhythms of the French language so that he would be able to more accurately judge the translation of his script and the performance of his actors.
Marion Cotillard was originally cast in the lead role, but dropped out due to scheduling conflicts. When the shootings began in September 2012, her film Rust and Bone (2012) was selected to participate in many film festivals and Cotillard had to travel and promote it. Bérénice Bejo replaced her. Had Cotillard starred in the film, she would have played the mother of Pauline Burlet's character; Burlet played Édith Piaf as a child in La Vie en Rose (2007), while Cotillard played Piaf as an adult in the same film.
During Bérénice Bejo's audition, director Asghar Farhadi had her fill her cheeks with cotton and put makeup on because he was looking for someone with a round face to better express doubt and thought Bejo's face was too oval.