While director Adam McKay was in the editing room working on Talladega Nights, he heard someone mention bunk beds. That’s the moment he got the idea for two grown men playing step brothers and the rest is history.
Side note, he actually wanted to make it a drama instead of a comedy at first.