The Duke of Cambridge contracted Covid-19 earlier this year, palace sources have told the BBC.
It is believed he tested positive in April at a similar time to his father, the Prince of Wales.
According to the Sun newspaper, which first reported the story, Prince William, 38, kept his diagnosis private to avoid alarming the nation.
Kensington Palace, the office and home of Prince William, refused to comment officially.
Prince William, second in line to the throne, did not tell anyone about his positive test result because “there were important things going on and I didn’t want to worry anyone”, according to the Sun.
He was treated by palace doctors and followed government guidelines by isolating at the family home Anmer Hall, in Norfolk, the paper added.
BBC royal correspondent, Jonny Dymond, said Prince William’s condition may not have been revealed publicly at the time as they may have wanted to avoid further alarm, given the national mood.
“But the palace also tries to preserve some privacy for the Royal Family,” our correspondent adds.