The novel is considered to be one of Hardy's masterpieces, although it has been criticised for incorporating too many incidents: a consequence of the author trying to include something in every weekly published instalment.
At a country fair near Casterbridge in Wessex Michael Henchard, a 21-year-old hay-trusser, argues with his wife Susan. Drunk on rum-laced furmity he auctions her off, along with their baby daughter Elizabeth-Jane, to Richard Newson, a passing sailor, for five guineas. Sober and remorseful the next day, he is too late to locate his family. He vows not to touch liquor again for 21 years.
Believing the auction to be legally binding, Susan lives as Newson's wife for 18 years. After Newson is lost at sea Susan, lacking any means of support, decides to seek out Henchard again, taking her daughter with her. Susan has told Elizabeth-Jane little about Henchard, and the young woman knows only that he is a relation by marriage. Susan discovers that Henchard has become a very successful hay and grain merchant and Mayor of Casterbridge, known for his staunch sobriety. He has avoided explaining how he lost his wife, allowing people to assume he is a widower.
When the couple are reunited, Henchard proposes remarrying Susan after a sham courtship, this in his view being the simplest and most discreet way to remedy matters and to prevent Elizabeth-Jane learning of their disgrace. To do this, however, he is forced to break off an engagement with a woman named Lucetta Templeman, who had nursed him when he was ill.
Donald Farfrae, a young and energetic Scotsman passing through Casterbridge, helps Henchard by showing him how to salvage substandard grain he has bought. Henchard takes a liking to the man, persuades him not to emigrate, and hires him as his corn factor, rudely turning away a man named Jopp to whom he had already offered the job. Farfrae is extremely successful in the role, and increasingly outshines his employer. When he catches the eye of Elizabeth-Jane, Henchard dismisses him and Farfrae sets himself up as an independent merchant. Farfrae conducts himself with scrupulous honesty, but Henchard is so determined to ruin his rival that he makes risky business decisions that prove disastrous.