I work in IT too. I was with my first employer for 5 years.
The longest I think I stayed with an employer was 8 years and it was because I really enjoyed it - it was difficult consultancy work that took me all over the country and even to some other countries, but it felt like getting a whole new job every 6 months. I gave it up for stability and no travel after I got married. I was with another employer for 6 very boring/stable years after that and I’ve run my own business and worked for myself for the last 11 years.
I work in IT too. I was with my first employer for 5 years.
The longest I think I stayed with an employer was 8 years and it was because I really enjoyed it - it was difficult consultancy work that took me all over the country and even to some other countries, but it felt like getting a whole new job every 6 months. I gave it up for stability and no travel after I got married. I was with another employer for 6 very boring/stable years after that and I’ve run my own business and worked for myself for the last 11 years.
Now that’s an adventure!