Director/writer Sooraj Barjatya devoted one year and nine months to write the screenplay of Hum Aapke Hain Koun..!. He spent the first five months trying to write another Maine Pyar Kiya, but then started over after his father Rajkumar Barjatya suggested that he rework one of the family company Rajshri Productions earlier offerings.[11] Hum Aapke Hain Koun..! then became a loose adaptation of their 1982 production Nadiya Ke Paar.[12] Barjatya used musical numbers to avoid treating some situations in a cliché manner, which resulted in so many songs that there were complaints during initial screenings of the film concerning its length and number of songs.