Yes, By the Grace of God is based on a true story. The film is based on the book Le Silence des Justes by Frédéric Martel, which tells the story of Bernard Preynat's abuse and the Catholic Church's response. Martel interviewed over 200 people for the book, including the three men who are the focus of the film.