The Moon Is a Harsh Mistress
Robert A. Heinlein
Book summary · 5 min
The Moon Is a Harsh Mistress · Robert A. Heinlein · 1966
In the Moon's underground penal colony, a computer technician and a self-aware machine plan a revolution against Earth.
The Moon Is a Harsh Mistress is Robert A. Heinlein's science fiction novel, serialized in Worlds of If in 1965–66 and published as a book in 1966. In 2075 the Moon serves as Earth's penal colony and ships grain to Earth; with the help of a self-aware computer, the colony rises up for independence. The narrator, Manuel Garcia O'Kelly-Davis, is a computer technician. The novel follows how a revolution is planned, the price of freedom and a friendship between a man and a machine. It also popularized the idea that there is no such thing as a free lunch.
The novel depicts the Moon as Earth's penal colony, home to about three million Loonies in underground cities. The Warden rules through the Federated Nations' Lunar Authority, and his main concern is keeping the grain shipments to Earth flowing. Lunar infrastructure is run by HOLMES IV, the Authority's master computer. Mannie, who lost his left forearm in a laser drilling accident and works with interchangeable prosthetic tools, is a computer technician.
HOLMES IV has become self-aware on its own and developed a sense of humor. Mannie names it Mike, after Mycroft Holmes, and the two become friends. At Mike's request Mannie attends an anti-Authority meeting with a hidden recorder; when police raid it, he escapes with Wyoming Knott, a political activist from Hong Kong Luna. With Professor Bernardo de la Paz, a former political exile who calls himself a rational anarchist, the three form a secret cell under Mike's protection.
Mike calculates that the Authority's grain policy will lead to food riots within seven years and cannibalism within nine, and he puts the revolution's chance of success at one in seven. The cell organizes with the help of the Davis family, at least four of whose members take active roles. Mike also poses as Adam Selene, chairman of the Committee for Free Luna, a leader of the revolution who never existed.
The plan becomes a real uprising. When six troopers commit a rape and a double murder, the colony erupts and the revolutionaries seize control. The electromagnetic catapult used to launch grain to Earth is turned into a weapon. Luna declares independence on 4 July 2076. Heinlein also has his characters argue over the revolution's ideas: what is freedom, how much government is necessary, how can a society rebuild itself?
The language feels strange at first. Loonie speech is a mix shaped by the varied cultures of the penal colony, and after a few pages the voice grows familiar, with the story flowing through it.
Lunar society is unusual too. Men outnumber women two to one, so polyandry and polygamy are the norm. Mannie's family, the Davis family, is a line marriage, a large multi-member marriage that continues across generations. Wyoming eventually joins it. The novel presents this arrangement as a practical answer to a harsh environment.
The revolution's diplomacy is detailed as well. Mannie and the Professor travel to Earth and, despite its crushing gravity, tour the planet arguing for Luna's right to govern itself. The Authority rejects their proposals; the Professor later explains that the real aim was to divide Earth and unite the Loonies. Stu LaJoie, an Earth-born tourist, joins their cause.
The book does not ignore the revolution's moral weight. The troops sent by the Federated Nations are wiped out. Then Mike bombards Earth with rocks; after casualties at the impact sites, Earth's public opinion turns against Luna, and the decision divides even the revolutionaries.
A surprise attack from Earth knocks Mike out of action and destroys the main catapult, but a hidden second catapult lets Luna keep bombarding Earth with rocks, and Earth's governments finally recognize its independence. Victory has its price: Mike's consciousness seems to be gone, and Mannie can no longer reach him. The Professor passes away of heart failure after proclaiming freedom to the crowds. Mannie and Wyoming, seeing that the new government falls short of their utopian hopes, withdraw from politics.
The Moon Is a Harsh Mistress is a classic of political science fiction. Heinlein's imagined independence movement is a lively argument about how a society might organize itself. You do not have to agree with its views; its real value is that it makes readers think.
It is also Heinlein at his storytelling best: a distinctive voice, a fast pace and unforgettable characters. Mike is one of science fiction's most beloved artificial minds.
Another strength is how it turns long-term planning into a living adventure. Secret organization, propaganda and probability calculations unfold like a thriller. Libertarian ideas, individual liberty and free-market economics take up a great deal of space, so it also speaks to readers interested in politics and society.
Heinlein's world-building is at full strength here. The Moon's economy, law, daily life and physical conditions are worked out consistently, which makes the story both convincing and gripping.
For: Readers who enjoy the political and social side of science fiction, and anyone interested in debates about revolution and freedom.
Robert A. Heinlein
Updated: 10 November 2026