The Wake Me Up star's passing was confirmed by his rep today.
Avicii - real name Tim Bergling - died in Muscat, Oman but the circumstances surrounding his death are currently unclear.
In a statement, his rep said: "It is with profound sorrow that we announce the loss of Tim Bergling, also known as Avicii.
"He was found dead in Muscat, Oman this Friday afternoon local time, April 20th.
"The family is devastated and we ask everyone to please respect their need for privacy in this difficult time.
"No further statements will be given."
During his career, Avicci was nominated for two Grammy Awards and had big hits with Wake Me Up, Hey Brother and Levels.
One of his most recent singles was with Rita Ora called Lonely Together.
Tributes have already started to flow in from the music community, with fellow DJ Calvin Harris being one of their first to share their sadness.
He wrote on Twitter: "Devastating news about Avicii, a beautiful soul, passionate and extremely talented with so much more to do.
"My heart goes out to his family. God bless you Tim x"
Brit winner Dua Lipa also wrote on the site: "Such sad news to hear about Avicii passing.
"Too young and way too soon. My condolences go out to his family, friends and fans x".
Such sad news to hear about Avicii passing. Too young and way too soon. My condolences go out to his family, friends and fans x— DUA LIPA (@DUALIPA) April 20, 2018
Avicii released his first album, True, in 2013, before dropping his second record - called Stories - in 2015.
In August last year he released a self-titled EP.
However the star decided to retire from touring after a number of public health issues in the years prior to his death.
He suffered from acute pancreatitis - in part due to excessive drinking - and then in 2014 he had to cancel a number of shows to recuperate after having his gallbladder and appendix removed.
He previously explained to The Hollywood Reporter in 2016: "To me it was something I had to do for my health.
"The scene was not for me. It was not the shows and not the music. It was always the other stuff surrounding it that never came naturally to me.
"All the other parts of being an artist. I'm more of an introverted person in general.
"It was always very hard for me. I took on board too much negative energy, I think.”
Wow, I would like to take a moment to pay tribute to the man who really opened my eyes as to what my productions could one day sound like. @Avicii was a genius and a music innovator, and I can not believe he is no longer with us. RIP to the very best.— Charlie Puth (@charlieputh) April 20, 2018
Singer Charlie Puth also paid tribute to the DJ, tweeting: "Wow, I would like to take a moment to pay tribute to the man who really opened my eyes as to what my productions could one day sound like.
"@Avicii was a genius and a music innovator, and I can not believe he is no longer with us. RIP to the very best."
While Liam Payne shared: "Oh my god truly devastated for Avicii very very sad news way to young ... what a talent he was. rest in peace x".