Donald Trump has been seen wearing a mask in public, despite previously appearing reluctant to endorse their use.
The pandemic reached the US in March, and has infected more than 3.2 million people and killed at least 134,000 – a higher number of deaths than in any other country.
But, despite health officials recommending face coverings as a way of limiting the spread of the coronavirus, Mr Trump has previously refused to wear them at public events.
The Associated Press quoted sources close to the president as saying he feared wearing a mask would make him look weak and that it would shift the focus away from the economic recovery.
He has acknowledged that a mask should be worn if people are close together indoors but he has accused reporters of wearing them to be politically correct.
He has also retweeted messages making fun of his Democratic presidential rival Joe Biden for wearing a mask.
When asked about why he had worn a mask on Saturday, Mr Trump told reporters: “When you’re in a hospital especially… I think it’s expected to wear a mask.”
The only other time Mr Trump has been seen wearing a mask was during a private tour of a factory in Michigan in May but he was reluctant to be photographed.
He said later: “I had one on before. I wore one in the back area. I didn’t want to give the press the pleasure of seeing it.”
Meanwhile on Saturday, Texas reported a record rise in the number of new cases and a record high in the number of people in hospital with the disease.
The number of cases rose by 10,351 to 250,462 and the number of people in hospital was up by 81 to 10,083, according to the state’s health department.
Texas governor Greg Abbott warned residents “things will get worse”, just a day after he said new rules could be imposed if the state could not stop the number of cases from rising.