Several episodes of the show "borrowed" plots from various movies, such as High Noon or The Trouble with Harry. Season 3's "Shadow in the Dark" was pretty much one giant allusion to Manhunter, which Michael Mann himself directed.
In Season 2's "Out Where the Buses Don't Run", Weldon's computer is named after his ex-wife, Lorraine. It also happened to be the name of the Amiga prototype that appeared at the 1984 Consumer Electronics Show. The Amiga prototype took its name from the motherboard, which was named Lorraine, after the company president's wife.
Throw It In: Olmos has said in interviews that, in a deliberate effort to subvert the usual Da Chief cliches, his very first line as Castillo was an ad-lib.
Between when he was cast and the start of production, Jamie Foxx won an Oscar, greatly increasing his ego and his demands. He got way more money, so much that Farrell had to take a slight pay cut and causing a great deal of tension between the two (who, remember, are supposed to be playing partners). He then began refusing to fly commercial, making the studio pay for a private jet for him (sometimes flying him as far as Uruguay). Then he wouldn't do scenes on boats or planes.
Not all the trouble was caused by human frailties. Shooting in and around the Caribbean during the now-legendary 2005 hurricane season led to a week of delays by the end of production. This is blamed for driving the film's final budget over $100 million; exactly how much is disputed.
A week, all told, may not have been as bad as a delay as what could have happened—since many crew members complained that Mann insisted on shooting in unsafe weather. And shooting in dangerous, crime-ridden areas. At one location it was so bad the police wouldn't go there, so the production hired local gang members as security.
On top of all this Mann would often make major rewrites of the script without advance notice. Cast and crew had to scramble to keep up and adapt.
All these things came to a head late in filming when, at one rough location in the Dominican Republic, shots, real shots, were exchanged on set. Foxx immediately went to his plane and flew back to the U.S. He told the studio he was not going to any more overseas locations for the production. Mann had to rewrite the ending as a result, reportedly making it less dramatic than he had wanted.
Glenn Frey was originally set to reprise his role as Jimmy the pilot (from "Smuggler's Blues") in the episode "Trust Fund Pirates", but scheduling issues resulted in his character being replaced by a fellow pilot who had taken over Jimmy's hangar.
The third-season opener ("When Irish Eyes Are Smiling") was intended to be a two-hour special, similar to the second-season premiere "The Prodigal Son", and would have had Crockett and Tubbs travel to Ireland to deal with a religious terrorist.
Olmos was offered the chance to reprise his role as Castillo in the 2006 film, but was busy filming Battlestar Galactica at the time.
After a shooting incident on the Dominican Republic set of the film, Jamie Foxx packed up and left, refusing to work outside the US. This forced a complete rewrite of the film's ending. While one crew member publicly stated that the revised ending was "much less dramatic", Mann, who had written endings for both Miami and Paraguay considered it to be better because it "brought all the conflicting characters together in one arena".
The cool undercover cops of the previous decade Starsky & Hutch, John Michael Glaser and David Soul individually directed several episodes.