{{Short description|City in Qazvin province, Iran}}

{{Use dmy dates|date=May 2023}}

{{Infobox settlement |name = Khak-e Ali |native_name = {{langx|fa|خاكعلي}} |native_name_lang = fa |settlement_type = City |image_skyline = |imagesize = |image_alt = |image_caption = |image_flag = |flag_alt = |image_seal = |seal_alt = |image_shield = |shield_alt = |etymology = |nickname = |motto = |image_map = |map_alt = |map_caption = |pushpin_map = Iran |pushpin_map_alt = |pushpin_map_caption = |pushpin_label_position = |coordinates = {{Coord|36|07|44|N|50|10|38|E|dim:1km|display=inline,title}} |coordinates_footnotes = <ref>{{Cite map |author=((OpenStreetMap contributors)) |url=https://www.openstreetmap.org/?mlat=36.128889&mlon=50.177222&zoom=15#map=15/36.12889/50.17722|website=[[OpenStreetMap]] |title=Khak Ali City, Basharyat District, Abyek County, Qazvin Province, Iran|date=13 September 2024|access-date=13 September 2024|lang=fa}}</ref><ref>{{Cite Google Maps |title=45HG+HV5 Khakali, Qazvin Province, Iran |url=https://www.google.com/maps/place/36°07'44.0%22N+50°10'38.0%22E/@36.128889,50.177222,4783m/data=!3m1!1e3!4m4!3m3!8m2!3d36.128889!4d50.177222?hl=en&entry=ttu&g_ep=EgoyMDI1MDYyMy4yIKXMDSoASAFQAw%3D%3D |access-date=28 June 2025}}</ref> |subdivision_type = Country |subdivision_name = [[Iran]] |subdivision_type1 = [[Provinces of Iran|Province]] |subdivision_name1 = [[Qazvin province|Qazvin]] |subdivision_type2 = [[Counties of Iran|County]] |subdivision_name2 = [[Abyek County|Abyek]] |subdivision_type3 = [[Bakhsh (administrative division)|District]] |subdivision_name3 = [[Basharyat District|Basharyat]] |established_title = Established as a city |established_date = 2004<ref name="Khak-e Ali City"/> |founder = |leader_title = |leader_name = |leader_title1 = |leader_name1 = |unit_pref = Metric <!-- ALL fields with measurements have automatic unit conversion --> <!-- for references: use <ref> tags --> |area_footnotes = <!-- square kilometers --> |area_total_km2 = |elevation_footnotes = |elevation_m = |population_footnotes = <ref name="2016 Qazvin Province"/> |population_as_of = 2016 |population_total = 3148 |population_density_km2 = auto |population_note = |population_demonym = |timezone = [[Iran Standard Time|IRST]] |utc_offset = +3:30 |postal_code = |area_code = |website = <!-- {{URL|example.com}} --> |module = |footnotes = {{GEOnet2|32FA8809F59E3774E0440003BA962ED3}} }}

'''Khak-e Ali''' ({{langx|fa|خاكعلي}}){{efn|Also [[romanize]]d as '''Khak ‘Alī''', '''Khāk-e ‘Alī''', and '''Khāk-i- ‘Ali'''; formerly '''Khāqlīn'''<ref>{{GEOnet3|-3070351}}</ref>}} is a city in, and the capital of, [[Basharyat District]] in [[Abyek County]], [[Qazvin province|Qazvin]] province, [[Iran]].<ref name="Abyek County Establishment"> {{cite web |first=Hassan |last=Habibi |author-link=Hassan Habibi |orig-date={{lang|fa|rtl=yes|تاریخ تصویب}} (Approval date) 1380/05/07 (Iranian Jalali calendar) |date=29 July 2001 <!-- Converted 'Approval date' using https://www.iranchamber.com/calendar/converter/iranian_calendar_converter.php --> |script-title=fa:تصویب نامه راجع به اصلاحات و تغییرات تقسیماتی در استان قزوین |trans-title=‌Approval letter regarding reforms and divisional changes in Qazvin province |url=https://lamtakam.com/law/council_of_ministers/121685 |archive-url=https://web.archive.org/web/20250625234345/https://lamtakam.com/law/council_of_ministers/121685 |archive-date=25 June 2025 |access-date=25 June 2025 |website={{lang|fa|rtl=yes|لام تا کام}} [Lam ta Kam] |publisher={{lang|fa|rtl=yes|‌وزارت کشور}} [Ministry of the Interior] |agency={{lang|fa|rtl=yes|هیات وزیران}} [Council of Ministers] |language=fa |id={{lang|fa|rtl=yes|شناسه}} [ID] 60BC6176-4586-4C9C-9594-CB1FCD95E4C8. {{lang|fa|rtl=yes|شماره دوره}} [Course number] 80.}}</ref> It also serves as the administrative center for [[Basharyat-e Gharbi Rural District]].<ref name="Qazvin County Rural Districts"> {{cite web |first=Mir-Hossein |last=Mousavi |author-link=Mir-Hossein Mousavi |orig-date={{lang|fa|rtl=yes|تاریخ تصویب}} (Approval date) 1366/04/10 (Iranian Jalali calendar) |date=1 July 1987 <!-- Converted 'Approval date' using https://www.iranchamber.com/calendar/converter/iranian_calendar_converter.php --> |script-title=fa:ایجاد و تشکیل تعداد 25 دهستان شامل روستاها، مزارع و مکانها در شهرستان قزوین تابع استان زنجان |trans-title=‌Creation and formation of 25 rural districts including villages, farms and places in Qazvin County under Zanjan province |url=https://lamtakam.com/law/council_of_ministers/110231 |archive-url=https://web.archive.org/web/20250625162357/https://lamtakam.com/law/council_of_ministers/110231 |archive-date=25 June 2025 |access-date=25 June 2025 |website={{lang|fa|rtl=yes|لام تا کام}} [Lam ta Kam] |publisher={{lang|fa|rtl=yes|‌وزارت کشور}} [Ministry of the Interior] |agency={{lang|fa|rtl=yes|هیات وزیران}} [Council of Ministers] |language=fa |id={{lang|fa|rtl=yes|شناسه}} [ID] 9425AEBD-4C13-40ED-8980-AB3520B53C94. {{lang|fa|rtl=yes|شماره دوره}} [Course number] 66, {{lang|fa|rtl=yes|شماره جلد}} [Volume number] 6.}}</ref>{{efn|Formerly [[Basharyat-e Gharbi Rural District|Basharyat Rural District]]<ref name="Abyek County Establishment"/>}} The village of Khak-e Ali was converted to a city in 2004.<ref name="Khak-e Ali City"> {{cite web |first=Mohammad Reza |last=Aref |author-link=Mohammad Reza Aref |orig-date={{lang|fa|rtl=yes|تاریخ تصویب}} (Approval date) 1383/06/30 (Iranian Jalali calendar) |date=20 September 2004 <!-- Converted 'Approval date' using https://www.iranchamber.com/calendar/converter/iranian_calendar_converter.php --> |script-title=fa:اصلاحات تقسیماتی در شهرستانهای قزوین ، آبیک و تاکستان |trans-title=‌Divisional reforms in the counties of Qazvin, Abyek and Takestan |url=https://lamtakam.com/law/council_of_ministers/124088 |archive-url=https://web.archive.org/web/20250628163012/https://lamtakam.com/law/council_of_ministers/124088 |archive-date=28 June 2025 |access-date=28 June 2025 |website={{lang|fa|rtl=yes|لام تا کام}} [Lam ta Kam] |publisher={{lang|fa|rtl=yes|‌وزارت کشور}} [Ministry of the Interior] |agency={{lang|fa|rtl=yes|کمیسیون سیاسی دفاعی هیأت دولت}} [Political Defense Commission of the Government Board] |language=fa |id={{lang|fa|rtl=yes|شناسه}} [ID] A842E10D-C667-4C61-BB0E-C8B16F43BD70.}}</ref>

==Demographics== ===Population=== At the time of the 2006 National Census, the city's population was 3,146 in 790 households.<ref name="2006 Qazvin Province"> {{cite web |script-title=fa:سرشماري عمومي نفوس و مسكن 1385 : استان قزوین |trans-title=General Population and Housing Census 2006: Qazvin Province |language=fa |website={{lang|fa|rtl=yes|مرکز آمار ایران}} [Statistical Centre of Iran] |url=http://www.amar.org.ir/DesktopModules/FTPManager/upload/upload2360/newjkh/newjkh/26.xls |archive-url=https://web.archive.org/web/20110920090740/http://www.amar.org.ir/DesktopModules/FTPManager/upload/upload2360/newjkh/newjkh/26.xls |archive-date=20 September 2011 |format=Excel |access-date=25 September 2022}}</ref> The following census in 2011 counted 3,352 people in 1,000 households.<ref name="2011 Qazvin Province"> {{cite web |script-title=fa:سرشماري عمومي نفوس و مسكن 1390 : استان قزوین |trans-title=General Population and Housing Census 2011: Qazvin Province |language=fa |website=Iran Data Portal—Syracuse University |url=https://irandataportal.syr.edu/wp-content/uploads/Qazvin.xls |archive-url=https://web.archive.org/web/20230119221156/https://irandataportal.syr.edu/wp-content/uploads/Qazvin.xls |archive-date=19 January 2023 |agency={{lang|fa|rtl=yes|مرکز آمار ایران}} [Statistical Centre of Iran] |format=Excel |access-date=19 December 2022}}</ref> The 2016 census measured the population of the city as 3,148 people in 1,001 households.<ref name="2016 Qazvin Province"> {{cite web |script-title=fa:سرشماري عمومي نفوس و مسكن 1395 : استان قزوین |trans-title=General Population and Housing Census 2016: Qazvin Province |language=fa |website={{lang|fa|rtl=yes|مرکز آمار ایران}} [Statistical Centre of Iran] |url=https://www.amar.org.ir/Portals/0/census/1395/results/abadi/CN95_HouseholdPopulationVillage_26.xlsx |archive-url=https://web.archive.org/web/20211130193527/https://www.amar.org.ir/Portals/0/census/1395/results/abadi/CN95_HouseholdPopulationVillage_26.xlsx |archive-date=30 November 2021 |format=Excel |access-date=19 December 2022}}</ref>

==See also== {{Portal-inline|Iran}} {{clear}}

== Notes == {{notelist}}

== References == {{reflist}}

{{Authority control}}

{{Qazvin Province|state=collapsed}}

{{Abyek County|state=collapsed}}

[[Category:Cities in Qazvin province]]

[[Category:Populated places in Abyek County]]

[[Category:2004 establishments in Iran]]

{{Abyek-geo-stub}}