Die-hard jihadists made a desperate last stand in Ramadi's former government complex, the main remaining target of Iraqi forces reconquering the city they lost in May.
After a push on Tuesday that broke the Islamic State group's defences around the city centre, government forces were slowed by snipers, booby traps, roadside bombs and suicide attackers.
Initial hopes of a quick victory faded, but Iraq's elite counter-terrorism service (CTS) and the army have advanced steadily through the devastated capital of Anbar province.
They reached a key intersection in the Hoz neighbourhood, home to the government complex, whose seizure would go a long way towards ensuring a full recapture of Ramadi.
"CTS has cleared Hoz neighbourhood in central Ramadi completely and arrived near the government complex," spokesman Sabah al-Numan told AFP.
Map showing the battle for Ramadi, where Iraqi government troops are fighting Islamic State group fighters.
Iraq's war media cell, which speaks on behalf of the interior and defence ministries as well as the paramilitary groups fighting IS, said the jihadists' use of improvised explosive devices had forced a shift in strategy.
"The plan was to enter Hoz from Dhubbat but because of the mines, CTS changed tack and came in from the river bank," a statement said.
The latest fighting left at least two members of the security forces dead and nine wounded, according to police Captain Ahmed al-Dulaimi.
At least three were killed on Friday, according to several senior officers and local officials.
The figures they provide for IS casualties are high, with at least 23 killed on Friday alone.
The number of IS fighters hunkered down in central Ramadi was estimated at the start of the operation five days ago at no more than 400.
Boost for military
Iraqi counter-terrorism forces are seen in Ramadi's Dhubbat neighberhood, adjacent to Hoz, on December 25, 2015, as fighting to reclaim territory from Islamic State jihadists continued.
"You have the 8th Iraqi Army and CTS... and they're all pushing forward," said Colonel Steve Warren, spokesman for the US-led coalition supporting Iraqi forces in Ramadi with daily air strikes.
"CTS have made more progress; they're several hundred metres (yards) closer to the government complex," Warren said.
The government forces' advance has also been hampered by the possible presence of families trapped in the combat zone and used by IS as human shields.
Iraq's elite counter-terrorism service and the army have advanced steadily through Ramadi, the d …
Civilians who escaped said after being taken by the army to camps east of Ramadi that there was little food for those left behind.
One of them said he and his family were rescued after retreating IS fighters used them as human shields to leave the city.
Iraq's elite counter-terrorism service and the army have advanced steadily through Ramadi, the devastated capital of Anbar province.
"More than 250 families residing in Ramadi have been able to get out of the city since the beginning of military operations" Tuesday, said Ali Dawood, an official from the neighbouring Khaldiya district.
He said some of them were in camps with other displaced people in Anbar while others headed to Baghdad or the northern autonomous Kurdish region.
According to the International Organization for Migration, Anbaris account for over a third of the 3.2 million Iraqis who have been forced from their homes since January 2014.
Government forces held off months of IS assaults in Ramadi until May 2015, when the jihadists blitzed their opponents with massive suicide car bombs and seized full control of the city.
That defeat was Baghdad's worst in the war against IS, and a victory now would provide a welcome boost to the much-criticised federal forces.
Iraq's counter-terrorism forces operate in Ramadi's Dhubbat area on December 25, 2015.
Elsewhere Iraqi Kurdish forces carried out a commando operation near Hawijah in which several senior members of the Islamic State group were captured or killed, local and security sources said Saturday.
The operation involved helicopters and bore similarities with a joint raid elite Kurdish troops conducted in October with US special forces also near Hawijah, the sources said.
Local Iraqi security officials said the raid took place overnight in the town of Riyadh, southeast of IS-held Hawijah and southwest of Kurdish-controlled Kirkuk.
Rokan Mekhlef Jassem, a police captain from Hawijah, said nine IS members were detained and 12 killed, but no confirmation was immediately available from the government of the autonomous Kurdish region.