Originally, it was part of a complex consisting of a still-existing square fountain, and non-existent structures like a Turkish bath, a bakery and a mill.
The current mosque was rebuilt by Sultan Mahmud II (r. 1808–1839), the son of Abdul Hamid I.
Apparently, no part of the mosque building is original except the inscription dating the first construction by Abdul Hamid I in 1871, which is kept on place as a sign of respect.
A cylindrical slim minaret with one balcony erected on a square base is situated south of the mosque.
According to a two-line poetic inscription written in Thuluth on top of the shadirvan situated at the northern corner of the mosque's courtyard, it was endowed by Rebgigül Hanım, the head of female servants in the house of Mümtaz Kadın, a spouse of Wali and Khedive of Ottoman Egypt Kavalalı Mehmet Ali Pasha (r.