Fermat’s Room

Fermat’s Room

Year: 2007

Runtime: 88 mins

Language: Spanish

Directors: Luis Piedrahita, Rodrigo Sopeña

MysteryThrillerThrillers and murder mysteriesTwisted dark psychological thrillerShow All…

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.

Warning: spoilers below!

Haven’t seen Fermat’s Room yet? This summary contains major spoilers. Bookmark the page, watch the movie, and come back for the full breakdown. If you're ready, scroll on and relive the story!

Timeline – Fermat’s Room (2007)

Trace every key event in Fermat’s Room (2007) with our detailed, chronological timeline. Perfect for unpacking nonlinear stories, spotting hidden connections, and understanding how each scene builds toward the film’s climax. Whether you're revisiting or decoding for the first time, this timeline gives you the full picture.

1

Invitation to solve the puzzles

A stranger using the alias Fermat invites several top mathematicians to attend a convention. To accept, each participant must solve a math puzzle to earn their alias. Once solved, they are forbidden to reveal their true identities and are told to arrive alone with no cell phone. The invitation promises a chance to confront 'the greatest enigma'.

Evening
2

Convergence at the riverbank

At dusk, four individuals converge at a riverbank: Galois, Hilbert, Pascal, and Oliva, each under an alias. They receive a PDA with GPS coordinates and travel instructions that direct them to an abandoned warehouse. They are told to arrive alone, with no devices, to solve the puzzles and begin the staged event.

Dusk Riverbank
3

Warehouse arrival and parlor setup

The car from the riverbank guides them to an abandoned warehouse where a back room has been prepared as an elegant parlor for five. An elderly man enters and introduces himself as Fermat. The room is stocked with books and a large dining table, setting a formal, game-like atmosphere for the night.

Evening Abandoned warehouse – back room
4

Dinner and Fermat's distress

The group socializes and discusses academia while dining. Afterward, Fermat receives a phone call about his daughter, whom he claims is in a coma; the news seems dire but its accuracy is unclear. He leaves in a hurry, forgetting his coat, and the wallet with a photo falls to the floor.

Evening Warehouse back room
5

Wallet and photo reveal a clue

Pascal picks up Fermat's wallet and notices a photo of a girl, hinting at a personal motive or a past they don't know. The discovery adds tension as the group's identities begin to feel more precarious. The PDA still displays puzzles that must be solved under pressure.

Evening Warehouse back room
6

First puzzle deadline and the moving walls

The PDA displays a math puzzle with a one-minute time limit. Hilbert, Oliva, and Galois fail to solve it in time, while Pascal quickly provides the solution, dismissing it as an old cliché. The walls of the room begin to contract, revealing a trap and making escape impossible while the puzzle continues to spawn new challenges.

One minute after prompt Back room
7

The room becomes a trap with presses

The group realizes the room is configured with four industrial presses that will compress the space as punishment for missed puzzles. They pile the furniture to resist, but the furniture breaks as the walls continue to close in. Panic and strategic tension rise as they search for a way out.

During the trap Back room
8

Past romance and jealousy revealed

As the pressure mounts, Oliva and Galois's past romance is exposed, and Oliva is revealed to have cheated on Galois with Hilbert. The revelation adds a personal dimension to the competition, intensifying insecurities and distrust among the occupants.

During Back room
9

Fermat is a diversion; mastermind in the room

The group discovers that Fermat is not their host but a distraction, and that the true mastermind must be among them. They conclude that someone in the same room is orchestrating the deadly game. The danger now feels intimate, as there are no external observers or cameras.

During Back room
10

Hilbert's reveal and the Goldbach pressure

Galois admits that his earlier claim about proving Goldbach was a fabrication to win Oliva, while Hilbert declares himself the mastermind behind the trap. He also boasts that he has spent a lifetime chasing Goldbach, and Fermat was merely a diversion to keep him focused on vengeance. The room tenses as accusations sharpen blades of trust and betrayal.

During Back room
11

The proof, the strike, and the age clue

Hilbert proclaims a completed proof of Goldbach and hands a folder to Galois. Galois concedes that Hilbert's approach is brilliant, but in a fit of frustration he strikes Hilbert, rendering him unconscious. A critical age clue reveals that the real Hilbert died at 81, indicating the present occupant is a copy or impersonation, and suggesting there was always a hidden escape plan.

Evening Back room
12

Escape and the ethical choice about the proof

The trio discovers a breakable wall panel and escapes with Hilbert's proof. They question whether releasing the solution under Hilbert's name would let him 'win' or whether releasing it under Galois's name would be ethical but solve their predicament. Pascal grabs the folder and scatters the pages on the river, remarking that the world remains the same with or without the proof.

Night Back room to river

Last Updated: October 09, 2025 at 16:28

Mobile App Preview

Coming soon on iOS and Android

The Plot Explained Mobile App

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.

Unlock the Full Story of Fermat’s Room

Don't stop at just watching — explore Fermat’s Room in full detail. From the complete plot summary and scene-by-scene timeline to character breakdowns, thematic analysis, and a deep dive into the ending — every page helps you truly understand what Fermat’s Room is all about. Plus, discover what's next after the movie.

Fermat’s Room Summary

Read a complete plot summary of Fermat’s Room, including all key story points, character arcs, and turning points. This in-depth recap is ideal for understanding the narrative structure or reviewing what happened in the movie.

Fermat’s Room Summary

Characters, Settings & Themes in Fermat’s Room

Discover the characters, locations, and core themes that shape Fermat’s Room. Get insights into symbolic elements, setting significance, and deeper narrative meaning — ideal for thematic analysis and movie breakdowns.

Characters, Settings & Themes in Fermat’s Room

Fermat’s Room Spoiler-Free Summary

Get a quick, spoiler-free overview of Fermat’s Room that covers the main plot points and key details without revealing any major twists or spoilers. Perfect for those who want to know what to expect before diving in.

Fermat’s Room Spoiler-Free Summary

More About Fermat’s Room

Visit What's After the Movie to explore more about Fermat’s Room: box office results, cast and crew info, production details, post-credit scenes, and external links — all in one place for movie fans and researchers.

More About Fermat’s Room

Similar Movies to Fermat’s Room

Discover movies like Fermat’s Room that share similar genres, themes, and storytelling elements. Whether you’re drawn to the atmosphere, character arcs, or plot structure, these curated recommendations will help you explore more films you’ll love.