It Was Just an Accident (; ) is a 2025 thriller film written and directed by Jafar Panahi. The film is a co-production between Iran, France, and Luxembourg. The film explores political repression in Iran and morality. Panahi, who is critical of the Iranian government and has been imprisoned several times, made the film without official filming permission from the Iranian authorities. The film had its world premiere at the main competition of the 78th Cannes Film Festival on 20 May 2025, where it won the Palme d'Or. It will be theatrically released in France on 10 September 2025 by Memento Distribution. Plot. A man, nicknamed Eghbal, is driving at night with his wife and daughter when he hits and kills a dog. The accident badly damages his engine and causes the car to later break down. He pulls over to a nearby garage, encountering a former political prisoner named Vahid, who recognizes the squeaking sound of Eghbal's false leg as that of an intelligence officer who tortured him in prison and caused him permanent kidney damage. Vahid stalks Eghbal to his house, kidnaps him, and prepares to bury him alive, but grows doubtful about the man's identity since he was blindfolded and had never seen his torturer's face. He reaches out to a fellow ex-prisoner for confirmation, and meets up with the bookseller Salar, wedding photographer Shiva, bride Goli, groom Ali, and angry worker Hamid. Riding around day and night, Vahid's van is occupied by these victims all seeking revenge on the man who brutally abused them. During their ride, they contemplate the morality of killing their captive and whether he actually is who they believe him to be. Production. Background. "It Was Just an Accident" is a film by Jafar Panahi, one of Iran's best known directors. In the past, he had repeatedly criticized the policies of the Islamic Republic in his works. Panahi was arrested in 2022 after being sentenced in 2010 to a six-year prison sentence and a 20-year ban on working. He had not yet begun serving his prison sentence at that time. This decision was heavily criticized internationally. After almost seven months in detention, Panahi was released in early February 2023, after the 65-year-old went on a hunger strike. Despite his ban on working, he had always managed to complete film projects in Iran and have them released abroad. Most recently, in his absence, his film "No Bears" (2022) was shown in the main competition at the 79th Venice International Film Festival and won the Special Jury Prize there. In an interview ahead of the film's Cannes premiere, Panahi said that although the bans had been lifted on his filmmaking and travelling, he still had to maintain a secrecy about his work and had to work illegally with a "very limited cast and crew". Financing and filming. "It Was Just an Accident" is a co-production between Iran, France and Luxembourg. It was produced by Panahi himself in collaboration with Philippe Martin for Les Films Pelléas, a Paris-based company that also produced Justine Triet's Palme d'Or-winning "Anatomy of a Fall". The film was co-produced by Bidibul Productions (Luxembourg) and Pio & Co (France). Post-production was completed in France. Panahi filmed "It Was Just an Accident" in secret, without a filming permit from the Islamic Republic. The actresses in the film do not wear the hijab, which is compulsory for women under the law in Iran. Release. "It Was Just an Accident" was selected to compete for the Palme d'Or at the 78th Cannes Film Festival, where it had its world premiere on 20 May 2025. The film was described as a "tightly guarded mystery" upon its announcement at Cannes. Thierry Frémaux, the festival's general delegate, explained in early April that he wanted nothing to be leaked. Panahi's work last appeared at Cannes in 2021 with the omnibus documentary film "The Year of the Everlasting Storm", presented as a Special Screening. Upon its announcement, "Variety" reported that it would be unlikely that Panahi would travel to Cannes for the premiere. Panahi, however, appeared in person at Cannes alongside his wife and daughter, as well as several of the cast members. He last appeared at Cannes in person in 2003, when "Crimson Gold" was screened in the "Un Certain Regard" section. International sales are handled by MK2 Films. The film is scheduled to be theatrically released in France by Memento Distribution on 10 September 2025, under the title "Un simple accident". Shortly after its Cannes premiere, Mubi acquired distribution rights to the film in Latin America, the U.K., Ireland, Germany, Austria, Turkey and India, with Neon buying rights for North America. It will be released in the United States on 15 October 2025. Reception. Critical response. Davide Abbatescianni of "Cineuropa" described it as "a gripping, slow-burning narrative that culminates in an unexpectedly devastating finale," which is "both timely and timeless, and deeply rooted in the social and political realities of Iran." In June 2025, "IndieWire" ranked the film at number 43 on its list of "The 100 Best Movies of the 2020s (So Far)." Legal. Following the film's success in Cannes, French foreign minister Jean-Noël Barrot called Panahi's win "a gesture of resistance against the Iranian regime's oppression". A spokesperson for Iran's foreign ministry called Barrot's comments "insulting remarks and unfounded allegations" and criticised "the misuse by the French government" of the Cannes festival "to advance its political agenda against the Islamic Republic". France's "chargé d'affaires" in Tehran was summoned to the ministry in response. During the meeting, the Iranian representative condemned Barrot's comments as "blatant interference" and described the congratulatory message as "irresponsible and provocative", adding that France had "no moral authority at all" to comment on Iran, citing what he characterised as a failure by France to support Palestinians in Gaza. He demanded an official explanation from the French government, to which the envoy replied that he would convey the message to Paris. More than 150 Iranian artists and activists, including Crown Prince in exile Reza Pahlavi and Nobel Peace Prize recipient Narges Mohammadi, were signatories to a public statement applauding Panahi as "an outstanding and courageous Iranian filmmaker" and congratulating his Palme d'Or win as a sign that "committed art and the voice of truth, even amidst the walls of censorship and pressure, can make the world admire these achievements. These achievements are an honor for all Iranians who fight for freedom, justice, and human dignity". Mohammad Rasoulof called the win a "powerful blow to the machinery of repression in the Islamic Republic". Accolades. The film won the Palme d'Or at Cannes. In his award acceptance speech Panahi called for Iranians to unite against the Iranian regime.