Threat Level Midnight. Threat Level Midnight is the seventeenth episode of the seventh season of the American comedy television series The Office, and the show's 143rd episode overall. It originally aired on NBC on February 17, 2011. The episode was written by B. J. Novak and directed by Tucker Gates.