US intelligence agencies were issuing ominous, classified warnings in January and February about the global danger posed by the coronavirus while Donald Trump and members of congress played down the threat and failed to take action that might have slowed the spread of the outbreak, according to US officials familiar with spy agency reporting.

The intelligence reports didn't predict when the virus might land on US shores or recommend particular steps that public health officials should take, issues which are outside the remit of the intelligence agencies. But they did track the spread of the virus in China, and later in other countries, and warned that Chinese officials appeared to be minimising the severity of the outbreak.

Taken together, the reports and warnings painted an early picture of a virus that showed the characteristics of a globe-encircling pandemic that could require governments to take swift actions to contain it. But despite that constant flow of reporting, Mr Trump continued publicly and privately to play down the threat the virus posed to Americans. Members of congress, too, did not grapple with the virus in earnest until this month, as officials scrambled to keep citizens in their homes and hospitals braced for a surge in patients suffering from Covid-19, the disease caused by the coronavirus.

Intelligence agencies “have been warning on this since January”, said a US official who had access to intelligence reporting that was disseminated to members of congress and their staff as well as to officials in the Trump administration, and who, along with others, spoke on the condition of anonymity to describe sensitive information.

“Donald Trump may not have been expecting this, but a lot of other people in the government were - they just couldn't get him to do anything about it,” this official said. “The system was blinking red.”

Coronavirus turns New York into a ghost town Show all 26 1 /26 Coronavirus turns New York into a ghost town Coronavirus turns New York into a ghost town An empty street in Manhattan borough following the outbreak of coronavirus disease in New York City Reuters Coronavirus turns New York into a ghost town A cab drives down at Seventh Avenue in Times Square Reuters Coronavirus turns New York into a ghost town Manhattan Empty street is seen in Manhattan borough following the outbreak of coronavirus disease (COVID-19), in New York City, U.S., Mar 15, 2020. REUTERS/Jeenah Moon JEENAH MOON Reuters Coronavirus turns New York into a ghost town Syracuse University campus is seen almost empty as number of universities are moving all classes to e-learning, due to the coronavirus outbreak Reuters Coronavirus turns New York into a ghost town Manhattan Empty street is seen near Lincoln tunnel Reuters Coronavirus turns New York into a ghost town Manhattan An empty restaurant Reuters Coronavirus turns New York into a ghost town Manhattan Empty street is seen in Manhattan borough following the outbreak of coronavirus disease (COVID-19), in New York City, U.S., March 15, 2020. REUTERS/Jeenah Moon JEENAH MOON Reuters Coronavirus turns New York into a ghost town Manhattan Empty street is seen in Manhattan borough following the outbreak of coronavirus disease (COVID-19), in New York City, U.S., Mar 15, 2020. REUTERS/Jeenah Moon JEENAH MOON Reuters Coronavirus turns New York into a ghost town Manhattan Empty chairs are seen near Hudson yards Reuters Coronavirus turns New York into a ghost town Manhattan Empty street is seen in Manhattan borough following the outbreak of coronavirus disease (COVID-19), in New York City, U.S., March 15, 2020. REUTERS/Jeenah Moon JEENAH MOON Reuters Coronavirus turns New York into a ghost town Manhattan An empty restaurant Reuters Coronavirus turns New York into a ghost town A mobile souvenir shop sits in an empty parking lot at Allianz Field as a match between the New York Red Bulls at Minnesota United FC is postponed USA Today Sports/Reuters Coronavirus turns New York into a ghost town Manhattan Empty street is seen in Manhattan borough following the outbreak of coronavirus disease (COVID-19), in New York City, U.S., Mar 15, 2020. REUTERS/Jeenah Moon JEENAH MOON Reuters Coronavirus turns New York into a ghost town Manhattan An empty Jacob K Javits Convention Center Reuters Coronavirus turns New York into a ghost town Syracuse University A person sits in an empty eating hall Reuters Coronavirus turns New York into a ghost town Manhattan Empty parking lots Reuters Coronavirus turns New York into a ghost town Manhattan Empty street is seen in Manhattan borough following the outbreak of coronavirus disease (COVID-19), in New York City, U.S., Mar 15, 2020. REUTERS/Jeenah Moon JEENAH MOON Reuters Coronavirus turns New York into a ghost town Manhattan Jacob K Javits Convention Center Reuters Coronavirus turns New York into a ghost town Seventh Avenue A man crosses 7av in Times Square while it is seen nearly empty during a regular day due to the coronavirus disease (COVID-19) in New York City, New York, U.S., March 14, 2020. REUTERS/Eduardo Munoz Nunes slams China on handling of coronavirus: 'They downplayed it' Nunes slams China on handling of coronavirus: 'They downplayed it' EDUARDO MUNOZ Reuters Coronavirus turns New York into a ghost town Manhattan Empty street is seen in Manhattan borough following the outbreak of coronavirus disease (COVID-19), in New York City, U.S., March 15, 2020. REUTERS/Jeenah Moon JEENAH MOON Reuters Coronavirus turns New York into a ghost town Manhattan Empty street is seen in Manhattan borough following the outbreak of coronavirus disease (COVID-19), in New York City, U.S., March 15, 2020. REUTERS/Jeenah Moon JEENAH MOON Reuters Coronavirus turns New York into a ghost town Manhattan Empty street is seen in Manhattan borough following the outbreak of coronavirus disease (COVID-19), in New York City, U.S., Mar 15, 2020. REUTERS/Jeenah Moon JEENAH MOON Reuters Coronavirus turns New York into a ghost town Manhattan Empty retail stores Reuters Coronavirus turns New York into a ghost town Manhattan Empty street is seen outside the New York Times building Reuters Coronavirus turns New York into a ghost town Manhattan Empty parking lots Reuters Coronavirus turns New York into a ghost town Manhattan Empty street is seen in Manhattan borough following the outbreak of coronavirus disease (COVID-19), in New York City, U.S., Mar 15, 2020. REUTERS/Jeenah Moon JEENAH MOON Reuters

