The idea of teaming up of Will Ferrell and Mark Wahlberg had been gestating since The 79th Annual Academy Awards (2007), where Will had been viciously insulting other actors as part of a bit, but became extremely polite to Mark.
With the exception of Leo Holder (and obviously Detective Hoitz), all of the people listed as "Traffic Enforcer of the Month" held positions in the movie's graphics or locations departments.
Just before Terry (Mark Wahlberg) and Allen (Will Ferrell) are forced to turn over their evidence to the Securities and Exchange Commission in New York City, there is a cut scene of a skyline. Since everything takes place in New York City, one assumes that it's the New York City skyline. However, if you look closely, there is the Prudential Tower, located in Boston, Massachusetts, where Mark Wahlberg grew up.
Brooke Shields: Sitting next to Will Ferrell at the basketball game. She's the one who grabs him and says "call me" when he leaves. Shields is married to Chris Henchy, who co-wrote the film.
Patrick Crowley, Oliver Wood, James Mazzola: Film's producer, cinematographer, and prop master, respectively, appear as Dirty Mike's "Boys."