Portia de Rossi secretly checked into rehab for a one-month stay in May.

The “Arrested Development” star, 41, and wife of Ellen DeGeneres, spent 30 days at the Passages Malibu rehab facility, InTouch reports.

A source told the magazine the talk show host visited her spouse every weekend to provide support.

Passages’ program has reportedly been attended by Mel Gibson, David Hasselhoff and Natasha Lyonne, among others.

While it’s unclear what de Rossi was admitted for, an admission counselor at the facility told Page Six that “the primary issue has to be a substance abuse issue, because that’s what we’re licensed as.”

In 2000, de Rossi sought treatment for an eating disorder after her weight reportedly dropped to 82 pounds.

A rep for de Rossi did not immediately get back to us.