Credit: Jon Kopaloff/FilmMagic

She's 47-years-old and still looks incredible in a bikini, but Courteney Cox admits that maintaining her amazing body takes work.

The Cougar Town actress, who appears on the new cover of New Beauty, uses the Tracy Anderson Method four times a week to stay in shape, she revealed in an interview with the magazine.

Anderson, a celeb trainer, is a favorite of Gwyneth Paltrow, Olivia Wilde and Nicole Richie.

And while Cox eats healthy most of the time, the former Friends star fessed up to a few indulgences.

"I do cheat, on occasion, with pasta or bread and butter," she said. "And I do eat a lot of cheese and nuts, which is probably not the best idea."

Cox also shared that getting older isn't always a bad thing. "Beauty over 40 is a slippery slope, but the life experience and knowledge we gain can make us sexier with age."