Career
In mid-2006, after signing with an agent, Rahim won a part in the hit Canal+ television series La Commune written by Abdel Raouf Dafri.
After a two-line appearance in the 2007 horror movie Inside starring Béatrice Dalle, he went through a gruelling three months of auditioning. After eight callbacks, he landed his breakthrough role.
Rahim also starred in Chinese director Lou Ye's film Love and Bruises. The controversial director had twice been banned by the Chinese government from making movies. The director likely met Rahim at the 2009 Cannes Film Festival, where they were presenting Spring Fever and A Prophet, respectively. Love and Bruises is the adaptation of the banned biography of Jie Liu Falin.
Rahim also starred in Free Men, the biopic about Si Kaddour Benghabrit, the French-Algerian diplomat founder of the Great Mosque of Paris, directed by Ismaël Ferroukhi of Le Grand Voyage fame.
In 2015, Rahim was selected to be on the jury for the Un Certain Regard section of the 2015 Cannes Film Festival. He later starred in the European crime drama television series The Last Panthers.
In 2018, he appeared as Judas in the film Mary Magdalene, written by Helen Edmundson. In the U.S. that year, he had a starring role as FBI agent Ali Soufan in The Looming Tower miniseries.
In 2021, he was nominated for a Golden Globe for portraying Mohamedou Ould Salahi in The Mauritanian, set among detainees at the US camp at Guantanamo. Rahim also served as a jury member at the 74th Cannes Film Festival.
Rahim played Paul Barras in Ridley Scott's Napoleon (2023), starring Joaquin Phoenix, for Apple TV+. He played Ezekiel Sims in Sony's Spider-Man Universe film Madame Web.
In 2023, Rahim was announced to be playing French singer Charles Aznavour in the biopic film Monsieur Aznavour. It premiered in late 2024, for his performance Rahim received his second César Award for Best Actor nomination.
In 2025, Rahim starred as Amin in Alpha by Julia Ducournau. For the role, Rahim lost 20 kilograms, creating a media uproar in France during the release of Monsieur Aznavour.