On Tuesday, a blast targeting a patrol team ripped through the city, wounding two soldiers and killing three alleged attackers.
A nurse at the local hospital told the AFP news agency that four people had been killed by what appeared to be stray bullets.
Residents have started to pack their belongings and load up cars, hoping to leave Maiduguri. The local university closed its doors indefinitely due to security concerns on Monday. Most of its 35,000 students come from other parts of the country.
Many are fleeing after soldiers were accused of shooting civilians, according to residents. Mainasara Mukhtar told the AFP news agency that he was leaving for fear of violence in his neighbourhood.
“Fliers were anonymously distributed in the neighbourhood warning of impending attacks and residents moved out to avoid being killed by soldiers as it happened in Kalari (neighbourhood),” Mukhtar said.
The northeastern city of Maiduguri has seen the brunt of the violence by Boko Harem, which has intensified in recent weeks.
Attacks have included frequent bomb blasts and shootings. Last weekend, a shootout between soldiers and suspected sect members left at least 11 dead.