Most of the film was shot on location in Braff's hometown of South Orange, New Jersey, with filming also taking place at Cranford, Livingston, Maplewood, Newark, Tenafly and Wallington as well as New York City and Los Angeles.