Kaley Cuoco-Sweeting used to stuff her bedside table with sweets.

The 29-year-old actress has admitted she would to stock up on calorific treats and stash them away in the drawers beside her pillow in case she woke up in the night craving a sugary snack.

Speaking to SHAPE magazine, she said: ''The drawers next to the bed were filled with candy.''

The 'Big Bang Theory' star believes her diet got out of hand when she began eating the same foods as her husband Ryan Sweeting, 28, whom she married last year.

She added: ''Eventually, I realised it was mindless eating. I was just doing it because he was doing it, and it was adding hundreds of calories I didn't even think about.''

Kaley has now ditched the bad eating habits and follows a vegan and gluten-free diet, which she believes has ''completely changed'' her physically and mentally.

She explained: ''I'm not a vegan, nor do I have a gluten allergy, but it just feels better in my stomach. Everything, from the inside out, has completely changed for me.

''And now, when I look into the mirror and see the positive changes, I don't want to go back to what I was doing. Especially when my husband is like, 'You look amazing!' ''