David Duchovny

David Duchovny

David Duchovny's ex-wife Téa Leoni is reportedly dating her 'Madam Secretary' co-star.

The 48-year-old actress, whose divorce from the former 'X-Files' star was finalised in August, has moved on with Tim Daly, who plays her husband on the CBS series.

A source told E! News: "It's relatively new."

In September, Téa insisted she and David, who have two children, daughter Madelaine West, 15, and son Kyd Miller, 12, were still close after he quietly filed for divorce in June.

She said: "Listen, David gave me the two greatest gifts on the planet; I don't know how I could ever hate him. We've always loved each other, and we adore these kids.

"I'm not playing stupid - I understand feelings can get hurt and things can get icky. We've had our moments like that. But these kids are too important, and he feels the same way, I know it."

The pair got married in 1997, but separated for the first time in 2008 with Duchovny checking into a facility to be treated for sex addiction the same year.

They soon rekindled their romance but split again in June 2011.

The actress and her new beau went to the same boarding school in Vermont, but graduated 10 years apart.

Daly, 58, who has also two children from a previous marriage, previously said: "We had a few of the same teachers, which is really crazy."