Rob Lowe doesn’t regret making a sex tape, because, in a way, it helped him get him clean.

“I think it’s the best thing that ever happened to me,” Lowe, 55, said on SiriusXM’s “The Jess Cagle Show.” “Honestly, I do, because it got me sober. Sober got me married. I’ve been married 29 years and I have two great sons, so I don’t think any of that happens without going through that scandal.”

He continued, “It was one of the reasons I got sober. I woke up one day and was like, ‘What am I doing with my life? 29 years in.'”

In 1988, the former Brat Pack member videotaped himself having sex with a 16-year-old girl. Lowe was 24 at the time, and the incident occurred the night before he made a show of support for Michael Dukakis at the 1988 Democratic National Convention.

As a result of the scandal, his movie career was put on pause, and Lowe later made his return on the small screen, with the hit political drama “The West Wing” in 1999.

“The problem was, I didn’t make any money off of it like everybody does now,” Lowe told Cagle of the tape, seemingly alluding to similar scandals involving Kim Kardashian and Paris Hilton, whose own sex tapes were released for sale to the public. “I was too stupid.”

However, Lowe has since taken his life experiences on the road with a live show, based on his 2012 memoir, “Stories I Only Tell My Friends.”

“I talk a lot about recovery in the show, because I think it’s good to see the examples,” he said. “I needed the examples when I was trying to change my life, and it’s moving because it’s a serious, literal life-and-death issue, but it’s also really funny. I do a whole thing about how I loved going to rehab.”