Spokespeople for the CIA and the Office of the Director of National Intelligence (ODNI) declined to comment, and a White House spokesperson rebutted criticism of Mr Trump's response.

“President Trump has taken historic, aggressive measures to protect the health, wealth and safety of the American people - and did so, while the media and Democrats chose to only focus on the stupid politics of a sham illegitimate impeachment,” Hogan Gidley said in a statement. “It's more than disgusting, despicable and disgraceful for cowardly unnamed sources to attempt to rewrite history - it's a clear threat to this great country.”

Public health experts have criticised China for being slow to respond to the coronavirus outbreak, which originated in Wuhan, and have said precious time was lost in the effort to slow the spread. At a White House briefing on Friday, Alex Azar, the health and human services secretary, said officials had been alerted to the initial reports of the virus by discussions that the director of the Centres for Disease Control and Prevention (CDC) had with Chinese colleagues on 3 January.

The warnings from US intelligence agencies increased in volume towards the end of January and into early February, said officials familiar with the reports. By then, a majority of the intelligence reporting included in daily briefing papers and digests from the ODNI and the CIA was about Covid-19, said officials who have read the reports.

The surge in warnings coincided with a move by senator Richard Burr, to sell dozens of stocks worth between $628,033 (£539,084) and $1.72m (£1.47m). As chairman of the Senate Intelligence Committee, Mr Burr was privy to virtually all of the highly classified reporting on the coronavirus. Mr Burr issued a statement on Friday defending his sell-off, saying he did so based entirely on publicly available information, and he called for the Senate Ethics Committee to investigate.

A key task for analysts during disease outbreaks is to determine whether foreign officials are trying to minimise the effects of an outbreak or take steps to hide a public health crisis, according to current and former officials familiar with the process.

At the State Department, personnel had been nervously tracking early reports about the virus. One official noted that it was discussed at a meeting in the third week of January, around the time that cable traffic showed that US diplomats in Wuhan were being brought home on chartered planes - a sign that the public health risk was significant. A colleague at the White House mentioned how concerned he was about the transmissibility of the virus.

“In January, there was obviously a lot of chatter,” the official said.

Inside the White House, Mr Trump's advisers struggled to get him to take the virus seriously, according to multiple officials with knowledge of meetings among those advisers and with the president.

Mr Azar couldn't get through to Mr Trump to speak with him about the virus until 18 January, according to two senior administration officials. When the health secretary reached Mr Trump by phone, the president interjected to ask about vaping and when flavoured vaping products would be back on the market, the senior administration officials said.

