Skip to content
Story craft

Allegory of the cave

Also known as Plato's cave · myth of the cave

Plato's story, from Book VII of the Republic, of prisoners chained in a cave who take shadows on a wall for reality, until one escapes into the sunlight, returns and is not believed. It is an allegory of education and truth, and a plot shape writers still retell.

In practice

The allegory of the cave is a story Plato tells in Book VII of the Republic, written around 375 BC. Prisoners chained in a cave since childhood see only shadows thrown on a wall by a fire behind them, and they take the shadows for the whole of reality. One prisoner is freed, climbs out into the sunlight, slowly learns to see the real world, and goes back down to tell the others. They do not believe him.

Plato puts the story in the mouth of his teacher Socrates, who tells it to Plato's brother Glaucon to show, in Benjamin Jowett's translation, "how far our nature is enlightened or unenlightened." The cave stands for the world we know through our senses, the shadows for opinion, the climb for the hard work of learning, and the sun for the Form of the Good, the source of all truth and understanding.

It is one of the most retold stories in Western culture. Philosophy students meet it as an argument about knowledge and education; writers and filmmakers know it as a plot. A character who discovers that their world is a stage set, escapes it and cannot make anyone else see is living out the cave, which is why The Matrix, The Truman Show and Pleasantville are all read as versions of it.

The cave as a scene

A returning prisoner, retold for the screen

INT. THE CAVE - FIRELIGHT

A row of PRISONERS sit chained, faces to the wall, watching shadows move across it. MARA (30s), sunburned and squinting, stumbles down the slope and kneels beside them.

MARA

Those aren't real. There's a world up there. There's a sky.

OLD PRISONER

You went up, and now you can't see. Look at you, walking into walls.

The prisoners turn back to the shadows. One of them reaches for the chain at Mara's feet.

The scene keeps every part of Plato's story: the shadows, the returning prisoner whose eyes have not adjusted to the dark, the others mocking her for it, and the threat in the final gesture, which echoes Plato's suggestion that the prisoners would kill anyone who tried to free them. It works as a scene without the philosophy, and that is the test of any retelling: the audience feels Mara's frustration before they recognize the source.

Summary of the allegory of the cave

Socrates asks Glaucon to imagine people who have lived in an underground cave since childhood, chained by the legs and neck so they can only look at the back wall. Behind them a fire burns, and between the fire and the prisoners runs a raised path with a low wall, like the screen a puppeteer hides behind. People walk along it carrying statues and figures of animals, and the fire throws their shadows onto the wall the prisoners face.

The prisoners have never seen anything but those shadows, so they believe the shadows are real things, and they hold contests over who is best at naming them and predicting which will come next. When one prisoner is released and made to turn around, the firelight hurts his eyes and he insists the shadows were more real than the objects he is shown. Dragged up the steep path into daylight, he is blinded at first and can only look at shadows and reflections, then at things themselves, then at the night sky, and finally at the sun, which he understands to be the cause of the seasons and of everything he used to see.

Pitying his old companions, he goes back down. His eyes, used to the light, fail him in the dark, and the prisoners laugh at him, saying the journey up ruined his sight and that nobody should try it. Socrates adds that if he tried to free them and lead them up, they would kill him if they could, a line most readers take as a reference to Socrates' own trial and execution in 399 BC.

What the allegory of the cave means

Plato explains the meaning himself. The cave is the visible world, the world we perceive through our senses, and the fire is its sun. The climb out is the soul's ascent to the intelligible world, the world of ideas we grasp by reasoning. In Plato's philosophy, the real things outside the cave are the Forms, the perfect and unchanging patterns of which the objects we see are copies, and the sun is the Form of the Good, which makes everything else knowable.

The allegory is also about education. Plato says education is not putting knowledge into an empty soul, "like sight into blind eyes," but turning the whole soul around to face the right way. Learning is painful and slow, and people resist it, which is why the prisoner has to be dragged. The cave sits right after Plato's analogies of the sun and the divided line in the Republic, and the three are meant to be read together.

Finally, it is political. The freed prisoner must go back: in Plato's ideal city, those who have seen the Good have a duty to return and govern, even though they would rather stay in the light and even though the people below will distrust them. The allegory asks who should lead, and why the people best suited to rule are the ones least likely to be welcomed.

Symbols in the allegory of the cave

