After having his gallbladder and appendix removed in 2014, he cancelled a series of shows in attempt to recover.
It has been revealed that Avicii's body will be flown to Sweden around this week, said the Oman police.
He quit touring for health reasons in 2016 but continued making music in the studio.
He also suffered from acute pancreatitis brought on, in part, by heavy drinking.
Sources told TMZ that Bergling's older brother, David Bergling, is in Muscat, Oman and checked into a hotel near the resort where his brother was vacationing.
"Devastating news about Avicii, a beautiful soul, passionate and extremely talented with so much more to do", Calvin Harris writes. My heart goes out to his family. @Avicii was a genius and a music innovator, and I can not believe he is no longer with us. "So Tragic. Good Bye Dear Sweet Tim". Go to bed. Get some rest.' ... "He loved pure dance music". Both "Levels" and "Wake Me Up" were certified platinum; the singles "Waiting for Love", "The Nights", "You Make Me" and "I Could Be the One" - a collaboration with Nicky Romero - went gold.
Avicii has been remembered throughout the second weekend of the Coachella Music Festival in Indio, California.
Dillon Francis: "RIP @Avicii you will be insanely missed...my deepest condolences to his family".
Avicii was a pioneer of the contemporary Electronic Dance Movement who won two MTV Music Awards, one Billboard Music Award and earned two Grammy nominations.
Aloe Blacc: "My heartfelt condolences to Tim's family and close friends".
"It was always very hard for me".
Martin Garrix: "Can't really describe in words how sad I feel right now. thank you for inspiring me and millions others". We had to actually put end times on the sessions because Tim would just work for 16 hours straight, which was his nature.
Fans gather to honour late Swedish DJ Avicii.
- Estocolmo rinde homenaje al DJ Avicii
- 'Firmatón' para impedir concierto de Maluma en España
- La cuarta silla del jurado ya tiene dueña y es Laurita Fernandez
- Convocan a reunión de Unasur en mayo para intentar superar división
- A soldado estadounidense se le trasplantó pene y escroto
- Confirman que este 30 de abril será día laborable
- El candidato presidencial Henri Falcón propone dolarizar la economía venezolana
- Corona rompió su sequía con Porto, nuevo líder de Portugal
- Enrique Peña Nieto felicita a nuevo presidente de Paraguay, Abdo Benítez
- Rivaldo ve a Neymar en el Real Madrid