Disillusioned knight Antonius Block and his nihilistic squire J�ns return from the Crusades to find Denmark (Danish cities like Elsinore and Roskilde are cited) ravaged by the plague. The knight encounters Death, whom he challenges to a chess match, believing he can survive as long as the game continues. The game they start continues throughout the story.
The knight and his squire pass the caravan of actors Jof and his wife Mia with their infant son Mikael and actor-manager Jonas Skat. Waking early, Jof has a vision of Mary leading the infant Jesus, which he relates to a smilingly-disbelieving Mia.
Block and J�ns visit a church where a fresco of the Danse Macabre is being painted and the squire chides the artist for colluding in the ideological fervor that led to the crusade. In the confessional, Block admits that he wants to perform "one meaningful deed". Upon revealing to the priest the chess strategy that will save his life, the knight discovers that it is actually Death with whom he has been speaking. Leaving the church, the knight speaks to a young woman condemned to be burned at the stake for consorting with the devil. He believes she will tell him about life beyond death, only to find that she is insane.
In a deserted village, J�ns saves a mute servant girl from being raped by Raval, a theologian who ten years earlier convinced the knight to join the Crusades. J�ns vows to destroy his face if they meet again. The servant girl accompanies J�ns into town, where the actors are performing. There, Skat is enticed away for a tryst by Lisa, wife of the blacksmith Plog. The stage show is interrupted by a procession of flagellants led by a preacher who harangues the townspeople.
At the town's inn, Raval manipulates Plog and other customers into intimidating Jof. The bullying is broken up by J�ns who, true to his word, slashes Raval's face. The knight and squire are joined by Jof's family and a repentant Plog. Block enjoys a picnic of milk and strawberries that Mia has gathered and declares, "I'll carry this memory between my hands as if it were a bowl filled to the brim with fresh milk... And it will be an adequate sign?it will be enough for me."
Block now puts aside his pursuit of religious meaning and invites Plog and the actors to shelter from the plague in his castle. When they encounter Skat and Lisa in the forest, she returns to Plog, while Skat fakes a remorseful suicide. As the group moves on, Skat climbs a tree to spend the night, but Death appears beneath and cuts down the tree, claiming Skat.