The attack on Sunday took place in Dablo, about 200 kilometres (124 miles) from the capital, Ouagadougou.
Urbain Kabore, a government spokesman for the West African country’s Sahel region, said the gunmen also set fire to a health centre and destroyed all places serving alcohol.
There was no immediate claim of responsibility but the attacks bore the hallmarks of Islamic extremists who are known to be active in the area. An attack on a Protestant church about two weeks ago left six people dead.
Burkina Faso has been increasingly destabilised by jihadists from across the border in Mali. Attacks have included the kidnapping of foreigners.