Filming began in April 2002, and most of the scenes were shot in and around New York City, 7 months after the 9-11 attacks. There is a scene in "Analyze This" where a helicopter eerily passes through the buildings in the background at the 1h22m mark of the movie. Producer Jane Rosenthal said they decided to shoot the film there because "[i]t would have been unpatriotic not to shoot the picture in New York... As a New Yorker it was extremely important for me to get back to work and business as usual after 9-11."