"I'm 18 lbs away from my goal," Perry, 46, captioned the beach pic

Credit: Courtesy Tyler Perry

Looking good, Tyler Perry!

The producer, director and actor took to Facebook on Sunday to show off his new svelte physique with a shirtless beach photo.

“I’m 18 lbs away from my goal,” Perry, 46, captioned the photo of himself in blue swim trunks, where he is flexing his muscles for the camera. “I hope I don’t blow it this holiday season. Gonna try to stay on it.”

Though Perry – who welcomed his first child with girlfriend Gelila Bekele last December – stressed how difficult it can be to lose weight after age 40, he says, “It’s so worth it.”

RELATED VIDEO: Shonda Rhimes Opens up About the Moment That Sparked Her Dramatic Weight Loss

“It keeps the doctor away,” he says. “Don’t let anything keep you from being healthy and strong.”

Perry also added that his mother’s death inspired him to get fit.

“I wish my mother had fought back,” he says. “She turned diabetic at 40 and died at 64. Don’t let that be you!! Fight back!!”