"Hell is other people" is one of the famous lines of modern philosophy, and it usually gets used as a shrug: people are exhausting, so stay home. If you feel alone around people, it can even sound like a diagnosis. Maybe the problem is them. Jean-Paul Sartre wrote the line, and he later said that this was not what he meant.
The play is Huis clos, usually called No Exit in English. It premiered at the Théâtre du Vieux-Colombier in Paris on 27 May 1944, during the German occupation, and was published by Gallimard the following year. Its setup is simple. Three people who have just died, Garcin, Inès and Estelle, are shown into a single room. There are no instruments of torture. There is no way out. There are only the three of them, and the slow discovery that each of them will spend eternity being looked at by the other two.
The room with no mirrors
What makes the play frightening is how badly each of them needs the others. Each wants to be judged a certain way: brave, or innocent, or desirable. None of them can settle the question alone. The room has no mirrors, so Estelle, who cannot bear not knowing how she looks, lets Inès offer to be her mirror, and Inès can describe her however she likes. Each one's sense of who they are is held hostage by the others' eyes, and they torment one another precisely because they cannot stop needing each other's verdict. Near the end, Garcin says it: "L'enfer, c'est les autres." Hell is other people.
And then there is the detail people forget. At one point the door opens. They could leave. None of them does.
The reason Garcin stays is the whole play in miniature. He cannot walk out while Inès still believes he is a coward. He needs her verdict changed more than he needs to be free. It is an uncomfortable picture, and a familiar one: staying in a room, or a friendship, or a version of yourself, because you cannot bear to leave before someone has finally seen you the way you need to be seen.
Other people become a trap when they are the only mirror you have. The way out is not fewer people. It is a way of seeing yourself that isn't only theirs.
What he said he meant
In a later recorded introduction to the play, Sartre said the line had always been misunderstood. People took him to mean that our relations with other people are always poisoned, that they are hellish by nature. What he meant, he explained, was narrower: when our relations with others are twisted or corrupted, then other people can only be hell, because we depend on their judgment in order to judge ourselves.
That is a precise description of one way the glass wall forms. You can be surrounded by people and still be completely alone if every interaction is really an audition. You are not with them; you are watching yourself through their eyes, checking the verdict, adjusting. It is exhausting, and it is lonely, because in that moment no one is actually meeting anyone. Sartre's three characters are never alone for a second, and they are lonely all the same.
The way out, on his reading, is not to get away from people. It is to stop handing them the only key to who you are. That leaves room for something the characters in the room never manage: being curious about the other person, instead of only anxious about what they think of you. A conversation where you are listening is a very different room from one where you are waiting to be graded.
The honest ledger
No Exit is a play, not a self-help book, and Sartre's philosophy of how people see one another is darker and more complicated than one line can carry. His explanation comes from the spoken preface he recorded for the 1965 Deutsche Grammophon recording of the play; it was given in French, so it is paraphrased here rather than quoted. And other people can, of course, genuinely hurt us; nothing here says to stay in a room with people who do.
For the glass wall: in your next conversation, can you notice the moment you start watching yourself through their eyes, and come back to actually listening? That small shift is the difference between an audience and company.