King Salman will undergo a treatment programme at Al Salam Palace in Jeddah for a lung inflammation, the state news agency said on Sunday, hours after he underwent medical tests.
Citing the royal court, the state news agency said the 88-year-old king would be treated with antibiotics until the inflammation subsides.
Due to King Salman's health issue, Crown Prince Mohammed bin Salman postponed a visit to Japan that had been scheduled to begin on Monday, Japan's Chief Cabinet Secretary Yoshimasa Hayashi said.
Earlier on Sunday, King Salman underwent medical tests at the royal clinics at Al Salam Palace due to "high temperature and joint pain", the state news agency said.
The king was last admitted to hospital in April for a routine checkup, state TV reported then.
King Salman, the custodian of Islam's holiest sites, became ruler of the world's top oil exporter in 2015 after spending more than 2-1/2 years as the crown prince and deputy premier.
The father and stepmother of Sara Sharif, a 10-year-old girl who was found dead in her home in Britain, were on Wednesday convicted of her murder after a trial which heard harrowing details of her treatment before her death.
The Afghan Taliban's acting minister for refugees, Khalil Rahman Haqqani, and six other people were killed in an explosion in the capital Kabul on Wednesday, his nephew said.
Israeli strikes in the northern and central Gaza Strip on Wednesday killed at least 33 Palestinians, most of them in Beit Lahiya town in the north of the enclave, medics said.
Syrian rebels backed by Turkey, who ousted president Bashar al-Assad, said on Tuesday they had taken the eastern city of Deir ez-Zur, while a war monitor confirmed Kurdish forces had withdrawn.
The death toll from a Russian missile strike that destroyed a clinic in the Ukrainian city of Zaporizhzhia on Tuesday has risen to six, while four more people remain under the rubble, the regional governor and emergency services said on Wednesday.