David Duchovny and Tea Leoni are making it work eight months after announcing their separation, according to People.
A source told the mag that things are looking up for the longtime couple, who married in 1997.
VIEW THE PHOTOS: Hollywood Dads
"Their relationship has really improved," the source said. "They're still in love. They very much care for each other and whatever happens they are working it out for the kids."
The couple announced their split last October, days after David finished a stint in rehab for sex addiction.
VIEW THE PHOTOS: David Duchovny
However, they've been spotted together a number of times since, with a mind on keeping their family together.
U.S. & World
Stories that affect your life across the U.S. and around the world.
"Their first priority through everything was staying close for their kids and making life as great as it can be for them," another source told the mag. "They'll always be a family."
The two actors have two children together, daughter Madelaine West, 10, and son Kyd, 7.
VIEW THE PHOTOS: Scenes From 'The X-Files: I Want To Believe'
David himself told Access Hollywood at the Golden Globes earlier this year that his family was "great" after going through a rough patch.
"Last year was a difficult year," he told Access' Shaun Robinson at the time. "And I can say that I personally, have never felt better. And I think the better I am, the better my family can be."
Related Content from AccessHollywood.com:
PLAY IT NOW: 2009 Golden Globes: David Duchovny Talks About His Hard Year
PLAY IT NOW: Celebrities Uncensored: David Duchovny & Gillian Anderson
MORE ACCESS ON THESE TOPICS: David Duchovny - Couples - Parenthood - Celebrities