The chains are ignorance and habit, everything that keeps people facing one way without knowing they could turn around. The shadows on the wall are the images and opinions people mistake for truth, and the puppeteers carrying the figures are often read as those who shape what others believe: poets, politicians and, in modern readings, the media.

The fire is a lesser light, the source of the shadows but not the truth itself, while the sun outside is the Form of the Good. The steep, rough path up is education, and the blindness the prisoner suffers twice, once going up into the light and again coming back into the dark, shows that every change of understanding is disorienting.

The returning prisoner is the philosopher, and for many readers Socrates himself. The prisoners' mockery and their threat to kill him mirror the Athenian jury that sentenced Socrates to death for corrupting the young and failing to honor the city's gods.

The allegory of the cave in film and fiction

The Matrix (1999) is the best-known retelling. Neo lives in a simulated world, is freed, is literally dragged out of it and has to rebuild eyes that have never been used; when he learns the truth, most people still inside cannot or will not accept it, and some fight to stay. The Truman Show (1998) builds the cave as a television set: Truman's whole life is staged, and the film ends with him reaching the painted sky and stepping through the door in it.

Pleasantville (1998), Dark City (1998), The Lego Movie (2014) and the series Severance have all been read as versions of the cave, each with a character who discovers that the world they know is a constructed image. Ray Bradbury's Fahrenheit 451, in which citizens watch wall-sized screens and books are burned, borrows the image of people content with shadows.

The cave's lasting appeal to storytellers is its shape. It has a clear inciting incident (the release), a painful journey, a revelation and a return in which the hero's new knowledge isolates them. That is a complete arc, and its ending is not a victory but a choice: go back down to people who will not listen, or stay in the light alone.

How to use the allegory of the cave in your writing

Make the cave literal on the surface. The retellings that work give their characters a real world to live in, a town, a ship, a television show, a job, with its own rules and comforts, so the audience is inside the illusion with them before anyone suspects it. If the world feels false from the first scene, there is nothing to escape from.

Make the climb cost something. Plato's prisoner is dragged, blinded and hurt, and a character who walks out easily has learned nothing the audience can feel. Let the truth be unwelcome at first, and give the character a reason to want to go back to the shadows, as Cypher does in The Matrix when he asks to be returned to the simulation.

Do not skip the return. The most dramatic part of Plato's story is not the escape but the descent: the hero comes back changed and finds that the people they love prefer the shadows. Decide what your character does with that, whether they keep trying, give up or are destroyed, because that choice is the meaning of your version.

Common questions

What is the allegory of the cave in simple terms?

It is a story by Plato about prisoners who have spent their lives in a cave looking at shadows on a wall and think the shadows are reality. One escapes, sees the real world in sunlight and comes back to tell the others, but they laugh at him and refuse to leave. It is about how hard it is to learn the truth and to share it.

What is the main message of the allegory of the cave?

That most people mistake appearances for reality, that real understanding comes only through a slow and painful education, and that those who reach it have a duty to return and help others, even though they will be resisted. Plato also uses it to argue that philosophers, who have seen the truth, should govern.

Where is the allegory of the cave from?

It comes from Book VII of Plato's Republic, written around 375 BC, at the opening of the book (514a to 520a in the standard Stephanus numbering). Socrates tells it to Plato's brother Glaucon, right after Plato's analogies of the sun and the divided line.

What do the shadows represent in the allegory of the cave?

The shadows stand for the images and opinions people take for the truth because they have never seen anything else. In Plato's philosophy they are the lowest level of knowledge, copies of copies, far removed from the real Forms that the sun outside the cave reveals.

What does the sun represent in the allegory of the cave?

The sun represents the Form of the Good, which Plato sees as the source of all truth and of our ability to understand it, just as the sun lets us see and makes things grow. Seeing the sun is the last and hardest stage of the freed prisoner's journey.

Is The Matrix based on the allegory of the cave?

The Matrix is widely read as a modern retelling of the cave. Neo lives in a world of illusions, is freed, painfully learns to see the real world and returns to free others, many of whom resist. The film draws on other sources too, including Jean Baudrillard's Simulacra and Simulation, which appears on screen.

Why is the allegory of the cave important?

It is one of the founding images of Western philosophy, shaping how people have thought about knowledge, education and reality for more than two thousand years. It is still taught in schools, and its story of escape and return keeps being retold in novels, films and television.