Jada Pinkett Smith Reveals Her Key to Staying in Shape

This video is unavailable because we were unable to load a message from our sponsors.

If you are using ad-blocking software, please disable it and reload the page.

It's bikini season, and if you need some inspiration, look no further than Jada Pinkett Smith.

The Magic Mike XXL actress spoke to ET about why you need to do way more than just exercise your buns off.

In fact, she says it's all about what you're taking in. "What are you eating? Because we could get on the treadmill and we could go to the gym and we could work out, but if we're not eating the foods to help us get to that body shape that we want, then you can stay on the treadmill as long as you want. It's not going to get you the results," she said. "So really, my diet is, is what is most important to me. I'm always checking on my relationship to food."

PHOTOS: The Biggest Celebrity Weight-Loss Transformations 

The 43-year-old star also noted that if people look at the emotional relationship that many of us have with food, it will "really help us get to the place that we want to be physically, and health-wise, it's really getting in touch with why we're eating and why we eat what we eat."

"Most of the time, why we're eating and what we're eating, totally goes against what we want to look like," Pinkett Smith added with a laugh.

And she's just like the rest of us when it comes to those little indulgences -- but she admitted that she did wait until after both Magic Mike XXL and Gotham wrapped before she "binged on pizza."

WATCH: 6 Actors Who Lost a Shocking Amount of Weight

Check out the video above for more from Pinkett Smith on how to lose those extra pounds.

Related Gallery