Jessica Alba: I Wore Corsets to Regain Figure After Pregnancy

Jason LaVeris/FilmMagic

Actress Jessica Alba is known for maintaining her slender figure after giving birth to two babies, and in a new interview, she's shared her body-slimming secrets.

Speaking to the magazine Net-a-Porter, Alba, 31, revealed that she wore corsets after her daughters Honor, 4, and Haven, 1, were born.

WATCH: Jessica Alba Helps Families Stay Chic and Healthy

"I wore a double corset day and night for three months," she said. the "Sin City" actress told the magazine. "It was brutal; it's not for everyone."

"It was sweaty, but worth it," she said of bouncing back from her babies with husband Cash Warren, a producer .

Alba, also the founder of the The Honest Company, an eco-friendly enterprise that offers non-toxic household cleaners and baby products, is not alone in turning to corsets after giving birth.

Stars like Gwyneth Paltrow, Kourtney Kardashian and Jennifer Garner have all been rumored to sport the tight-fitting tops after delivering their children.

"The concept behind abdominal binders is very common after surgery and after the delivery of a baby to help support abdominal muscles, help with posture and reduce the feeling of bloating," said Dr. Jennifer Ashton, senior medical contributor for ABC News.

"Imagine taking a big breath and never fully exhaling," she said. "That's basically the feeling the person has for hours."

Brooke Burke-Charvet, a mother of four and co-host of "Dancing With the Stars," even created her own version of the corset, the "Tauts" post-pregnancy wrap she sells on her website, Babooshbaby.com, for around $60.

"It supports that baggy baby skin," said Burke-Charvet, 41. "It helps you with water retention and it just makes you feel like you have some support around your belly because everything is changing. Everything is stretched out."

RECIPE: Jessica Alba's Go-To Green Drink

Alba will appear in the "Sin City" sequel - "Sin City: A Dame to Kill For" - later this year.