Very similar experience to a few others... was in bands through my teens & twenties (bass of course), then took time out after one band imploded, life got in the way and didn't think about it for a few years. Was still into music & buying CD's, just wasn't that interested in playing.
The then local college did adult education courses, and they had a Music Technology course, did that for something to do. Of course, doing music tech, you need something to record, so that started off playing again, then that started off buying guitars & basses, as well as other bits of music tech (4 tracks, DAW's, audio interfaces, drum machines, etc.). In the end, that led onto to playing guitar in a band, which was kind of all consuming because I was writing the songs as well.
Had to take a break from that when the kids were born, then we relocated, so that all had to take a back seat. So, again, life got in the way, and didn't think about it for a few years, until something came up and a band opportunity arose. Been through a few line up changes, but the guitarist & I are sticking with it. Currently doing some recording in a local studio.