Born in 1876 in Tiranë, capital of modern Albania, he came from a family that was active in the Albanian Revolt of 1843–1844 and that of 1847. After finishing his studies in the Madrasah ǧāmiʿah of Istanbul, he returned to Albania. A supporter of Ismail Qemali, he was one of the local leaders of Tirana during the Declaration of Independence of Albania. Ndroqi's support of Qemali invoked the hostility of Essad Pasha Toptani, who in order to decrease Ndroqi's influence, arranged for him to be reappointed as mufti of Shijak in 1913 and Kavajë in 1914. In 1916 he was elected mayor of Tiranë, replacing Servet Libohova, a post Ndroqi held from 1917 to 1922. During his term as mayor, several schools and the first hospital and orphanage of the city were founded.
Ndroqi was an initiator of the Congress of Tiranë (19–20 December 1818) and a delegate in the Durrës Congress (25–27 December 1918). He also founded the volunteer battalion of Tiranë, which took part in the Vlora War against the Italian army. Ndroqi's term as a mayor of Tiranë was the longest until the establishment of the Socialist People's Republic of Albania after World War II.
His son Shefqet Ndroqi is regarded as the father of pulmonology in Albania, and a hospital in Tiranë has been renamed for him, while he is also an honorary citizen of the city. Ndroqi's grandson Zamir is also a doctor.
- "Mayors of Tirana". tirana.gen.al.
- Michael Schmidt-Neke (16 November 1987). Entstehung und Ausbau der Königsdiktatur in Albanien (1912-1939): Regierungsbildungen, Herrschaftsweise und Machteliten in einem jungen Balkanstaat. Oldenbourg Wissenschaftsverlag. pp. 321–222. ISBN 978-3486543216.
- "Përsonalitete të kulturës islame që kanë jetuar e kontribuar në fund të shek.xix - gjysma e parë e shek. xx.". International Islamic University Malaysia. Retrieved 5 June 2011.
- "Tirana me plan urbanistik, një shekull më parë". Lajme Shqip. April 23, 2011. Retrieved 5 June 2011.