Two half brothers look so similar as infants that no one can tell them apart. One, the legitimate son of a rich man, is destined for a life of comfort; the other is condemned to be a slave, as he is part black. The mother of the would-be slave is also the nurse of the other boy, and to give her son the best life possible, she switches the two. Soon, the boy who is given every advantage becomes spoiled and cruel. He takes sadistic pleasure in tormenting his half brother. As they grow older, the townspeople no longer notice that the boys look similar, and they readily accept that each is born to his station.A local lawyer, David Wilson, has had a similar experience. On his first day in the village, he made an odd remark about a dog, and the townspeople gave him the condescending name of "Pudd'nhead". Although he was a young, intelligent lawyer, he is unable to live down this name and toils in obscurity for over 20 years. Finally, he is presented with a complex murder trial and is given the chance to prove himself to the townspeople and shake his unjust label.
This complex murder mystery is a psychological study that explores how perceptions shape character. Twain combines biting satire with his trademark scenes of farce and levity.