'The Office' funnyman has recently written his will and bequeathed his entire fortune to his girlfriend Jane Fallon, who he has been with for 30 years, because the pair decided long ago not to have kids.
He told The Sun newspaper: "You worry about dependents and wills and things and that everything goes to my girlfriend. I've worked out who will get it.
"We chose not to have kids. I still don't think about that. It doesn't bother me at all. I don't know if that is a legacy, really. It's biological. I don't think of things like that."
Ricky insists his legacy isn't something he ever thinks about and the only thing that worries him is the possibility of succumbing to a horrible disease.
He said: "I don't even think about who people will think of me when I die. It's meaningless. And I don't worry about death, I only worry about how you die. My mum died of lung cancer and that's just about the worst thing you can have. It's a horrible way to go."
However, the 52-year-old star is determined to be the best he can be at his job and wants to go down in history as one of the best British comics, like his idol John Cleese.
Ricky added: "But I do worry about my legacy when I'm alive. I want to keep doing this for as long as I can. I want to be like John Cleese and be able to look back when I'm 70 and go, 'Oh my god, 'Fawlty Towers' is still voted one the greatest comedies of all time.' I want to think like that. My legacy after I die isn't so important to me because it really doesn't make sense."