On 27 January, White House aides huddled with then-acting chief of staff Mick Mulvaney in his office, trying to get senior officials to pay more attention to the virus, according to people briefed on the meeting. Joe Grogan, the head of the White House Domestic Policy Council, argued that the administration needed to take the virus seriously or it could cost the president his reelection, and that dealing with the virus was likely to dominate life in the United States for many months.

Mr Mulvaney then began convening more regular meetings. In early briefings, however, officials said Mr Trump was dismissive because he did not believe that the virus had spread widely throughout the United States.

By early February, Mr Grogan and others worried that there weren't enough tests to determine the rate of infection, according to people who spoke directly to Mr Grogan. Other officials, including Matthew Pottinger, the president's deputy national security adviser, began calling for a more forceful response, according to people briefed on White House meetings.

But Mr Trump resisted and continued to assure Americans that the coronavirus would never run rampant as it had in other countries.

“I think it's going to work out fine,” Mr Trump said on 19 February. “I think when we get into April, in the warmer weather, that has a very negative effect on that and that type of a virus.”

“The Coronavirus is very much under control in the USA,” Mr Trump tweeted five days later. “Stock Market starting to look very good to me!”

But earlier that month, a senior official in the Department of Health and Human Services had delivered a starkly different message to the Senate Intelligence Committee, in a classified briefing that four US officials said covered the coronavirus and its global health implications.

Robert Kadlec, the assistant secretary for preparedness and response, who was joined by intelligence officials, including from the CIA, told committee members that the virus posed a “serious” threat, one of those officials said.

Mr Kadlec didn't provide specific recommendations, but he said that to get ahead of the virus and blunt its effects, Americans would need to take actions that could disrupt their daily lives, the official said. “It was very alarming.”

Mr Trump's insistence on the contrary seemed to rest in his relationship with China's president Xi Jingping, whom Mr Trump believed was providing him with reliable information about how the virus was spreading in China, despite reports from intelligence agencies that Chinese officials were not being candid about the true scale of the crisis.

Some of Mr Trump's advisers told him that Beijing was not providing accurate numbers of people who were infected or who had died, according to administration officials. Rather than press China to be more forthcoming, Mr Trump publicly praised its response.

“China has been working very hard to contain the Coronavirus,” Mr Trump tweeted 24 January. “The United States greatly appreciates their efforts and transparency. It will all work out well. In particular, on behalf of the American People, I want to thank President Xi!”

Some of Mr Trump's advisers encouraged him to be tougher on China over its decision not to allow teams from the CDC into the country, administration officials said.

In one February meeting, the president said that if he struck a tougher tone against Mr Xi, the Chinese would be less willing to give the Americans information about how they were tackling the outbreak.

On 3 February, Mr Trump banned foreigners who had been in China in the previous 14 days from entering the United States, a step he often credits for helping to protect Americans against the virus. He has also said publicly that the Chinese weren't honest about the effects of the virus. But that travel ban wasn't accompanied by additional significant steps to prepare for when the virus eventually infected people in the United States in great numbers.

As the disease spread beyond China, US spy agencies tracked outbreaks in Iran, South Korea, Taiwan, Italy and elsewhere in Europe, the officials familiar with those reports said. The majority of the information came from public sources, including news reports and official statements, but a significant portion also came from classified intelligence sources. As new cases popped up, the volume of reporting spiked.

As the first cases of infection were confirmed in the United States, Mr Trump continued to insist that the risk to Americans was small.

“I think the virus is going to be - it's going to be fine,” he said on 10 February.

“We have a very small number of people in the country, right now, with it,” he said four days later. “It's like around 12. Many of them are getting better. Some are fully recovered already. So we're in very good shape.”

On 25 February, Nancy Messonnier, a senior CDC official, sounded perhaps the most significant public alarm to that point, when she told reporters that the coronavirus was likely to spread within communities in the United States and that disruptions to daily life could be “severe.” Mr Trump called Mr Azar on his way back from a trip to India and complained that Ms Messonnier was scaring the stock markets, according to two senior administration officials.

Mr Trump eventually changed his tone after being shown statistical models about the spread of the virus from other countries and hearing directly from Deborah Birx, the coordinator of the White House coronavirus task force, as well as from chief executives last week rattled by a plunge in the stock market, said people familiar with Mr Trump's conversations.

But by then, the signs pointing to a major outbreak in the United States were everywhere.