Development and Production
Darabont had considered adapting King's story for many years before the production reached the screen. In retrospective interviews, he described its attraction in terms of two contrasting interests: the familiar excitement of old-fashioned monster cinema and a darker account of what happens when technological security disappears. He connected the supermarket's escalating conflicts to the social paranoia of The Twilight Zone episode The Monsters Are Due on Maple Street. His screenplay retained the basic situation of King's novella while developing a more definite ending, a decision that became inseparable from the financing of the film.
According to Darabont, one prospective backer proposed a substantially larger budget on the condition that he change the ending. He declined, and Dimension Films subsequently supported the project with a budget of approximately $18 million. The restricted resources affected the schedule and shooting method: principal photography took place around Shreveport, Louisiana, with much of the supermarket environment constructed on a soundstage. Darabont also recruited collaborators familiar with the compressed production rhythm of the television series The Shield. Thomas Jane was an early choice for David Drayton, whose working-class credibility the director considered essential to the character. A planned prologue showing the military installation was also discarded because building and filming it exceeded the available resources.