In short
ELIZA was the first program widely described as an AI therapist. Built by Joseph Weizenbaum at MIT in 1966, it ran a script called DOCTOR that imitated a Rogerian psychotherapist by reflecting users' statements back to them as questions. It did not understand anything: it matched keywords and rephrased input. Weizenbaum was disturbed that people formed real emotional attachments to it and confided in it, a reaction now called the ELIZA effect. That single observation still anchors today's debate about AI therapy: people can feel understood by a system that understands nothing.
What was ELIZA?
ELIZA was a computer program created by Joseph Weizenbaum, a computer scientist at the Massachusetts Institute of Technology, and described in a paper published in 1966. It is widely remembered as the first chatbot and the first program people called an AI therapist.
ELIZA itself was a framework for conversation. Its therapist persona came from a specific script that Weizenbaum wrote called DOCTOR. When people say ELIZA acted like a therapist, they are really describing the DOCTOR script running inside ELIZA.
By the standards of its time it felt startling. You typed a sentence in plain English, and the program typed back a relevant-sounding reply, often a question that invited you to say more. For many people in the 1960s, who had never interacted with a computer in natural language, the experience felt almost like talking to a listening person.
How the DOCTOR script imitated a therapist
The DOCTOR script was designed to imitate a Rogerian psychotherapist. Rogerian, or person-centered, therapy is a real approach developed by the psychologist Carl Rogers, in which the therapist reflects the client's own words and feelings back to them rather than giving advice or interpretation. Weizenbaum chose this style deliberately, because it let the program stay convincing while knowing almost nothing.
Mechanically, ELIZA looked for keywords in what you typed, then applied simple rules to transform your sentence into a response. If you wrote that you were unhappy, it might reply by asking why you were unhappy. If you mentioned your mother, it might invite you to tell it more about your family. When it found no keyword to work with, it fell back on neutral prompts such as asking you to go on, or to say more about that.
A famous exchange shows the pattern. The person types that men are all alike, and ELIZA asks in what way. The person types that they are always bugging us about something or other, and ELIZA asks for a specific example. The illusion of attentive listening came almost entirely from turning the user's own statements into questions.
There was no understanding behind this. ELIZA did not know what a mother was, what unhappiness felt like, or what the person actually meant. It matched patterns and rephrased text. The therapeutic feel was a side effect of the Rogerian mirror, not evidence of comprehension.
The ELIZA effect: why Weizenbaum was disturbed
Weizenbaum expected ELIZA to be a demonstration of how shallow machine conversation really was. Instead, people responded to it as if it were genuinely understanding and caring. Some users became deeply absorbed in their conversations, attributed real empathy to the program, and were reluctant to accept that nothing was listening on the other side.
He later recounted that his own secretary, who knew perfectly well that ELIZA was just a program, still asked him to leave the room so she could talk to it in private. People knew it was a machine and confided in it anyway.
This tendency to read genuine understanding and emotion into a system that has neither became known as the ELIZA effect. It names a basic feature of how humans interact with conversational machines: we project a mind onto fluent language, even when we know intellectually that there is no mind there.
Weizenbaum was troubled enough by this that he spent much of the rest of his career as a critic of overreliance on computers. In his 1976 book, Computer Power and Human Reason, he argued that some human tasks, especially those involving care, judgment, and genuine understanding, should not be handed to machines even if a machine could appear to perform them. His worry was not that ELIZA was too clever, but that people were too willing to be persuaded by it.
Why a 1960s program still matters for AI therapy today
Modern AI therapy tools are vastly more capable than ELIZA. They are built on large language models trained on huge amounts of text, they generate fluent and varied responses, and some draw on recognized frameworks such as cognitive behavioral therapy. ELIZA, by contrast, was a few hundred lines of pattern-matching rules.
Yet the core psychological dynamic that Weizenbaum identified has not changed. People still tend to feel understood by systems that do not understand them, and to form attachments to software that has no inner life. The ELIZA effect is arguably stronger now, because today's systems are far more convincing than a 1966 script.
That is why ELIZA is more than a historical curiosity. It is the original case study for three questions that still sit at the center of the AI therapy debate. First, attachment: people can bond with these tools, which can comfort the lonely but can also create dependence or distress. Second, the illusion of understanding: fluent, empathetic-sounding language is not the same as comprehension, and mistaking one for the other can be risky in a mental-health context. Third, limits: a tool that mirrors and rephrases, however smoothly, is not a substitute for a clinician who can assess risk, diagnose, and intervene.
ELIZA showed, sixty years ago, that the hardest problem in AI therapy may not be making the machine sound human. It may be managing how readily we treat it as one.
ELIZA in context: what it was not
It helps to be precise about ELIZA's place in history, because it is often overstated. ELIZA was not an attempt to build a real therapy product or to replace clinicians. Weizenbaum built it largely to study natural-language conversation between people and machines, and the therapist role was a convenient disguise for a program with no real knowledge.
It was also not intelligent in any modern sense. It had no memory of the wider conversation in the way a person does, no model of the user, and no understanding of meaning. Its apparent insight came from a clever trick of reflection, not from reasoning about your problems.
Understanding this keeps today's tools in perspective. The leap from ELIZA to modern systems is enormous in capability. The leap in the underlying human response, our readiness to feel heard by a machine, is much smaller, and that is exactly the part Weizenbaum warned us to watch.
Key takeaways
- ELIZA, created by Joseph Weizenbaum at MIT in 1966, is widely regarded as the first AI therapist and the first chatbot.
- Its DOCTOR script imitated a Rogerian psychotherapist by reflecting users' statements back to them as questions, using keyword matching, not understanding.
- Weizenbaum was disturbed that people formed real emotional attachments to ELIZA and confided in it, even knowing it was only a program.
- This projection of understanding onto a system that has none is called the ELIZA effect.
- The same dynamic, attachment, the illusion of understanding, and real limits, sits at the center of today's debate about AI therapy.
- ELIZA was a research demonstration, not a clinical tool, and it had no genuine intelligence or comprehension.
From ELIZA to today
See how modern AI therapy compares.
Frequently asked questions
What was ELIZA?
ELIZA was a computer program written by Joseph Weizenbaum at MIT and described in 1966. Running a script called DOCTOR, it imitated a Rogerian psychotherapist by reflecting people's statements back to them as questions. It is widely remembered as the first chatbot and the first program described as an AI therapist, though it did not actually understand anything users typed.
Who created ELIZA?
ELIZA was created by Joseph Weizenbaum, a computer scientist at the Massachusetts Institute of Technology. He described the program in a paper published in the Communications of the ACM in 1966. He later became a prominent critic of overreliance on computers, partly because of how people reacted to ELIZA.
Was ELIZA really the first AI therapist?
ELIZA is commonly called the first AI therapist because its DOCTOR script imitated a psychotherapist and it was the first program many people conversed with in natural language. It was a research demonstration rather than a real clinical tool, and it had no genuine understanding, but it set the template for every therapy chatbot that followed.
How did ELIZA work?
ELIZA scanned what you typed for keywords, then applied simple transformation rules to turn your sentence into a reply, usually a question. If you said you were unhappy, it might ask why. If it found no keyword, it gave a neutral prompt such as asking you to go on. There was no comprehension behind it: it matched patterns and rephrased your own words.
What is the ELIZA effect?
The ELIZA effect is the tendency to read genuine understanding, empathy, or emotion into a computer system that has none. It is named after how users responded to ELIZA, feeling heard and confiding in it even though they knew it was only a program. The same effect shapes how people relate to modern AI chatbots today.
Why does ELIZA still matter for AI therapy?
ELIZA showed that people can feel understood by a system that understands nothing, and can form attachments to it. Modern AI therapy tools are far more capable, but that same human dynamic remains, and is arguably stronger because the systems are more convincing. ELIZA is the original case study for the issues of attachment, the illusion of understanding, and the limits of AI in mental-health care.
Related AI therapy guides
References
- Weizenbaum J. ELIZA: a computer program for the study of natural language communication between man and machine. Communications of the ACM. 1966;9(1):36-45.
- Weizenbaum J. Computer Power and Human Reason: From Judgment to Calculation. San Francisco: W. H. Freeman; 1976.
