Niger’s Tillabéri region, where the villages are situated, lies within the so-called tri-border area between Niger, Mali and Burkina Faso, which has been plagued by jihadi attacks in recent years.
Travel by motorbike has been banned in the region for a year, as part of efforts to stop incursions by Islamic militants, who often launch attacks from the vehicles.
Areas of Niger are also facing repeated attacks by jihadists from Nigeria, where the government is fighting an insurgency by Boko Haram.
Last month, members of the group killed at least 27 people in Niger’s south-eastern Diffa region.
The latest attacks in Tillabéri come amid national elections in Niger, as President Mahamadou Issoufou steps down after two five-year terms.
Election officials announced provisional results on Saturday, showing a lead for Mohamed Bazoum – a former minister and a member of Niger’s ruling party.
A second round of votes is expected to be held on 21 February, once ballots have been validated by the country’s constitutional court.