Starting his career locally in Oman, he joined Norwegian side Lyn Oslo in 2003, making 62 league appearances before joining Bolton Wanderers in 2006.
He made his debut in a League Cup victory against Fulham in September 2007 and later enjoyed a successful spell on loan at Wigan Athletic, making 34 Premier League appearances in 2010/11.
Joining the Latics that summer on a permanent deal, he continued to play regular top-flight football and remained with the club following their relegation to the Championship in 2013.
He has a loan spell at Brighton & Hove Albion before joining second-tier Reading in July 2015 and was a member of the side that reached the 2017 Championship Play-Off final against Huddersfield Town.
Named in the PFA Championship Team of the Year that season and also awarded the Reading Player of the Season, he joining Saudi side Al-Hilal that summer, where he was a AFC Champions League runner-up in his first season.
Al Habsi has made well in excess of 100 appearances an international level for Oman.