A bromantic comedy is a comedy film genre that takes the formula of the typical "romantic comedy" but focuses on close male friendships.
Bromance, a word that blends the words "brother" and "romance", can be defined as a "close nonsexual friendship between men" A bromantic comedy finds humor in reversing the formula of the typical "romantic comedy". In the film Knocked Up, it is not the man and woman that have the romantic chemistry, but the two men. In I Love You Man, it is not the man and woman (the bride and groom) of the story who fall in love, break up, and then are reunited romantically at the end—but the two male leads. Bromantic comedy films present expressions of male intimacy, while toying with the suggestion of something other than "straight" behavior, and at the same time insisting that such intimacies not be misinterpreted as anything beyond friendship.
The "slovenly hipster" protagonists of the bromantic comedy usually are not mature and are lacking in ambition. They are "beta males" that are into porn and junk food, but they are forced to grow up when they discover "straight arrow" women, children and responsibility. It is a story of "the dissolution of a male pack, the ending of a juvenile male bond," according to David Denby in The New Yorker.
Bromantic comedies contain the concept of a "code" between men: "bros before hos". The idea is that the bonds between men are more significant, stronger, deeper and based on mutual understanding, whereas the bonds between a man and a woman can be capricious, shallow and less satisfying. So, if a man leaves his male friends for a woman, he will eventually be dumped, abandoned, betrayed, and/or dominated. This may be too dark for comedy, so bromantic comedies deal with misogyny with tentativeness. There is often an element in the plot that allows the men to go off on their own, away from the women. Examples of this are the "man cave" of I Love You, Man, or the "mancation" of The Hangover.
According to film scholar Timothy Shary in Millennial Masculinity: Men in Contemporary American Cinema, a number of films in this genre, like Wedding Crashers, provide a surprising level of bisexuality for its male characters, and a place for more diversified male relationships to exist.
Shakespeare's play, Love's Labor's Lost, provides, in its opening passage, a comedic prototype for the idea of men agreeing to a "code" to sequester themselves and avoid romance with the opposite sex.