Years. Call it 6, with bouts every 8 months. One semester of 'A's, one semester of 'F's.
Of course this caused me to fail classes and lost me friends, opportunities and respect. But every time I recovered I thought to myself "Wow, that was awful. Glad I'll never do that again!" I had to lose my fiancée and my funding in grad school before I finally accepted to the fact that this might be a problem. That there might be a cause other than being lazy. Because, you know, laziness makes people curl up in an empty bathtub and cry for 24 hours. That's normal, right?
Thanks to Wil for posting this. It's important to reach out to sufferers as well as their friends and family. It takes a lot to recognize when you or someone you know has a problem, even when in retrospect it's blindingly obvious.