The former "Desperate Housewives" star received flattering comments about her weight loss post her divorce in 2011, but deep down she was depressed and putting her health at risk, reports dailystar.co.uk.
In a new interview with US TV doctor Mehmet Oz, Longoria said: "I was so skinny. I was not eating. I was depressed. I was sad. My diet was coffee. People kept saying, 'You look amazing, divorce agrees with you.' And I was like, 'I don't feel good. I have no energy. I didn't know I was depressed."
However, she knew something was wrong with her.
"I went to the doctor to get some blood tests because I said, 'Something's wrong.' I was just depleted of every vitamin. He said, 'It's as if somebody took a straw and sucked everything out of your body. You don't have any iron, your liver's overacting.' It was like all these things were physically wrong with my body, so I had to saturate with vitamins and kind of get back on this track," she added.
That is when the actress took the doctor's advice seriously and stuck to a strict diet.
"I cut out all sugar, anything that turns into sugar, is sugar. I love a soda, I'm not a chocolate candy person, but, I like pasta in anything. For about three months, I did a really strict no-sugar diet, and I had more energy than I've ever had. My palate was different. Things tasted better," she said.