Zac Efron quietly did a stint in rehab earlier this year for cocaine abuse, according to TMZ.

The actor was recently seen on the red carpet at the Toronto International Film Festival for the premiere of "Parkland," his upcoming ensemble drama about the JFK assassination that opens Oct. 4.

"I'm good, real good," he told E! Online. The website quoted a source as saying, "He's healthy, happy and not drinking. He's taking time to focus on working."

But TMZ reported Wednesday that, according to multiple sources, Efron sought treatment for cocaine addiction, not an alcohol problem, and that he finished rehab about five months ago. He also allegedly used "Molly," a form of Ecstasy that has been in the news recently after some rave concertgoers died after using it.

Zac Efron, star of the film "17 Again, " arrives at the premiere of the film in Los Angeles, Tuesday, April 14, 2009.
Zac Efron, star of the film "17 Again, " arrives at the premiere of the film in Los Angeles, Tuesday, April 14, 2009. (AP Photo/Chris Pizzello)

The website said Efron's problem "spiraled out of control" while he filmed one of his upcoming films "Neighbors."

"Sources tell us Zac ... was a no-show on a number of days," TMZ reported. "It was common knowledge he was struggling with cocaine." TMZ said three other sources confirmed that Efron also allegedly tried Molly.

"We're told ... early this year, Zac and some friends went on a coke rager in a room at the SkyLofts at the MGM Grand in Vegas ... and caused around $50,000 in damage. No word on who took care of the bill," said TMZ.

Efron's rep told TMZ, "Don't think we'll be making a comment."

Contact Tony Hicks at Facebook.com/BayAreaNewsGroup.TonyHicks or Twitter.com/insertfoot.