Chuck Hogan and Prince of Thieves The Town

Chuck Hogan published Prince of Thieves in 2004, a 400-page crime novel set in 1990s Charlestown that provided the source material for The Town. The adaptation process stripped the novel of substantial material -- an entire robbery, a love triangle, and a bleaker ending -- while elevating the elements that worked as cinema. The film and the novel tell the same story but reach different conclusions about whether escape from Charlestown is possible.

Hogan set the novel in the 1990s to avoid cell phone technology

Hogan chose the 1990s setting deliberately. The pre-digital era allowed his bank robbers to operate without the surveillance infrastructure that would make their crimes far more difficult in the 2000s. The absence of cell phones, GPS tracking, and ubiquitous security cameras gave the crew plausible room to maneuver. Affleck moved the story to the present for the film, accepting the technological complications in exchange for contemporary relevance. (thefilmstage)

The novel's research provoked threats against the local library

Hogan researched Charlestown's criminal culture extensively, spending time in the neighborhood and studying its history. The research touched nerves.

"I remember the librarians called me... we've had some calls and threats of violence." — Chuck Hogan, The Ringer (2020)

The threats reflected the neighborhood's code of silence -- the same omerta that the film dramatizes through Doug's refusal to cooperate with Frawley and the community's reflexive hostility toward outsiders asking questions.

The film cut the movie-theater robbery and the Frawley-Claire love triangle

The adaptation made several significant structural changes. The novel's movie-theater robbery -- one of Hogan's standout sequences -- was replaced with the armored-car heist, which gave the film a superior car chase and escalated the crew's violence more effectively. The novel's extended subplot in which Frawley pursues a romantic relationship with Claire, creating a love triangle, was reduced to a few scenes of professional pressure. The novel also gives Desmond Elden a substantial backstory about his father's murder and his symbolic role representing the neighborhood's inescapability; the film pushes Dez into the background. (thefilmstage)

The novel keeps Doug and Frawley separated until the very end; the film adds the interrogation scene (beat 25), which became one of the film's most celebrated sequences. Affleck described his approach to adaptation:

"I've never felt all that interested in literally translating from book to page... you have to add something to it." — Ben Affleck, The Ringer (2020)

Claire is more likable in the film than in the novel

The adaptation comparison published by The Film Stage noted that Hogan's Claire is "somewhat vapid and completely indecisive," while Rebecca Hall's version is "far more likable," making the romance more compelling. The film streamlines Claire into a woman whose primary trait is her outsider status -- she is smart, decent, and unequipped to understand the world Doug comes from. The novel's more complicated version of the character, with her indecision and self-absorption, was sacrificed for narrative efficiency. (thefilmstage)

The novel kills Doug; the film lets him escape

The most significant divergence is the ending. In Hogan's novel, Doug survives the Fenway shootout but appears on Claire's doorstep shot full of holes and dies in her presence. The violence cycles back -- there is no escape from Charlestown, only different ways of being consumed by it.

The film's theatrical ending lets Doug escape to Florida, alone, with the money left in Claire's garden. Screenwriter Peter Craig described the reasoning:

"I had a darker ending... where Doug dies... people just wouldn't have liked the movie." — Peter Craig, The Ringer (2020)

The alternate cut of the film, released on the Ultimate Collector's Edition, restores the novel's ending: the men Doug and Jem beat up in the projects return and shoot Doug dead in the street. The two endings coexist on disc, letting the viewer choose the film's argument. The theatrical version says "you can escape, but not whole." The novel says "you can't escape."

Sources