The Red and the Black follows Julien Sorel, the slight, bookish son of a brutal sawmill owner in the small French town of Verrières. Beaten by his father and despised by his brothers, Julien hides a fierce inner life: he worships Napoleon and dreams of glory, but he is born too late, into a Restoration France where the army no longer lifts a clever commoner. So he learns the Latin Bible by heart and resolves to rise through the Church instead, masking his pride behind a show of piety.
His Latin wins him a post as tutor to the children of M. de Rênal, the town's self-important mayor. There Julien sets out to win Madame de Rênal less from desire than from a sense of duty to his own ambition, treating the first touch of her hand as a battle to be fought. The affair turns into real and dangerous love, and when rumor threatens to expose it, Julien is sent away to a seminary in Besançon.
The seminary is a cold, suspicious place where Julien learns that survival means concealment. He gains the protection of the stern director Pirard, and through him a position in Paris as secretary to the powerful Marquis de la Mole. Julien proves indispensable, absorbs the manners of the aristocracy, and observes its boredom and intrigue from the inside, still an outsider playing a part.
In Paris he becomes entangled with the Marquis's daughter, Mathilde, a proud and restless young woman who craves the grand passion of her romantic ancestors. Their love is a duel of vanity, with advances and freezing retreats on both sides, until Mathilde is pregnant and her father, cornered, prepares to make Julien rich and noble. Ambition seems on the point of total victory.
Then a letter arrives from Madame de Rênal, denouncing Julien as a seducer and ruining the match. He rides to Verrières and shoots her in church. She survives, but Julien is arrested, tried, and at his trial he scorns any defense, telling the jury he is condemned for rising above his class. He is sentenced to death; Madame de Rênal, who still loves him, dies days after his execution, and Mathilde buries his head with her own hands.