Sharmarke has worked in a diplomatic capacity for the United Nations in Sri Lanka and Sierra Leone, and served as a political advisor on the Darfur conflict in Sudan. Before becoming Prime Minister, he was Somalia's ambassador-designate to the United States.