Several blasts shook the Baghdad area hours after a huge funeral procession for a top Iranian general killed by a US air strike on Thursday.
A projectile hit the Green Zone near the US embassy while several more were fired north of the Iraqi capital at Balad air base, which houses US forces.
Nobody was hurt in the attacks, Iraqi security sources say.
Iranian leaders have vowed to avenge the killing of Qasem Soleimani, who was regarded as a terrorist by the US.
Saturday's funeral procession through Baghdad and Iraq's Shia Muslim holy cities precedes the return of his remains to Iran.
Iraqis were also mourning the death of Abu Mahdi al-Muhandis, an Iraqi who commanded the Iranian-backed Kataib Hezbollah group and was killed along with Soleimani.
In another development, the group issued a warning to Iraqi security forces to "stay clear of American bases by a distance not less [than] 1,000m (0.6 miles) starting Sunday evening", al-Mayadeen TV reported.
In response to Iranian threats of revenge, the US has sent 3,000 more troops to the Middle East and advised its citizens to leave Iraq.
What happened in the new attacks?
At least one rocket or mortar round hit Celebration Square in the Green Zone while another exploded in the city's Jadria area, Iraqi security sources say.
After two rockets hit Balad air base, surveillance drones were sent up to locate the source, AFP news agency reports.
No group said it had carried out the attacks. Pro-Iranian militants have been blamed for other recent rocket attacks on US interests in Iraq.
How did the Iraqi stage of the funeral proceed?
Waving Iraqi and militia flags and chanting "Death to America", mourners walked behind the coffins from Al Muthana Airport to the gate of the Green Zone on Saturday.
Some mourners carried portraits of Soleimani while others held portraits of Iran's Supreme Leader, Ayatollah Ali Khamenei.
Later, the procession left for the holy cities of Karbala and Najaf.
Some Iraqis, conversely, celebrated in Baghdad's streets at the news of Soleimani's death. He was accused of orchestrating violent crackdowns on peaceful pro-democracy protests there in recent months.
Reports say the bodies of Soleimani and four other Iranians killed in the air strike will be flown on Saturday evening to Iran, which has declared three days of mourning for the assassinated general. His funeral in Iran is to be held on Tuesday.
Iran's retaliation is certain, but when, where and how is not. For now, the priority is to cement Qasem Soleimani's status as a national hero, to ensure he remains powerful in death as in life.
Elaborate plans for his funeral have been expanded, a mix of carefully scripted ceremony with outpourings of grief filling the streets. It begins in Baghdad where he died, and where so much of his legacy lives.
From there his remains travel to Iran's holy city of Mashhad, to his hometown Kerman, and then to Tehran where the supreme leader will preside over final prayers – a rare honour, to send another signal. Ayatollah Khamenei has promoted his loyal officer to lieutenant general.
More important is to elevate his martyrdom, to draw in rivals who resented his status and Iranians who reviled his costly foreign adventures. Iranian leaders hope his killing will unite a nation as it stares at a far more uncertain future.
How has Iran responded to the assassination?
Its leaders have pledged to avenge the death of the man who led the Quds Force, an elite unit of the Iranian Revolutionary Guard Corps (IRGC).
Soleimani, 62, was widely seen as the second most powerful figure in Iran after Ayatollah Khamenei. The Quds Force reported directly to the ayatollah, and Soleimani was hailed as a heroic national figure.
Visiting Soleimani's family members at their house in Tehran, Iranian President Hassan Rouhani said: "Revenge for his blood will be exacted on that day when the filthy hands of America will be cut off forever from the region."
Ayatollah Khamenei promised earlier that revenge would be "forceful" while a senior IRGC general, Gholamali Abuhamzeh, raised the prospect of attacks on US warships in the Gulf.
At a march in Tehran on Saturday, one demonstrator told Reuters: "[Soleimani] was a man who – unlike many of our officials – was an enemy for our enemies and treated our own people very well. Therefore he was very popular. So, the only thing we want of our statesmen and our supreme leader is… to take revenge."
Simmering US-Iranian hostilities escalated rapidly last week after the US conducted air strikes in Iraq and Syria against Kataib Hezbollah, which the US blamed for an earlier rocket attack that killed an American civilian contractor. Pro-Iranian militia attacked the US embassy in Baghdad in response.
In a letter to the UN Security Council responding to the strike on Soleimani, Iran's UN ambassador Majid Takht Ravanchi said that Iran reserved the right to self-defence under international law. Analysts said Iran could deploy cyber-attacks against the US, or attempt to strike US military targets or interests in the Middle East.
Why did the US kill Soleimani?
US President Donald Trump accused "the number one terrorist anywhere in the world" of "plotting imminent and sinister attacks on American diplomats and military personnel".
But no details were given of the alleged planned attacks and a New York Times correspondent has quoted two unnamed US officials as telling her that evidence of such plotting was "razor thin".
1. Ive had a chance to check in with sources, including two US officials who had intelligence briefings after the strike on Suleimani. Here is what Ive learned. According to theRead More – Source