 The "That Old Black Magic" sequence, which was directed by A. Edward Sutherland, was intended to be directed by René Clair, who was unavailable at the time of shooting.The film was in production from 11 June to 23 July 1942 at Paramount's studios on Melrose Avenue in Hollywood.Location shooting took place at the Naval Training Center in San Diego, California.