Masarautar Lapai, a yau a Nijeriya, ƙasa ce ta gargajiya wacce take kusa da Kogin Gurara, haraji ne ga Kogin Neja, wanda a da can mazaunin garin Gbari ne, kuma a halin yanzu ya zo ƙarƙashin ikon mutanen Nupe, wanda ya mamaye kusan yanki ɗaya kamar yadda karamar hukumar Lapai ta zamani. A cikin shekarar ta alib 1790s Masarautar Nupe ta kasance mai tashe a yankin kuma ta karɓi Lapai daga Oyo. Koyaya, tare da farmakin Fulani Jihad ɗin ƙasashensu, gami da Lapai, Khalifancin Sokoto ya ci su da yaƙi. Mutanen yankin sun zama karkashin masarautar Hausa ta Zazzau. Bayan shekara ta alib 1804 sun zo karkashin masarautar Fulanin ta Zariya, wani yanki na daular Gwandu. An raba masarautar Lapai da masarautun Zariya da Agaie a shekarar ta alib 1825. An kafa masarautar ne a shekarar ta alib 1828 lokacin da Mallam Baba ya tura Laftanar Daudu Muza don ya mamaye yankin. Daudu ya yi nasara, amma ya riƙe ƙasar don kansa. Masarautar ta ci gaba da kasancewa mai kula da masarautar Gwandu har zuwa shekara ta alib 1903, lokacin da Turawan mulkin mallaka suka mallake ta.