The series was first announced in 2015 as
Imaginary Friend which was then changed to
Imaginary Gary. In the original pilot, the main characters were both men and the love interest was a single mom. When the series went into development, the genders of the characters were flipped. Elfman filmed her scenes first with a puppet in order for the animators to have a reference point, and then in a later take without anything to show what she was talking to. Dratch did her voice work separately in New York with the scenes already filmed. She said at the
TCA press tour, "I have the freedom to go crazy." In September 2016, it was reported that the show's crew would make changes with the animation for the character, Mary, after it received a poor reception from ABC. ABC then reduced the original thirteen-episode order for the first season to nine episodes in order to allow the show's crew to make changes with the animation. ==Episodes==