Harper Lee wrote the novel to explore racial injustice in the Depression-era South, tackling this topic through the fictional story of Scout Finch growing up in Maycomb, Alabama.
The novel is closely connected to the real-life Scottsboro Trials, in which nine Black teenage boys were accused of rape by two white girls in 1931. Those trials lasted for years, drew national attention, and intensified debate about racism in the United States. To Kill a Mockingbird echoes that history through Tom Robinson, a Black man falsely accused of raping Mayella Ewell and convicted by an all-white jury despite Atticus Finch’s evidence that Tom could not have committed the assault as described.
Lee also uses the novel to examine prejudice more broadly. Scout learns that Maycomb’s racism is woven into ordinary life, as neighbors, classmates, family members, and courtroom officials treat Atticus’s serious defense of Tom as shameful. Through Scout’s confusion and Jem’s heartbreak after the verdict, the book shows how children may be able to see injustice with a clarity that some adults have trained themselves to suppress.
At the same time, Lee makes the story a coming-of-age novel. Scout begins with childish fears about Boo Radley and simple ideas about good and evil, but by the end she understands Atticus’s lesson: “You never really understand a person until you consider things from his point of view [...] until you climb into his skin and walk around in it.” That lesson applies both to Boo, who turns out to be protective and kind, and to the town itself, which contains cruelty, cowardice, and courage, but also small signs of change.
Lee’s purpose in writing To Kill a Mockingbird was not only to tell a courtroom story, but to show how a child learns to recognize racism, class prejudice, moral courage, and human dignity in a community that often denies them.