Two rockets struck Kabul's sensitive green zone late Sunday, home to several embassies and security headquarters, though police said there were no casualties.
"At around 9:15 pm (1645 GMT) tonight, two rockets fired from an unknown location hit Kabul city, causing no casualties," police spokesman Hashmat Stanikzai said on his Twitter account.
A spokesman for the International Security Assistance Force (ISAF), the Nato-led military force in the country, added: "Two rockets landed in Kabul green zone, there is no report of injuries."
The rocket attack came after British forces Sunday handed over formal control of their last base in the country, Camp Bastion in southern Helmand.
The green zone houses the US and German embassies, as well as the headquarters of the National Directorate of Security, Afghanistan's main intelligence service.
No group immediately came forward to claim responsibility.
Taliban insurgents sporadically attack the capital at night with rockets though the weapons are imprecise and usually cause limited damage.
There has been a surge of attacks on local security forces as foreign combat troops withdraw from Afghanistan by the end of the year.
At least four Afghan soldiers were killed and around a dozen people, including six civilians, wounded when a roadside bomb planted by the Taliban exploded in the Afghan capital on Tuesday.
The inauguration of new President Ashraf Ghani last month was also marred by a spate of suicide attacks on security forces, killing more than a dozen people.
All NATO combat troops will depart Afghanistan by December, leaving Afghan troops and police to battle Taliban insurgents on their own.