
Think inside the box Four mathematicians are imprisoned in a shrinking room; with the walls closing in, they must try anything to escape this fatal puzzle.
Does Fermat’s Room have end credit scenes?
No!
Fermat’s Room does not have end credit scenes. You can leave when the credits roll.
Explore the complete cast of Fermat’s Room, including both lead and supporting actors. Learn who plays each character, discover their past roles and achievements, and find out what makes this ensemble cast stand out in the world of film and television.

Víctor Benjumea
Gas Station Attendant

Alicia Fernández
Girl

Lluís Homar
Hilbert

Federico Luppi
Fermat

Elena Ballesteros
Oliva

Ariadna Cabrol

Santi Millán
Pascal

Mar del Hoyo
Oliva's friend

Juanma Falcón
Boy

Alejo Sauras
Galois

San Yélamos

Helena Carrión
Bibliotecaria

Núria Badia
Recepcionist

Josep Minguell
Doctor
Discover where to watch Fermat’s Room online, including streaming platforms, rental options, and official sources. Compare reviews, ratings, and in-depth movie information across sites like IMDb, TMDb, Wikipedia or Rotten Tomatoes.
Challenge your knowledge of Fermat’s Room with this fun and interactive movie quiz. Test yourself on key plot points, iconic characters, hidden details, and memorable moments to see how well you really know the film.
Who is the mysterious host that invites the mathematicians to the gathering?
Read the complete plot summary of Fermat’s Room, including all major events, twists, and the full ending explained in detail. Explore key characters, themes, hidden meanings, and everything you need to understand the story from beginning to end.
A mysterious host, going by the name Fermat Federico Luppi, invites a handful of the nation’s top mathematicians to a private gathering. Each participant must solve a puzzle to earn an alias drawn from famous mathematicians or philosophers, and they are strictly forbidden to reveal their true identities. They are instructed to arrive at a precise place and time, alone and without a cell phone, to wrestle with what is described as “the greatest enigma.”
At the appointed hour, four individuals converge at a riverbank: Galois [Alejo Sauras], an earnest young man; Hilbert [Lluís Homar], an older, calculating man; Pascal [Santi Millán], a modest, quick-witted youth; and Oliva [Elena Ballesteros], a stylish and perceptive woman. At dusk, a car on the far side of the river flashes its headlights, signaling the start of a strange journey. A PDA appears in the car, offering GPS coordinates and travel instructions that guide them to an abandoned warehouse. Inside, a back room has been transformed into an elegant parlor, with a large dining table set for five and shelves of books that give the space a timeless, academic air.
An elderly man enters and announces himself as Fermat. The group spends time mingling and discussing academia, mathematics, and the puzzles ahead. Fermat mentions a daughter and leaves in a rush after a troubling phone call he can’t fully interpret, forgetting his coat in the scramble. Fermat’s wallet falls from a pocket, and Pascal notices a photograph of a girl inside.
The PDA presents another puzzle with a one-minute timer. Hilbert, Oliva, and Galois struggle to meet the deadline, while Pascal breezes through the challenge, dismissing it as an old cliché. The walls of the room begin to close in as the time slips away, and the group realizes they are trapped. The device continues to flash new puzzles, and as they work, tensions surface: Oliva and Galois share a past, including Oliva’s betrayal of Galois with Hilbert.
They stack the furniture to block the moving walls, but the furniture breaks as the room tightens around them. Pascal discovers a sales order for four industrial presses, hinting that the pressure of the room is designed to crush them each time a puzzle is missed. The room feels like a trap with no escape, intensifying the sense that every action matters.
As the pressure mounts, the group learns that Oliva and Galois had a romantic history and that Oliva cheated on him with Hilbert. Their attempts to survive intensify, and the mystery surrounding Fermat deepens. There are moments where Pascal suspects Fermat of a ruinous revenge, especially after recognizing the girl in the wallet’s photo as someone he severely injured with his car. The revelation implies a broader vendetta at play, turning the other guests into collateral victims unless they uncover the truth.
Further clues emerge: an invitation addressed to Fermat with different instructions reveals that Fermat is not the true host but another pawn in a larger game. If this is revenge, the killer must be present in the room with them, unseen.
Galois finally confesses that his celebrated claim to have proven Goldbach was a lie, staged to win Oliva back. Hilbert then reveals his true role: the mastermind behind the entire scheme. He confesses a lifelong obsession with proving Goldbach and admits his jealousy toward Galois’s supposed breakthrough, which spurred him to orchestrate this deadly contest. Fermat, instead, was a decoy whose fate would be sealed by a silent poison gas released in his car.
Hilbert announces that he has indeed “proved” Goldbach, and he hands a folder containing his supposed proof to Galois. The tension peaks as Galois acknowledges the brilliance of Hilbert’s work, yet the revelation comes at a harrowing cost. The trio pieces together a chilling realization: the ages of the people named Oliva, Galois, Fermat, and Pascal match the ages of the current guests, while the real Hilbert died at 81. It becomes clear that Hilbert had an escape plan all along and did not intend to die with them. In a last act of defiance, they discover a hidden wall panel and escape, taking with them Hilbert’s supposed proof.
Returning to their cars, Galois grapples with the dilemma of publishing the solution under Hilbert’s name or under his own. Pascal seizes the folder and scatters the pages along the river, delivering a blunt verdict: the world remains the same with or without the proof, and the pursuit itself has proven more corrosive than any final vindication.

Coming soon on iOS and Android
From blockbusters to hidden gems — dive into movie stories anytime, anywhere. Save your favorites, discover plots faster, and never miss a twist again.
Sign up to be the first to know when we launch. Your email stays private — always.
Explore the mobile appWatch official trailers, exclusive clips, cast interviews, and behind-the-scenes footage from Fermat’s Room. Dive deeper into the making of the film, its standout moments, and key production insights.
Discover the central themes, ideas, and keywords that define the movie’s story, tone, and message. Analyze the film’s deeper meanings, genre influences, and recurring concepts.
Explore the various alternative titles, translations, and other names used for Fermat’s Room across different regions and languages. Understand how the film is marketed and recognized worldwide.
Browse a curated list of movies similar in genre, tone, characters, or story structure. Discover new titles like the one you're watching, perfect for fans of related plots, vibes, or cinematic styles.
What's After the Movie?
Not sure whether to stay after the credits? Find out!
Check out our other apps:
SAT Sphere
Build confidence for the Digital SAT.
Mori Atlas
Discover wild places worth protecting.
Luntero
Search smarter for a home in Amsterdam.
Plot Explained
Unravel movie endings and hidden clues.
Pokechamp
Dive into Pokémon data and battle logic.
Driving Theory
Get ready for your European theory test.
Movie Dust
Plan your next cinema trip with ease.
Musemap
Find art and culture as you travel.
Selkobase
Compare credentials before committing.
Local Manual
Turn an unfamiliar country into practical next steps.
Lernavi
Compare school systems before your next move.
GymRoam
Find a workout stop wherever your plans take you.
Explore Our Movie Platform
New Movie Releases (2026)
Famous Movie Actors
Top Film Production Studios
Movie Plot Summaries & Endings
Major Movie Awards & Winners
Best Concert Films & Music Documentaries
Movie Collections and Curated Lists
© 2026 What's After the Movie. All rights reserved.
Privacy Policy