Mayor Adrian Fenty announced the movie plans Thursday and said the film crew will provide training to some D.C. students.
The romantic comedy with the working title "How Do You Know?" is slated to spend 14 weeks in D.C. this summer. Producers will hire more than 100 local crew members and several hundred extras.
Fenty spokeswoman Erica Stanley says the city didn't spend any incentive money to lure the film project. Officials expect the project will generate $8.5 million in local spending.
The film is written and directed by James L. Brooks and is expected to feature landmarks including Nationals Park and the city's neighborhoods.