NEW YORK - A lawyer for David Duchovny says the actor has checked out of a rehabilitation facility for treatment of sex addiction.

Duchovny, who plays a sex-obsessed character on Showtime's "Californication," voluntarily entered the facility in late August.

Says lawyer Stanton Stein: "David has successfully completed his rehabilitation, he is out of rehab and will be starting a movie soon."

Duchovny starred as the conspiracy-minded Fox Mulder on "The X-Files" TV series and in two films.

The 48-year-old actor and his wife, actress Tea Leoni, have two children. The couple married in 1997.