The U.S.S. Enterprise arrives at planet M-113 to deliver supplies to Dr. Robert Crater and his wife, Nancy, whom Doctor Leonard McCoy was once romantically involved with. M-113 is home to the Craters for five years, where they conducted an archeological survey of the planet’s ruins. They are the only known inhabitants of the planet.
Crater tells Kirk that the only thing they need are salt tablets. Otherwise, they want to be left alone. Kirk debates this, insisting they must need other supplies and must at least allow McCoy to give them physicals. While this is happening, Darnell, one of Kirk’s landing party, meets a beautiful, young woman and wanders off with her.
When Kirk goes looking for the young man, he finds him dead, his body scarred with suction-cup-shaped marks. As a precaution, Kirk orders the Craters to beam aboard the U.S.S. Enterprise. Once aboard, Dr. McCoy is amazed at how little Nancy has changed since he last saw her, several years earlier. Her close proximity on board begins to reawaken McCoy’s old feelings, feelings that somewhat shadow any suspicions of her that he might normally have had.
However, the woman McCoy sees as Nancy Crater is a shape-shifting creature, the last survivor of M-113, and can literally appear as a different being to each person “she” meets. By reaching into their minds and drawing on their memories, the creature can lull her potential victims into a false sense of security before killing them.
The problem facing the M-113 creature is the need for sodium chloride — salt. Its home planet is running out of salt, and without it, the creature will die. But it just so happens that the Enterprise crew has a supply of it: Themselves. The rest of its race died due to this shortage, and this final survivor formed a symbiotic relationship with Professor Crater. Crater provided the M-113 creature with the needed salt and, in turn, the creature igave the professor companionship… something Crater craved since the creature murdered his wife, the real Nancy Crater, for her salt.
Loose aboard the U.S.S. Enterprise, the M-113 creature begins killing members of the crew, first by posing as someone they know and trust, and then draining their bodies of salt. Finally, the creature kills Crater and changes into Nancy Crater, nearly killing McCoy. Kirk and Spock, who have figured out the creature’s secret, rush to the doctor’s quarters and convince him that this is not the real Nancy. In an emotionally painful move, McCoy kills the creature, saving himself and the U.S.S. Enterprise crew.