|Full name||David George MacGregor|
|Date of birth||9 June 1981|
|Place of birth||Greenock, Scotland|
|Height||5 ft 11 in (1.80 m)|
|Stranraer (U20s assistant manager)|
|* Senior club appearances and goals counted for the domestic league only.
Born in Greenock, MacGregor progressed through Greenock Morton's youth ranks to become a dependable first team player. He was a product of the Peter Weir youth side; a side that ran Celtic so close in the Scottish Youth Cup semi-final at Parkhead in 1999. David's progress was rapid and as a result he made his first team debut in season 1999/00 at 18 years old. It could be argued that his progress was somewhat accelerated by Morton's mismanagement by then owner and chairman Hugh Scott.
MacGregor started out as a midfielder but also proved his versatility when he easily adapted to play at right back. However his career took a significant turn for the worse in 2001. Towards the end of the 2000/01 season Hugh Scott put Morton into administration. As a result of ongoing cash flow problems administrator Graham Martin was forced to release all of Morton's first team players. Unfortunately MacGregor was one of them. After chairman Douglas Rae stepped in to save the club from folding the team advertised for players to come for trials. MacGregor appeared at these trials and subsequently re-signed for the club.
2001–02 was his first season back at Cappielow. However this ended in relegation from the Scottish Second Division. The next season was much better as Morton won the Scottish Third Division Championship. The joy of a winners medal was not as sweet as it should have been for MacGregor. The reason being that in the 5th from last game of the season he suffered a broken leg and was ruled out of the game for a year. MacGregor was Morton's longest serving player having played for the club for 11 years. During that period his dedication was rewarded by chairman Douglas Rae when he gave David a three-year contract extension (when he was out injured) in 2003. He established himself as a defender in the squad. He is first and foremost a centre-back but he, more often than not, played at left back for Jim McInally, even though he is predominantly right footed.
At the end of the 2007–08 season, MacGregor required a hernia operation after the away game in April against St Johnstone. He was out after this operation he was out for approximately six months before making his return to the first team against Clyde in Morton's first win of the season on 18 October 2008. When MacGregor came back into the side in October 2008, he was played in the right back berth, which earlier in the season was filled by Alex Walker.
Despite being injured for most of the 2008–09 season, MacGregor was given a contract extension by Davie Irons until August 2009 to prove his fitness ahead of the next season. After receiving the extension, which was until 15 August 2009, MacGregor managed to regain the ability to run in June 2009 ahead of the season to give him hope of gaining a contract extension for the rest of the season. On 17 August, MacGregor signed a new one-year deal to take him until the end of 2009–10 season.
As with the end of the previous season, at the end of the 2009–10 season MacGregor was again injured. He was offered the summer to prove his fitness, to see if he merited a contract extension under new manager Allan Moore. Once again he received a further year on 19 July 2010.
MacGregor was released by Morton in May 2011, and signed with Stranraer after playing in a couple of trial matches. After playing in seven league matches, MacGregor was signed until the end of the season. In June 2012, MacGregor signed another extension for a further season at Stair Park.
- Mitchell, Jonathan (13 May 2011). "David: Thanks for the memories". Greenock Telegraph. Retrieved 15 May 2011.
- Graham, Roger (23 October 2008). "Mac is back". Greenock Telegraph. Retrieved 23 October 2008.
- Graham, Roger (20 May 2009). "Tight for Ton says Irons as he looks ahead". Greenock Telegraph. Retrieved 21 May 2009.
- Graham, Roger (13 June 2009). "Fighting back". Greenock Telegraph. Retrieved 25 June 2009.
- "David MacGregor". Greenock Morton F.C. 17 August 2009. Archived from the original on 16 July 2011. Retrieved 17 August 2009.
- Tait, Chris (11 June 2010). "MacGregor – I'll show I'm worth deal". Greenock Telegraph. Retrieved 12 June 2010.
- "MacGregor out to win deal". Scottish Football League. 15 June 2010. Archived from the original on 15 April 2010. Retrieved 15 June 2010.
- "David MacGregor – New Deal Agreed". Greenock Morton F.C. 19 July 2010. Archived from the original on 16 July 2011. Retrieved 19 July 2010.
- "Kennedy returns to Junior game". Scottish Football League. 13 September 2011. Archived from the original on 30 August 2012. Retrieved 13 September 2011.
- "Triple boost for Stranraer". Scottish Football League. 13 December 2011. Archived from the original on 2 February 2013. Retrieved 13 December 2011.
- "Stranraer keep two and add one". Scottish Football League. 1 June 2012. Archived from the original on 10 September 2012. Retrieved 1 June 2012.
- "MacPherson adds five new faces". Scottish Professional Football League. 27 June 2014. Retrieved 27 July 2014.
- "Two Davids leave Hampden". Queen's Park F.C. 28 July 2015. Archived from the original on 28 July 2015. Retrieved 22 August 2015.
- "Youth Gone Wild". Stranraer FC. 12 May 2017. Retrieved 12 May 2017.