New infections reported from Hubei have been on a downward trend for several weeks and multiple cities in the province have reported zero new cases in recent days.
A senior government official hinted on Friday that China may soon lift the lockdown on the province imposed in late January, which has effectively restricted the movement of some 56 million people in Hubei.
Nationwide new infections have also been on a downward trend, but confirmed imported cases have prompted fears in recent days that infections could swell as people get infected overseas.
The two cases reported in Beijing Sunday were arrivals from Italy and Spain, the capital's health commission said.
The number of coronavirus cases has risen worldwide to more than 100,000, with 3,500 dead across 95 nations and territories.