The area around Hakui has been settled since the pre-Jōmon period was part of ancient Noto Province. The "ichinomiya" of Noto province, Keta Taisha is located in Hakui, and shrine legend asserts that this is the location at which Ōkuninushi landed with 300 of his folders from Izumo to subdue the inhabitants of Noto Peninsula during the reign of the demi-legendary 8th Emperor Kōgen or 10th Emperor Sujin. The name of "Hakui" is derived from the "kanji" 羽 (ha), meaning feathers, and 咋 (kui) meaning "to eat". This name comes from an ancient legend which tells of Prince Iwatsuku (the son of Emperor Kōgen) killing a monstrous bird which plagued the area. The Prince's dogs went to the beast's body and pulled away mouthfuls of feathers.