The 25-year-old, who weighed 47 stone, was too big to fit down the halls in his apartment block.
Paramedics who arrived to take him to hospital had to call fireman when they realised it would require heavy lifting machinery to remove him.
The unnamed man died a couple of hours after emergency services were first called on Tuesday morning.
His body was removed by firemen via his balcony in San Juan de Aznalfarache near Sevilla.
Ayuntamiento bosses agreed to pay for his funeral after it emerged his family were poverty stricken and could not afford it.
He was buried Wednesday afternoon.
He died of natural causes linked to his obesity.
According to World Health Organisation figures, some 22.8% of Spanish men are obese, while among Spanish women the figure is higher at 24.7%.