See... this is one of those questions where there is no right answer. Plus you didn't define sex... Former President Clinton and I have different opinions on what constitutes sex.
The longest was 16 years, ever since then Once you pop the fun don't stop. Currently i am enjoying a celebration blunt accompanied by the celebration dump of late night woopi ritual. Sleep well CF
Honestly, I haven't had sex since my ex and I truly stopped seeing each other back in Feb. of last year. I had a few grudge sex times with her and a few others when we initially broke up, but since it has been over, I'm of a different mindset. I've had enough "notches on my bedpost" type of thing. I'm actually looking for a significant other these days, and I could care less about banging a chick just to do so. I get the whole banging chicks thing. If I had to guess, I'd say my tally over 20+ years was around 100 give or take. But I am getting older, and I'm looking for the right one to settle down with. And if I'm not feeling them, I shut it down pretty quickly. Will this change? Maybe. I can't imagine going for 5 years without sex, but it may take that long to find the right woman.
Next new thread on the "Longest you've gone without...." bandwagon: How long since you've had a drink during sex?