The report is devoted to the plans of Peter I to subdue the Khanate of Khiva, the preparation of the campaign of Captain Alexander Cherkassky to Khiva in 1717, and the clarification of the circumstances of the failure that befell this large-scale enterprise. New documents from the RGADA and the Archive of Foreign Policy of the Russian Empire of the Russian Foreign Ministry are used.