Updated

Zac Efron is speaking out after he was hospitalized in Spain. Few details were made public, allowing the internet to run rampant with theories as to what happened.

But the actor is setting the record straight, sharing a photo that indicates he is in good physical health.

"Happy and healthy - thanks for the well wishes," he wrote in a photo shared to his Instagram stories.

Zac Efron lying back on a pink ball lifting weights shirtless

Zac Efron posted a brief update on his health to his Instagram story. (Zac Efron Instagram)

In the photo, a shirtless Efron basks in the sun while lifting weights.

A representative for the actor previously told People magazine that Efron experienced a "minor swimming incident" in a pool at his Ibiza villa, where the star is vacationing.

His rep confirmed that Efron was taken to the hospital, although only for precautionary reasons. "He is fine," they said of the 36-year-old.

HOLLYWOOD HEARTTHROB ZAC EFRON: THE AMERICAN ACTOR THROUGH THE YEARS

Zac Efron in a navy suit and blue shirt looks up slightly and smiles

A representative for Zac Efron says the actor was taken to the hospital following a "minor swimming incident" in Ibiza. (Tommaso Boddi/AFP via Getty Images)

TMZ previously reported on Saturday that Efron was found in the pool by villa staff and was pulled out of the water.

The night before the incident, Efron appeared to be in good spirits. In video posted to TikTok, the "A Family Affair" actor can be seen partying at the Ushuaïa Ibiza Hotel and Beach Club, dancing on stage with DJ Martin Garrix, who performs on Thursdays.

Like many other Hollywood hunks, Efron has been spotted in a slew of cities this summer, including Paris and St. Tropez.

Zac Efron looks slightly back at the camera in a navy velvet suit on the carpet

Zac Efron was spotted the night before the swimming pool incident at a beach club. (Dimitrios Kambouris/Getty Images for National Board of Review)

LIKE WHAT YOU’RE READING? CLICK HERE FOR MORE ENTERTAINMENT NEWS

In the past, the "High School Musical" star has openly spoken about his sobriety, telling Elle magazine in 2016 how going sober had changed his life.

"What I found is structure," he said. "That led me to a balance of opposites: You get out of life what you put in. There was a moment when my morning routine was, like, get up and Google yourself. But that stopped, dramatically and instantly, probably three years ago. I realized that viewing yourself through other people's pictures is not living your own life. I wasn't really being myself. A lot of my hobbies had gone out the window. I couldn't skateboard or surf for fear of being followed. Crossing the line of fear is what leads to greatness."

CLICK HERE TO SIGN UP FOR THE ENTERTAINMENT NEWSLETTER

Zac Efron soft smiles on the carpet wearing a black shirt and black and white houndstooth jacket

Zac Efron at the "A Family Affair" premiere in June. He co-stars in the film with Nicole Kidman and Joey King. (Gilbert Flores/Variety via Getty Images)

CLICK HERE TO GET THE FOX NEWS APP

There is no indication that drugs or alcohol were involved in Efron's incident. 

A representative for Efron did not immediately respond to Fox News Digital's request for comment.