At least 10 members of Iraqi security forces died Friday when a suicide attacker drove a truck filled with explosives into a barracks in Ramadi, capital of the conflictive western province of Anbar.
Among the victims were soldiers and members of the pro-government Sunni militias known as Salvation Councils, a security official in Anbar told Efe.
The powerful explosion also laid waste to the building and the vehicles parked around it, the official said.
The incident came after seven soldiers died Friday morning in a car-bomb attack against a checkpoint in Fallujah, Anbar's second city.
Bombings by government forces against four Fallujah neighborhoods also left at least two civilians dead and nine wounded, while a number of homes were damaged or destroyed.
For more than a month, Anbar's two largest cities, Ramadi and Fallujah, have witnessed clashes between security forces and insurgents led by the al-Qaeda-linked Islamic State in Iraq and the Levant, or ISIL.
Tribal militias in the majority Sunni province are divided. Some support Iraq's Shiite-headed government, while others have lined up with ISIL.
The fighting in Anbar has displaced more than 300,000 people, according to figures released by the U.N. this week.
Elsewhere in the country, three soldiers lost their lives when an improvised explosive device blew up as their patrol went through the town of Al Riad, some 190 kilometers (118 miles) north of Baghdad. EFE