Before becoming a politician, MacKay was a lawyer in Nova Scotia. He was one of the Crown Attorneys in the province. MacKay was the Member of Parliament for the electoral area of Pictou—Antigonish—Guysborough from 1997 to 2004 and Central Nova from 2004 to 2015. For the 2015 election, he said that he would not try to be elected again.