He has served as a visiting professor at the University of Poitiers and Migrintern, France, University of Bologna and Ravenna, Italy, and a visiting fellow in CMI, Bergen, Norway.
In addition to his academic work, Hanafi has served as a consultant to the UN, the World Bank, and other organizations.