The history of the mosque, which was built in Boztepe district of Trabzon, is unknown. On the other hand, according to Şemsettin Sami, in the period of Sultan Orhan, Ahi Evren was built by a dervish lodge, and this is the site of the present mosque and the tomb.

We don't have a precise knowledge of the complex. A mosque with the same name was built here.

Ahi Evren Dede mosque Hacı Hakkı Baba's Abdulaziz period was repaired with the contributions of H.1305 (1888).