Aziz began writing for the film in 2012 and later approached Rai to produce it. Happy Bhag Jayegi was conceived as a "cross-border" romantic comedy and was originally titled Dolly Lahore Mein. Although a large part of the film is set in Lahore, the film was primarily shot in Chandigarh and Amritsar with Saurabh Goswami working as the director of photography.