Morgan was elected as the Member of Parliament for Galloway and Upper Nithsdale at the 1997 general election and served as a member of the Trade and Industry Select Committee and as leader of the SNP parliamentary group in the House of Commons from 1999-2001.