David Duchovny davidoutofrehabsmall.jpg

David Duchovny's been released from rehab after two months.

His attorney tells Us that after "successfully" completing his sexual addiction rehabilitation therapy, David's "starting a movie soon."

The X-Files star was spotted with his wife, Tea Leoni, on Sunday at New York's Czech Festival.

Duchovny's new series, Californication, in which he plays a sex-addicted writer, premiered last week.