It is the 1940s in Oran, a French-occupied Algerian colony. Dr. Bernard Rieux is the first to intuit that things are not right with the city when he notices a sudden spike in the number of dead rats around town. Before too long, thousands of the creatures are making their way to the streets to die. The sight of Oran littered with the carcasses of rats stimulates panic among the citizens and forces the government to order a special force tasked with cremating the rodents.
As the rat carcass problem is contained, Dr. Rieux treats the concierge where he lives, who is complaining of an unusual fever. Not long after the concierge succumbs to the ravages of the affliction, doctors all over town are flooded with patients experiencing similar symptoms. Rieux and an elderly colleague named Castel suspect Oran has become the victim of an outbreak of bubonic plague. Requests to the government to initiate a strategy before an epidemic gets out of control are ignored and only after the death toll skyrockets are leaders finally incapable of denying the seriousness of the situation. By the time they finally respond to the gravity of the outbreak, the only choice is absolute quarantine of the city. Oran essentially becomes cut off and isolated from the rest of the world.
The reaction of the residents of Oran vary widely in terms of specifics, but share a commonality of experience: it is the sense of imposed exile from society and the longing for simple human contact with friends and family outside the closed gates that drives every individual response. Permeating the fear of the disease and the longing and loneliness is a common exhibition of belief that the singling out of their city is no random act of science, but divine punishment of some kind. Helping to foster this belief is Father Paneloux, whose early sermons are filled with stern Jesuit reasoning that Oran has committed sins so great that simple forgiveness is not warranted.
Rambert, a Parisian journalist unlucky enough to happen to be in the city when the outbreak begins, is determined to escape back home to reunite with his wife. His attempts are foiled by the ineptitude of both the government and the underground network he consults. A paranoid criminal named Cottard attempts to aid Rambert in his escape. Unique among those trapped inside Oran, Cottard is actually glad to see the effects of the plague on the town. Suddenly, everyone is just as lonely and afraid as him. Not only that, he is making a killing in the booming business of smuggling, another consequence of the epidemic.
Another visitor who is trapped by bad timing is Jean Tarrou. He has been carefully making notes of everything he’s observed relating to the plague. These observations stimulate him to organize sanitation duties with the help of volunteers. Meanwhile, just as Rambert is ready to put his escape strategy to the test, he learns that Dr. Rieux—who has been the leading figure in trying to fight the plague—has a wife on the outside experiencing her own medical quarantine as a patient being treated in a sanatorium. The sacrifice being made by Rieux inspires Rambert to give up on his plan to escape and stay to fight the epidemic.
The initial self-centered response of individuals to the quarantine as a personal tragedy eventually gives way to a widespread realization that everyone is affected equally even if in starkly different ways. The acceptance of the plague under these terms lessens the selfishness of the town, but does little to alleviate the collective despair and hopelessness. Adding to the horror is a death toll affecting so many people that cremation is necessary to keep up. When the young child of Oran’s magistrate succumbs to the suffering and perishes in a painful and grotesque fashion, Father Paneloux is moved to deliver another sermon. The theme of this sermon is plainly stated: the plague is evidence enough that you either believe in Christianity wholeheartedly or you reject it outright. Not long afterward, Paneloux himself dies, committed so thoroughly to his view of the faith that he refuses medical treatment.
As the year draws to a cold and melancholy close, in contrast to Paneloux, other victims begin to make miraculous recoveries and avoid death. At that point, Tarrou is diagnosed, but fails to recover and dies. He has become the exception, however, and soon the town can barely contain its desire to celebrate the evidence that the plague is diminishing and will soon disappear.
Alone among the quarantined not bursting with happiness at this thought is Cottard. On the day the gates to the town finally reopen, his madness finally overcomes him and he takes to randomly firing his gun until the police arrest him. The long-awaited reunion between Rambert and his wife takes place not back home in Paris, but in Oran. Dr. Rieux is not so lucky; his wife has died during the separation mandated by the quarantine. Flush with the freedom to do whatever they want, the residents of town more or less go back to their lives as they were before the plague arrived.
The unidentified narrator of these events finally reveals himself as the tale draws to a close. The chronicler is Dr. Rieux and his book is composed as a testament to the victims and those who fought it rather than as a self-serving story as a personal victim of the tragedy. An attempt is made to end the story on an inspirational note with Rieux’s observance that ultimately those trapped in Oran revealed the better side of human nature more often than the worst. That note of optimism is ultimately undercut, though, by his haunting reminder that the microbe responsible for bubonic plague can lie dormant for so long that it creates the illusion of being gone forever when in reality it has the power to recrudesce into an epidemic with little warning once more.