Hamengkubuwono IV, also spelled Hamengkubuwana IV (3 April 1804 – 6 December 1823) was the fourth sultan of Yogyakarta, Indonesia, reigning from 3 April 1814 to 6 December 1823.
He was the younger half brother of Prince Diponegoro.
His reign was a period of political deterioration that ultimately led up to the Java War.
Upon his premature death, rumours circulated that he had been poisoned.
His three-year-old son, Hamengkubuwana V, ascended the throne amid controversy over who would act as regent.