This is shocking!

Selena Gomez is known for her squeaky clean image, but apparently the "Come & Get It" star did a secret stint in rehab last month, Radar reports.

The former Wizards of Waverly Place star checked-in to The Meadows facility in Arizona on Jan. 5, and although her rep confirmed the stay, they insist it wasn't for substance abuse.

The 21-year-old was reportedly "exhausted" and "broken hearted" following her split from Justin Bieber, but according to sources, she was also secretly dabbling with marijuana and prescription drugs, including Xanax and Ambien.

    "Her friends and family became increasingly worried that there might be a serious problem with Selena. Particularly, her parents. The partying was, at times, wild. They wanted to help her - and they very much encouraged her to go to rehab. Others very close to her also urged her to seek professional help," one insider revealed.

The Biebs was apparently the bad influence, too!

    "Selena came to understand just what a bad influence Justin had been on her life. Their relationship left her broken-hearted. I don't know whether Justin pushed her to drug use, but amongst their close knit group of friends, smoking was common place," another source added.

Now it makes sense why she announced back in December that she was canceling her upcoming Australian tour!

"My fans are so important to me and I would never want to disappoint them. But it has become clear to me and those close to me that after many years of putting my work first, I need to spend some time on myself in order to be the best person I can be," she said in a statement.

What is with young Hollywood these days?!