Habib made his first-class debut in 1992, playing once for Middlesex, but was quickly let go and it was 1995 before he played another first-class game, for his new county, Leicestershire. Although he made 174 not out against Oxford University that year it was 1996 before Habib established himself in the first team. He played a few games for New Zealand side Canterbury in the 1997/98 Shell Cup one-day competition, but made only 83 runs in his five innings.
He averaged 56 in 1998 and was chosen by England the following year, but was quickly found out by the New Zealand bowlers and dropped after two Tests. He did, however, have the consolation of passing 1000 runs for the first time that season. After the 2001 season Habib left for Essex, but had an indifferent three seasons with the club and was released. He struggled to find another county, and at one point it looked as though his career might be at an end, but somewhat surprisingly he returned to Leicestershire for the 2005 season. Habib was released by Leicestershire at the end of 2006 season, in 2007 he has appeared for Berkshire.
He is currently the Hong Kong National Coach, having been appointed on a three year contract including Hong Kong's appearance in the Asia Cup in 2008 in Pakistan.