 When King Chulalongkorn created Monthon Phetchaburi, Kui Buri was included.In 1898 the city hall was moved to Ko Lak bay and Kui Buri was downgraded to a subdistrict of Mueang Prachuap Khiri Khan District.The minor district ("king amphoe") of Kui Buri was re-established on 19 July 1960 and officially upgraded to a full district on 16 July 1963.