The film, shot on location in the Caribbean and South Florida, lost seven days of filming to Hurricanes Katrina, Rita, and Wilma.[3] The delays led to a budget of what some insiders claimed to be over $150 million, though Universal Studios says it cost $135 million.[2]
Several crew members criticized Mann's decisions during productions, which featured sudden script changes, filming in unsafe weather conditions, and choosing locations that "even the police avoid, drafting gang members to work as security."[2]
Foxx was also characterized as unpleasant to work with, mostly due to his ego: he refused to fly commercially, forcing Universal Studios to give him a private jet. Foxx would not participate in scenes on boats or planes. After real gunshots were fired on set in the Dominican Republic on October 24, 2005, Foxx packed up and refused to return; this forced Mann to re-write the ending of the film, an ending that some crew members characterized as less dramatic than the original.[2] Foxx, who won an Academy Award after signing to do Miami Vice, was also reputed to complain about co-star Farrell's larger salary, something Foxx felt didn't reflect his new status as an Oscar winner. Foxx received an increase in salary, and Farrell's took a bit of a cut. It was also reported that Foxx demanded top billing after winning an Oscar, however Farrell ended up on the top of the credit listing