Hayden Panettiere is happy and healthy after being treated for postpartum depression in rehab.

Panettiere, who’s fit and fab after her 40-pound post-baby weight loss, is glad she went public with her PPD battle, Examiner reported.

“The more open I was, the more acceptance I got,” said Hayden. “I got so much support and so much love. I was floored.”

Hayden voluntarily checked into treatment for postpartum depression in October 2015 after revealing she was suffering from severe depression. Panettiere gave birth to daughter Kaya Klitschko in December 2014.

“It’s something I can very much relate to,” said Hayden. “It’s something a lot of women experience.”

Panettiere took a break from filming her hit TV show, Nashville, to treat her postpartum depression.

“It’s something that needs to be talked about,” said Panettiere. “Women need to know they’re not alone and it does heal.”

Before getting pregnant, Panettiere, a former vegetarian, maintained her toned bikini body with a portion-controlled diet and daily workouts, which included Pilates, yoga, weightlifting, running, and swimming. Hayden also walked on the treadmill and hiked.

Panettiere resumed filming “Nashville” in January 2016, and said her postpartum depression struggle helped her relate to her TV character, Juliette, who also suffers from PPD.

Hayden said her loving fiance, heavyweight boxing champion Wladimir Klitschko, helped her through PPD. Looking back, Panettiere is glad she spoke out about her condition.

“People connect with being human, with being real, with just doing your own thing,” said Panettiere. “That confidence in doing your own thing is something that I’m learning more and more and more about, and it feels good.”