Principal photography began on June 6, 2005. Filming took place over 30 days in Arizona and southern California, with scenes shot in keeping with the chronological order of the script. Arndt re-wrote the ending to the film six weeks before the film's release at the Sundance Film Festival, and this was filmed in December 2005. Post-production was completed four days before its screening on nine screens at the Sundance Film Festival, where it had its premiere. The film was dedicated to Rebecca Annitto, the niece of producer Peter Saraf and an extra in scenes set in the diner and the convenience store, who was killed in a car accident on September 14, 2005.