The Treaty of Hamedan was a treaty between the Ottoman Empire and the Hotaki dynasty signed in October 1727 in Hamedan, ending the Ottoman–Hotaki War (1726–1727).