Kastamonu is the capital district of the Kastamonu Province, Turkey. According to a 2015 census, it has a population of 372.633 and an area of 1482 km². It is located to the south of the province.
Near the city (approximately 10 miles) is the village of Kasaba with an important mosque, the Mahmut Bey mosque, from 1366, built in the Seljuk tradition. It is considered to be one of the finest wooden mosques in Turkey. The door has excellent woodcarving.
The city is believed to have been founded in the 18th century BC. The town was known as Timonion during the Roman period. Within the region, Romans founded a city of Paphlagonia at the town Taşköprü which is nowadays famous for its garlic production.
The Dress Code Revolution started at Kastamonu by Atatürk on August,23 1925. Atatürk made his historical speech concerning about the "Hat and Dress Revolution" in 1925 at his visit to Kastamonu at Cumhuriyet Halk Partisi building. The building is now used as Archeological Museum. The materials used by Atatürk in his Kastamonu visit are also exhibited in the museum.