Alec Baldwin has compared his cocaine addiction to drinking coffee admitting he snorted the drug "all day long" for two years.

The '30 Rock' star has spoken candidly about his issues with drug and alcohol addiction after celebrating 39 years sober revealing he had a "white-hot problem every day for two years" and joked he snorted a line of powder long enough to stretch from the Earth to Saturn and back again.

During an appearance on the 'Our Way with Paul Anka and Skip Bronson' podcast, Alec said: "I don't discuss this a lot. I discuss it every now and then when it makes sense. I'm 39 years sober. I got sober Feb. 23, 1985."

Alec went on to explain his issues with cocaine started after he moved from New York to Los Angeles in 1983 and the habit soon took over his life.

He told the hosts: "I had a white-hot problem every day for two years. I think I snorted a line of cocaine from here to Saturn ... Did one on the rings of Saturn, then we came home - we took it back home. I mean, cocaine was like coffee back then. Everybody was doing it all day long."

Alec eventually gave up drugs, but then his drinking spiralled out of control. He explained: "Because I stopped doing drugs, my drinking increased, which they tell you is going to happen. And that did happen. I just started drinking."

The actor ended up having to give up booze too and he admitted it's the one thing he misses. He added: "I don't miss drugs at all, but I do miss drinking. I like to drink."

When asked what he does now instead of drinking, Alec revealed he likes to meditate but it's tricky to find peace and quiet at home with the seven kids he shares with wife Hilaria.

He said: "I do try to meditate. [But] meditating with seven children is like trying to play ping pong on the deck of an aircraft carrier. It's a real pain in the ass, man."