The Ganja Khanate (also spelled Ganjeh; Persian: خانات گنجه, romanized: Khānāt-e Ganjeh) was a khanate under Iranian suzerainty, which controlled the town of Ganja and its surroundings, now located in present-day Azerbaijan.
It was governed by members of the Ziyadoghlu clan of the Turkic Qajar tribe, who had previously held the governorship of Karabakh under the Safavid dynasty of Iran. After the death of the Iranian shah (king) Nader Shah (r. 1736–1747), Shahverdi Khan Ziyadoghlu captured Ganja with the aid of the Georgian kings Teimuraz II (r. 1732–1762) and Heraclius II (r. 1744–1798). By paying tribute to either the Karabakh Khanate or Georgia, Shahverdi Khan tried to do everything possible to prevent the khanate from being attacked by his neighbors.