Military spokesman Brig. Gen. Restituto Padilla said the "humanitarian pause" in military assaults will take effect at 6 a.M. Sunday in predominantly Muslim Marawi but will be lifted immediately if the militants open fire or threaten troops and civilians.
"If the enemy starts firing ... Anyone can exercise their right to self-defense," Padilla said in a statement.
The intense fighting has turned large swaths of the mosque-dotted city, a bastion of Islamic faith in the south of the largely Roman Catholic nation, into a smoldering war zone.
About 500 gunmen, including several foreign fighters, stormed the lakeside city of 200,000 people, occupied buildings, burned schools and hoisted Islamic State group- style black flags on May 23.
More From This Section
Faced by his worst crisis, President Rodrigo Duterte responded by declaring martial law in the south and ordering a massive offensive.
The fighting has forced more than 300,000 people to abandon their homes in Marawi and outlying towns and flee to evacuation centers, which rapidly became overcrowded, making it difficult for them to celebrate the Eid el-Fitr holiday.