Coroner Louise Hunt said: "It is clear from evidence available to me that Neil Murphy was found dead lying on a sunbed at the hotel Mare Nostrum on August 13.
"I am going to record that he died from heatstroke."
On the day of Mr Murphy's death, forecasters had put the island on yellow alert as temperatures were predicted to reach highs of 32C.
Mr Murphy, from Sheldon, Birmingham, told friends on Facebook how much he was looking forward to visiting Space nightclub prior to leaving.
He posted: "Sun and Space!!! A nice week away in Ibiza. Roll on August 12th. It's going to be fun... first time away for a few years and can't wait for it.
"Been before on my own and it's always good.
"I've always said that the only club I could ever be arsed going to would be Space and it's only up the road from the hotel. So it'll be rude not to go to it."
August is the hottest month in Ibiza with an average temperature of 26C.