Burkina Faso's underequipped army has struggled to contain the Islamist attacks which have intensified this year. [Photo: AFP]

Jihadists in Burkina Faso killed 35 civilians, almost all of them women when they simultaneously attacked a town in the north and its military base in one of the deadliest assaults in nearly five years of jihadist violence in the West African country.

Seven soldiers and 80 jihadists also died in the double attack Tuesday in Arbinda in Soum province which lasted "several hours" and was of a "rare intensity", the army said.

Burkina Faso, bordering Mali and Niger, has seen regular jihadist attacks which have left hundreds dead since the start of 2015 when militant violence began to spread across the Sahel region.

"A large group of terrorists simultaneously attacked the military base and the civilian population in Arbinda," the army chief of staff said in a statement.

"This barbaric attack resulted in the deaths of 35 civilian victims, most of them women," President Roch Marc Christian Kabore added on Twitter, praising the "bravery and commitment" of the defence and security forces.

Communications Minister and government spokesman Remis Dandjinou later said 31 of the civilian victims were women, adding around 20 soldiers and six civilians were wounded.

The president has declared 48 hours of national mourning.

The morning raid was carried out by dozens of jihadists on motorbikes and lasted several hours before armed forces backed by the air force drove the militants back, the army said.

No group immediately claimed responsibility for the attack, but jihadist violence in Burkina Faso has been blamed on militants linked to both Al Qaeda and Islamic State groups.

There are about 4,500 French troops deployed in the Sahel

- 560,000 internally displaced -

Leaders of the G5 Sahel nations held summit talks in Niger earlier this month, calling for closer cooperation and international support in the battle against the Islamist threat

Militant violence has spread across the vast Sahel region, especially in Burkina Faso and Niger, having started when armed Islamists revolted in northern Mali in 2012.

The Sahel region of Africa lies to the south of the Sahara Desert and stretches across the breadth of the African continent.

There are 4,500 French troops deployed in the region as well as a 13,000-strong UN peacekeeping force in Mali to fight insurgents.

The G5 group is made up of Chad, Burkina Faso, Mali, Mauritania and Niger, whose impoverished armies have the support of French forces as well as the UN in Mali.

In Burkina Faso, more than 700 people have been killed and around 560,000 internally displaced, according to the United Nations.

Attacks have targeted mostly the north and east of the country, though the capital Ouagadougou has been hit three times.

Prior to Tuesday's attack, Burkina security forces said they had killed around a hundred jihadists in several operations since November.

An ambush on a convoy transporting employees of a Canadian mining company in November killed 37 people.

Attacks have intensified this year as the under-equipped, poorly trained Burkina Faso army struggles to contain the Islamist militancy.