According to his papers, Sodimedjo, also known as Mbah Ghoto (grandpa Ghoto), was born in December 1870.
But Indonesia only started recording births in 1900 - and there have been mistakes before.
Yet officials told the BBC his papers were valid, based on documents he provided and interviews with him.
He was taken to hospital on 12 April because of deteriorating health. Six days later he insisted on checking out to return home.
"Since he came back from the hospital, he only ate spoonfuls of porridge and drank very little," his grandson Suyanto told the BBC.