"The Coup" was written by co-executive producer Paul Lieberstein, who plays series regular Toby Flenderson, and was directed by executive producer and series creator Greg Daniels.Several cast members believed the episode contains Shakespearean themes, in particular elements of the "Macbeth" character Lady Macbeth in Angela's storyline.