Divarlı is a town in Çiftlik District, in Niğde Province, Türkiye. Divarlı lies in the Mount Melendiz mountains. It has 4,198 inhabitants (2022). The nearest city is Niğde, 32 km to the southeast. Among the landmarks around are Derinkuyu underground city (30 km), Ihlara valley (15.9 km) and Aşıklı Höyük (26 km). Among the natural features are Güresentepe Pass (16.3 km).