Khachmaz District (; ) is one of the 66 districts of Azerbaijan. It is located in the north-east of the country and belongs to the Guba-Khachmaz Economic Region. The district borders the districts of Qusar, Quba, Shabran, and the Russian Republic of Dagestan. Its capital and largest city is Khachmaz. As of 2020, the district had a population of 179,800. History Khachmaz is one of the border districts of Azerbaijan in the north of the republic. The district was established on August 8, 1930, as an administrative territory. It was a town-type settlement during 1936–1937. In 1963, the Khachmaz region was abolished and its territory included to Guba and Gusar districts. In 1995 the district was restored. Location Being the most northeastern region of Azerbaijan, Khachmaz is between the Caucasus Mountains and borders Caspian Sea to the east. The southern border greets Shabran and the region stretches north to Russia. Khachmaz city is located toward the bottom third of the region. It is about 10 km from the Caspian Sea and the border to Shabran. About half that distance to the Quba border to Khachmaz's west. It is a substantially greater distance to the northern border. Population According to the State Statistical Committee of the country, in 2000, the total number of population of the region was 145,6. In 2018, this figure increased by about 30,000. Education There are 123 secondary schools, 25 preschools, 2 out-of-school institutions, one vocational high school and one vocational school in the region. Climate The climate is generally moderate to warm, humid temperate and subtropical, and Khachmaz sees an average yearly precipitation of 1300–1350 mm and average temperatures of 25-30 °C in July and 1-2 °C in January. Cultural The Khachmaz region is rich with monuments of history, culture and architecture. Some of the most significant are Sarkartapa, the ancient city-fortress Khudat, a 4th-century Albanian church, the 16th-century mosque-madrasa of Shah Abbas of the 15th-16th century in Garaqurtlu, a village in Khachmaz, ancient settlements and the barrows of the Bronze Age, the famous “Iron gate” of Derbent fortress becoming a symbol of its inaccessibility. The fortifications “Baba-al-Abvat” were constructed in the 8th-7th centuries B.C and protected from invasion of the northern boundaries of Azerbaijan. Today Khachmaz borders with Russia here. In the village of Shykhlar the tourists can see the earliest monument of the mausoleum of the Middle Ages- a mosque of Sheikh Yusif (15th