Grand total -- 15ish years, but in basically three different eras of my life.
First two times were 2-3ish years each.
That last time was almost exactly 10 years. It was also my most effective AND last therapy. I do not foresee needing therapy again, at least not for the same issues; those, I've gotten under good control. It would take something happening currently that I could not, for some reason, manage for me to go back. I've managed a great deal since ending therapy (on a very positive and complete note), so I just have no idea what that something would be.