David Duchovny, who checked out of a rehabilitation center for sex addiction earlier this month, has been separated from wife Tea Leoni for several months, People magazine reported.

"In light of continuous speculation over the lives and marriage of Tea Leoni and David Duchovny, the couple has confirmed that they have in fact been separated for several months," the statement, released by their reps, says. "The couple had hoped to keep this separation private for the sake of their children."

According to a report in the U.K.'s Daily Mail, the reason for the separation had little to do with Duchovny's addicition, and was instead the result of his discovery that Leoni was having a relationship with Oscar-winning actor Billy Bob Thornton, 53.

Click here to see photos

Duchovny reportedly uncovered explicit text messages on Leoni's cell phone from Thornton, who was previously married to actress Angelina Jolie.

Five-times married Thornton met Leoni when they made a comedy film together earlier this year called Manure, the Mail said.

Duchonvny and Leoni have two children — daughter Madelaine West, 9, and son Kyd, 6 . The couple married in 1997.

Duchovny, 48, who plays a sex-obsessed character on Showtime's "Californication," has said he entered rehab voluntarily.

The Associated Press contributed to this report.

Click here to read more in People

Click here to read more from the Daily Mail.