The Modern Family actress, 42, looks stunning on the front of the fitness mag. Accompanied by a cover line reading "Sofia Vergara: How She Got Her Best Body at 42," the Colombian beauty shows off her toned figure in a pair of black bikini bottoms and a plunging grey and black top.
"Everyone knows that I've never been into working out," Vergara admitted to the magazine. "I was always very happy with what I have. Then I hit 40 and I started seeing a softness everywhere on my body."
The sculpted star told Shape that she then upped her exercise game, taking classes and trying the Lagree Fitness Method workout with Pilates and Megaformer machine touches.
While she has changed her fitness routine, Vergara told Shape that she still has a bit of a sweet tooth and is considering some off-beat options to keep it under control.
"I heard about someone in L.A. who got hypnotized so they wouldn't eat candy," she said. "I'm seriously looking into that because I'm obsessed. When I do indulge, I exercise a bit harder the next day. My workout motto is really simple: No pain, no cake!"
Sign up now for the Us Weekly newsletter to get breaking celebrity news, hot pics and more delivered straight to your inbox!