The mosque was built in the 19th century and was included in the list of immovable historical and cultural monuments of local significance by the decree No.
Abandoned as a mosque in 1928, the building was used as a residence, and then restored and purposed for use by the Ganja State Drama Theater.
[5] In December of that year, the Central Committee of the Communist Party of Azerbaijan transferred many mosques, churches, and synagogues to the balance of clubs to be used for educational purposes.
[4] Later, local experts and cultural figures appealed to the city administration, requesting permission to house the Poetry Theater in the restored Zarrabi Mosque.
[citation needed] After Azerbaijan regained its independence, the mosque was included in the list of immovable historical and cultural monuments of local significance by Resolution No.