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.

Five Turkish soldiers killed in helicopter crash
Hostages held in Colombia supermarket after failed carjacking
11 injured in Houthi attack on Riyadh financial district tower
Explosion kills 6, injures 10 in Vietnam capital Hanoi
Pakistani pilot to become first foreigner to fly to China's space station
Sheikh Hasina seeks to return to Bangladesh on December 16 on state carrier
Israeli airstrikes kill at least six Palestinians in Gaza, medics say
Israeli airstrike kills at least 3 Palestinians in southern Gaza, medics say
