Hasanlı is a village in Taşköprü District, in Kastamonu Province, Türkiye. Hasanlı lies at 977 m above sea level, in the Ilgaz mountains. It has 92 inhabitants. The nearest city is Kastamonu, 37 km to the west. Among the landmarks around are Pompeiopolis (13.4 km).