Mafia comedy films are a subgenre hybrid of comedy films and crime/gangster films.
Mafia comedies revolve around organized crime, often specifically the Italian-American Mafia but also other mafias or mafia-like crime groups, and a comedic plot line, usually involving a chase or a complicated situation involving gangsters or organized crime. Examples of mafia comedies include: Some Like It Hot, The Gang That Couldn't Shoot Straight, Johnny Dangerously, Oscar, The Whole Nine Yards, My Blue Heaven, Wise Guys, Corky Romano, The Freshman, Married to the Mob, Mickey Blue Eyes, Jane Austen's Mafia!, Analyze This, Analyze That, and more recently, You Kill Me and the series Lilyhammer. In addition, an Irish crime thriller, In Bruges, which stars Colin Farrell, may also be considered a dark mob comedy.
Many Crime/Gangster films involve a lot of comedic moments, especially during witty conversations between gang members. This can be seen in such films as Goodfellas, Lock, Stock and Two Smoking Barrels and Pulp Fiction.
A lot of the humor in such films is based upon the portrayal of gangsters as ordinary people. The perceived view of gangsters is that they are tough, serious, mysterious and often quite evil characters. So when a film portrays a side of normality to a gangster character, it can have a humorous effect.