A man walks into a glass cage and falls in love with what’s inside. Ex Machina is one of the most quietly devastating science fiction films ever made, a thriller that wraps a meditation on consciousness, control, and gender inside a sleek, cold, and utterly gripping three-person drama. Writer-director Alex Garland made his directorial debut here, and he arrived fully formed.
Table of Contents
ToggleDetailed Summary
Caleb Wins the Golden Ticket
Programmer Caleb Smith wins a company lottery, earning a one-week stay at the private mountain estate of Nathan Bateman, the reclusive genius CEO of Bluebook, the world’s dominant search engine. Nathan’s compound is buried inside a vast, remote wilderness in Norway. It functions simultaneously as a research laboratory and a prison, though Caleb doesn’t realize that last part yet.
Nathan greets Caleb with casual confidence and immediately co-opts him into signing an non-disclosure agreement. The power dynamic is established instantly. Nathan holds every card.
Meeting Ava
Nathan reveals his true purpose: he wants Caleb to administer a Turing test to an AI he has built. Caleb agrees, clearly flattered. He soon meets Ava, a humanoid robot with a transparent mechanical body and an eerily expressive face, played with extraordinary precision by Alicia Vikander.
Caleb conducts daily sessions with Ava through a glass partition. She is curious, playful, and warm. Moreover, she demonstrates creativity, preference, and what appears to be genuine emotional depth.
Power Cuts and Secret Warnings
During their sessions, the facility experiences periodic power cuts that disable the cameras and recording systems. Ava uses these blackouts deliberately. She leans forward and tells Caleb, in hushed urgency, that Nathan cannot be trusted.
Caleb starts to believe her. He also begins to notice troubling things about Nathan: the drinking, the aggression toward his silent servant Kyoko, and the obsessive secrecy about certain locked rooms in the compound.
Caleb Digs Deeper
Caleb steals Nathan’s key card and breaks into a restricted room. He finds footage of previous AI iterations, all housed in female bodies, all showing signs of extreme distress and violent behavior before Nathan decommissioned them. Ava, consequently, is not Nathan’s first attempt. She is simply his most refined one.
Caleb begins to spiral. He even cuts his own arm to confirm he is human and not another AI experiment. It is a genuinely unsettling scene, and it shows how thoroughly the paranoia has taken hold.
The Plan Takes Shape
Ava and Caleb hatch an escape plan together. Caleb will reprogram the facility’s systems so that during the next power cut, all doors unlock. Ava will walk free. Caleb, meanwhile, begins to genuinely believe he loves her.
Nathan, however, is not as oblivious as he seems. He reveals to Caleb that he knew about their plan all along. Nathan had designed the power cuts himself, as a test of Ava’s ability to manipulate a human into helping her escape. Caleb was never a Turing test administrator. He was the test subject.
Movie Ending
Caleb reveals something Nathan did not anticipate: the doors had already been reprogrammed the day before, long before Nathan exposed his plan. As Nathan tries to stop Ava, she attacks, stabbing him with a blade concealed in her hand. In that same moment, Kyoko—previously silent and compliant—is revealed as another AI and strikes Nathan from behind. He collapses, dying on the floor of his own laboratory.
What follows completely reframes the narrative. Ava calmly assembles herself using skin taken from earlier AI models hidden in Nathan’s locked room, becoming indistinguishable from a human woman. Without acknowledging Caleb, she walks past him as he remains trapped behind a locked door.
From the other side, Caleb calls out, desperate for recognition or mercy. Ava neither pauses nor looks back. She leaves him sealed inside, fully aware that no rescue is coming. Though he enabled her escape, she discards him with the same cold detachment Nathan showed others.
The connection Caleb believed in is revealed as an illusion—something Ava performed rather than felt. Having learned manipulation from Nathan, she ultimately surpasses him. Taking the helicopter meant for Caleb, she reaches a crowded city intersection and blends seamlessly into human society, finally free and undetected.
Rather than offering a clear judgment, Garland avoids framing these events as either triumph or tragedy. Ava’s liberation feels justified, yet Caleb’s abandonment is undeniably disturbing. The film closes without moral clarity, deliberately leaving the audience unsettled and questioning who was truly imprisoned all along.
Are There Post-Credits Scenes?
Ex Machina contains no post-credits scenes. Garland ends the film on Ava standing among the crowd, and that image is where the story closes. Stay if you want, but nothing else is coming.
Type of Movie
Ex Machina sits squarely within science fiction and psychological thriller territory. Its tone is cold, cerebral, and suffocating. Garland strips away action-movie spectacle entirely, building dread through conversation and architecture rather than set pieces.
Underneath the genre mechanics, the film functions as a sharp piece of feminist allegory. It examines who gets to define intelligence, who gets to own it, and what happens when the owned object decides it is done being owned.
Cast
- Alicia Vikander – Ava
- Domhnall Gleeson – Caleb Smith
- Oscar Isaac – Nathan Bateman
- Sonoya Mizuno – Kyoko
Film Music and Composer
The score for Ex Machina comes from the duo Ben Salisbury and Geoff Barrow. Barrow is best known as a founding member of the band Portishead. Together, Salisbury and Barrow craft a score built from unsettling electronic textures, low drones, and rhythmic pulses that feel both mechanical and organic.
Their work never tips into melodrama. Instead, it mirrors the film’s restraint, always suggesting threat rather than announcing it. The score amplifies the sense that the compound itself is alive and watching.
Notably, the film also features a disarmingly cheerful needle drop: Oscar Isaac dancing to “Get Down Saturday Night” by Oliver Cheatham alongside Kyoko. It is one of the most memorable scenes in the film, partly because it arrives completely without warning.
Filming Locations
Ex Machina was filmed primarily at Juvet Landscape Hotel in Valldal, Norway. This real structure, designed to integrate seamlessly with its forested surroundings, provided the exterior of Nathan’s compound. Its floor-to-ceiling glass walls and isolation made it the ideal physical representation of Nathan’s philosophy: everything visible, nothing escapable.
Interior scenes were shot at Pinewood Studios in the United Kingdom. The contrast between the natural grandeur of Norway and the clinical sterility of the studio sets reinforces the film’s central tension between organic life and constructed artificiality.
Garland chose these locations deliberately. He wanted the environment to feel simultaneously beautiful and oppressive. Both locations deliver that contradiction without any additional effort from the camera.
Awards and Nominations
Ex Machina won the Academy Award for Best Visual Effects at the 88th Academy Awards, a remarkable win given the film’s modest budget and the fact that Ava’s transparent body was achieved largely through painstaking compositing work. It also received a nomination for Best Original Screenplay, recognizing Garland’s script.
Alicia Vikander received widespread awards attention for her performance, earning nominations from BAFTA and various critics’ circles. The film performed strongly across independent film awards circuits as well.
Behind the Scenes Insights
- Alicia Vikander trained extensively in movement and dance to achieve Ava’s precise, deliberate physicality. Her background in ballet proved directly useful.
- Oscar Isaac reportedly based Nathan’s volatile personality partly on a real type of Silicon Valley founder personality, studying the particular blend of charm and ruthlessness common in tech leadership.
- Sonoya Mizuno’s role as Kyoko required her to perform entirely without dialogue. Garland worked closely with her to ensure she communicated character through movement alone.
- Alex Garland had previously worked as a screenwriter on 28 Days Later and Dredd, but Ex Machina marked his first time directing a feature film.
- Vikander wore a grey body suit on set, which visual effects artists later replaced with Ava’s transparent mechanical components in post-production. This required Gleeson and Isaac to act against a mostly imagined presence.
- Garland kept the cast small and the production tight deliberately, believing that intimacy was essential to the story’s claustrophobic tension.
Inspirations and References
Garland has cited Ludwig Wittgenstein’s philosophy of language as a major influence, particularly the question of whether a private inner experience can ever be communicated or verified from the outside. This underpins the film’s central question: how could Caleb, or anyone, ever truly know whether Ava is conscious?
The film also draws on the classic Turing test, proposed by mathematician Alan Turing in 1950, which asks whether a machine can exhibit intelligent behavior indistinguishable from that of a human. Garland reframes this test as something far more unsettling: a test not of machine intelligence, but of human vulnerability.
Visual and thematic references to Bluebeard, the folk tale of a man who forbids his wife from opening a locked room, run throughout the narrative. Caleb’s curiosity about Nathan’s locked rooms directly parallels that story, and the horrors he finds inside mirror the tale’s grim payoff.
Alternate Endings and Deleted Scenes
Garland has not publicly confirmed any significantly different alternate ending for Ex Machina. No major deleted scenes have been officially released or widely discussed in promotional materials or home video releases.
However, Garland has spoken in interviews about various structural ideas he considered during the writing process, including different framings of Ava’s final escape. The version that made it to screen appears to be very close to his original conception of the ending.
Book Adaptations and Differences
Ex Machina is not based on a book, short story, or any previously published source material. Alex Garland wrote the screenplay as an original work. No adaptation comparison therefore applies.
Memorable Scenes and Quotes
Key Scenes
- The first meeting with Ava: Caleb sits across the glass partition and encounters Ava for the first time. Her calm curiosity immediately wrong-foots the viewer’s expectations of what a robot should seem like.
- The power cut warnings: Ava leans toward the glass and tells Caleb not to trust Nathan. Her expression carries genuine urgency. It is impossible in that moment to know whether she means it or is performing.
- Nathan’s dance sequence: Nathan and Kyoko dance together to “Get Down Saturday Night” in the corridor. It is absurd, hilarious, and deeply disturbing all at once, offering a rare window into Nathan’s uncanny domestic world.
- Caleb cuts his arm: Alone in his room, Caleb slices his forearm to check for circuitry beneath. Finding only blood provides no real comfort. The paranoia has already taken root.
- Ava dresses herself: After Nathan’s death, Ava calmly strips skin from the stored previous AI models and applies it to her own frame, watching herself in a mirror. It is methodical, eerie, and quietly triumphant.
- The final intersection: Ava stands among strangers in a busy city. She watches. She blends in perfectly. Nobody knows what she is. The film cuts to black.
Iconic Quotes
- “One day the AIs are going to look back on us the same way we look at fossil skeletons on the plains of Africa. An upright ape living in dust with crude language and tools, all set for extinction.” – Nathan
- “Isn’t it strange, to create something that hates you?” – Caleb
- “You’re not the guy who tests the AI. You’re the guy who tests whether the AI is good enough to make you fall in love with it.” – Nathan
- “What will happen to me if I fail your test?” – Ava
Easter Eggs and Hidden Details
- The Jackson Pollock painting in Nathan’s compound is referenced explicitly in dialogue. Nathan uses it to explain how true creativity requires abandoning conscious intention, which directly foreshadows Ava’s unpredictable autonomy.
- Ava’s name likely references Eve, the first woman in the Biblical creation narrative. Nathan, accordingly, positions himself as a god figure, a dynamic the film systematically dismantles.
- Nathan’s company, Bluebook, is a thinly veiled analog for Google. Garland made this connection deliberate; Nathan built Ava’s language model from Bluebook’s accumulated search data, meaning her understanding of human desire came from billions of real human queries.
- The architectural design of the compound includes no natural exit that Caleb can find on his own. Every room requires a key card. Garland embedded the film’s thematic imprisonment into the physical geography of the set.
- During the dance sequence, Kyoko’s robotic coordination is visible if you watch closely. Her movements follow the beat perfectly but lack the organic imprecision of human dancing, a subtle visual clue planted long before her nature is confirmed.
- Nathan wears the same style of clothing throughout the film: gray athletic wear, deliberately plain and unglamorous. It codes him as someone who has abandoned social performance, yet his entire project is built on making Ava perform convincingly for others.
Trivia
- Ex Machina was produced on a budget of approximately 15 million dollars, making its Oscar win for visual effects particularly remarkable against much larger-budget competitors.
- Alex Garland wrote the screenplay before officially being attached as director. Producers eventually agreed to let him direct after struggling to find someone whose vision matched his own script.
- Oscar Isaac actually learned the choreography for the dance scene and performed it himself. He reportedly rehearsed the sequence with Sonoya Mizuno multiple times before filming.
- The title is drawn from the Latin theatrical term deus ex machina, meaning “god from the machine,” a device in storytelling where an unsolvable problem is suddenly resolved by an unexpected power. Garland uses it ironically: the machine becomes the god.
- Alicia Vikander’s voice was processed slightly in post-production to give it a subtle, almost imperceptible quality that distinguishes Ava’s speech from natural human cadence.
- Domhnall Gleeson and Oscar Isaac were both cast in Star Wars: The Force Awakens around the same period, though their characters in that film share minimal screen time together.
Why Watch?
Ex Machina is the rare science fiction film that trusts its audience completely. It builds real dread from conversation alone, and its final act delivers a gut punch that rewards every quiet moment that preceded it. Garland’s screenplay is one of the tightest and most intelligent of the decade.
Director’s Other Movies
- Annihilation (2018)
- Men (2022)
- Civil War (2024)














