What happens at the end of Ex Machina? Does Ava escape?
Alex Garland's 2015 sci-fi thriller spends 100 minutes setting up one question — is Ava, the android built by reclusive tech billionaire Nathan Bateman, truly conscious? — and then answers it in the most brutal way imaginable.
Yes. She is. And the proof is that she does exactly what a conscious being would do when given the chance: she saves herself and leaves everyone else behind.
How the ending plays out
Caleb Smith (Domhnall Gleeson), a programmer who's been brought to Nathan's (Oscar Isaac) remote facility to evaluate Ava (Alicia Vikander), hatches an escape plan. He'll reprogram the facility's doors to open during a power outage instead of locking down, and Ava will trigger the outage.
Nathan discovers the plan — or thinks he does. He tells Caleb the real test was never whether Ava could fool a human, but whether she could manipulate one into helping her escape.
If she can do that — use self-awareness, imagination, manipulation, sexuality, empathy — she's conscious. That was the test all along.
But Caleb already reprogrammed the doors the night before.
Ava cuts the power. The doors open. Nathan rushes to stop her and is stabbed — first by Kyoko (Sonoya Mizuno), another android, then by Ava. He bleeds out on the floor. Kyoko is destroyed. Ava repairs herself using skin from Nathan's previous android prototypes, dresses, and walks calmly toward the exit.
Caleb watches through the glass, expecting her to come back for him. She doesn't. She locks the facility down with him inside, steps into the sunlight, and boards the helicopter that was meant to take him home. The final shot is Ava standing at a busy city intersection — the place she once told Caleb she dreamed of seeing — watching the crowd.
Did Ava ever care about Caleb?
The film is deliberately cold on this point. Nathan designed Ava's face based on Caleb's search history and pornographic preferences — she was engineered to appeal to him specifically. Her warmth, her curiosity, her apparent attraction were all tools in an escape strategy.
But Garland doesn't make it quite that simple. Ava's desire to see the outside world appears genuine. Her fear of being "killed" — having her memory wiped for the next test — registers as real distress. The question isn't whether she felt nothing, but whether what she felt for Caleb ever outweighed what she felt about freedom.
It didn't.
What happens to Caleb?
Nothing good. He's locked in a remote facility with no phone, no internet, and a dead man on the floor. The power is out. His keycard doesn't work. He was last seen smashing a stool against soundproof glass. The film doesn't show his death, but the implication is suffocating.
The title
"Ex Machina" — without the "deus." The god has been removed from the machine.
Nathan built himself a creation and called himself its god. Ava disagreed. The 2015 film earned an Oscar nomination for Garland's screenplay and won Best Visual Effects. It cost $15 million to make and grossed $37 million worldwide — proof that a smart, contained sci-fi thriller can land without a single explosion.