Allan James McGregor (born 31 January 1982) is a Scottish former professional footballer and current goalkeeping coach at Rangers. McGregor has previously played for Rangers, St Johnstone, Dunfermline Athletic, Turkish team Beşiktaş, English club Hull City and Welsh side Cardiff City, and made 42 international appearances for Scotland.
A product of the Hutchison Vale youth football club in Edinburgh, McGregor made his first team debut for Rangers in February 2002 in a Scottish Cup match against Forfar Athletic. He was later loaned out to St Johnstone and Dunfermline Athletic, before becoming a regular Rangers first team player at the start of the 2006–07 season. McGregor made over 200 appearances for Rangers, winning 11 major honours in the process, including a hat-trick of league titles in 2009, 2010 and 2011, three Scottish Cups and five Scottish League Cups.
Following the liquidation of Rangers in 2012, McGregor exercised his legal rights to become a free agent. He then signed a two-year contract with Beşiktaş. After one season in Turkey, McGregor moved to Hull City. In May 2018, McGregor signed a two-year contract with Rangers. After five seasons in his second spell there, during which he won a league title in 2021, McGregor retired from playing in 2023.
McGregor made his full international debut for Scotland in May 2007. After multiple breaches of squad discipline following Scotland's 3–0 defeat to the Netherlands on 28 March 2009, McGregor was suspended for two weeks by his club, and the Scottish Football Association said that he would never play for Scotland again. The following year, this ban from international football was overturned by Scotland manager Craig Levein. He made 42 appearances for Scotland in total, and announced his retirement from international play in March 2019.
Playing career Club Rangers McGregor signed for Rangers on 14 July 1998. His early career suffered a setback when he injured his wrist during a youth match followed by a broken hand that kept him out of action for nearly a year and stunted his development. However, upon returning from the injury he became a regular in the reserve team.
McGregor first appeared in a senior match squad in January 1999, featuring as an unused substitute at age 16. He made his first team debut in February 2002 in a Scottish Cup match against Forfar Athletic and his Scottish Premier League debut against Aberdeen aged 20. McGregor did not play a single minute of competitive football during the 2002–03 season, being an unused substitute in every match of Rangers' Treble success. The following season, McGregor made six appearances, twice in the Scottish League Cup and four times in the league.
In the 2004–05 season McGregor was loaned to First Division club St Johnstone, making his debut in a Scottish Challenge Cup match against Alloa Athletic. McGregor featured consistently for St Johnstone and kept six consecutive clean sheets for the club. While playing on loan, McGregor was named SFL Player of the Month for December 2004. He made 24 appearances in total for the club and kept 11 clean sheets. Upon returning to Rangers in January 2005, McGregor looked to have been given the opportunity of becoming the number one goalkeeper at the club after an injury to first choice Stefan Klos, but manager Alex McLeish signed Dutch keeper Ronald Waterreus on deadline day in January 2005, a move which angered McGregor.
For the 2005–06 season, Rangers retained Waterreus and Klos, leaving McGregor as third choice. Dunfermline Athletic took advantage of this situation and signed McGregor on loan for the season. He made his debut in a 3–2 league defeat to Kilmarnock. McGregor played for Dunfermline in the 2006 Scottish League Cup final, losing to Celtic, and made 31 appearances in all competitions, keeping seven clean sheets.
With the arrival of Frenchman Paul Le Guen as manager at Rangers, McGregor was made third choice goalkeeper behind Letizi and Klos. A pre-season cycling injury to Stefan Klos meant that McGregor started the 2006–07 season as back-up to Lionel Letizi. When Letizi was himself injured, McGregor started the next match for Rangers, a 2–2 draw away to Kilmarnock. McGregor was then awarded the man of the match award for his performance in Rangers Uefa Cup qualifying match against Molde. He went on to be awarded the Scottish Premier League Player of the Month for September and was then rewarded with a new contract. Despite his performances Le Guen still considered McGregor to be the second choice goalkeeper. McGregor was dropped when Letizi returned from injury. When Letizi was injured again, McGregor returned in goal and was confirmed as first choice by Le Guen even after Letizi returned from injury.
Later in the 2006–07 season McGregor was sent off during Rangers' UEFA Cup match at Ibrox against Israeli side Hapoel Tel Aviv, which they won 4–0. After Barry Ferguson's second goal, Italian referee Matteo Trefoloni gave a straight red card to McGregor for allegedly headbutting Hapoel substitute Luciano De Bruno. The incident was not caught on television cameras and McGregor denied headbutting De Bruno. However, he was given a two-match ban, which was reduced to one game on appeal. At the end of his first season as first choice keeper, he was voted by his Rangers teammates as the Player's Player of the Year. In September 2007 McGregor signed a new four-year contract with Rangers.
He continued to be Rangers' number one the following season, despite the arrival and subsequent departure of former Manchester United goalkeeper Roy Carroll. Rangers progressed to the quarter-finals of the 2008 UEFA Cup after putting out SV Werder Bremen in the fourth round. McGregor's display in the second-leg of the tie drew praise from the manager. He made his 100th appearance for Rangers in a league match against Hibernian in March 2008. In the 2008 Scottish League Cup final the match finished 2–2 after extra time and went to penalty kicks. McGregor saved two penalties and Rangers went on to win the shoot-out and the League Cup. In the third Old Firm League match of the 2007–08 season McGregor saved a penalty while limping with an injury when the scores were tied at 1–1. McGregor had to be substituted shortly after and didn't play again that season through injury, missing out on both the 2008 Scottish Cup final and Rangers European run to the 2008 UEFA Cup final.
McGregor signed another new contract in June 2008, keeping him at the club until 2013 and was worth £5 million. In the opening game of the 2008–09 season McGregor saved a penalty in the match against Falkirk, Rangers went on to win 1–0. McGregor captained the club for the first Scottish Premier League match of the 2008–09 season against Falkirk due to the absences of captain Barry Ferguson and senior players David Weir and Carlos Cuéllar. McGregor was a regular in the side, up until the Boozegate scandal which saw himself and Ferguson dropped by both club and country and was replaced as the Rangers number one by Neil Alexander. He played his last game of that season on 21 March, a 2–2 draw at home to Hearts. McGregor played 27 league matches in the 2008–09 season and picked up an SPL winners medal.
In the 2009–10 season McGregor was reinstated as the number one goalkeeper for Rangers and made 46 appearances in all competitions, picking up winners medals in the Scottish League Cup and the SPL championship. Although McGregor was preferred as first choice in League, Europe and Scottish Cup matches the manager Walter Smith decided to let Neil Alexander play all of the League Cup matches, a decision which continued the following season.
In October 2010 McGregor was given a one match retrospective ban by the SFA for kicking out at Aberdeen player Chris Maguire even though no contact was made. In April of season 2010–11 McGregor saved a penalty against Hamilton in a match that Rangers went on to win 1–0. McGregor was praised for his performances in the second half of the 2010–11 season winning the SPL player of the month award for April. This included 5 clean sheets in the month including a man of the match performance in the final Old Firm game of the season where he saved a penalty with 8 minutes of the game remaining. Rangers went on to win the SPL championship for the third consecutive time by one point. McGregor kept 22 clean sheets for Rangers in 36 SPL matches during season 2010–11 and signaled his intention to sign a new contract once the season was finished.
On 4 July 2011, it was announced by Rangers that McGregor had signed a new six-year contract with the club. McGregor started the first nine matches for Rangers in season 2011–12 conceding only one goal domestically in the season opener against Hearts. In the first Old Firm game of the season McGregor was criticised for making a bad mistake which gifted a goal to Celtic just before half time which made the score 2–1 in Celtic's favour. Rangers however went on to win the match 4–2. McGregor was praised by his manager Ally McCoist for preventing Rangers conceding a goal in their 1–0 victory over Hibernian in October 2011.
Rangers entered administration in February 2012. After its creditors rejected a CVA in June 2012, the company was liquidated. The administrator sold the assets, including player contracts, to a new Rangers company set up by Charles Green. McGregor made a legal objection (under the "TUPE" regulations) to his contract being transferred to the new company, and became a free agent.
Beşiktaş On 26 July 2012, McGregor joined Turkish club Beşiktaş on a two-year contract, after undergoing a medical in Istanbul. A first team regular, McGregor helped Beşiktaş to a third-placed finish in the Turkish Süper Lig.
Hull City
On 2 July 2013, McGregor signed for Hull City for £1.5 million, signing a three-year contract. He made his debut on the first day of the 2013–14 season in a 2–0 loss away at Chelsea. Five minutes into his debut, McGregor conceded a penalty, mistiming a punch and subsequently hitting Fernando Torres in the head. He made up for it however, as he saved the resulting penalty from Frank Lampard. In the 25th minute, Lampard got the better of him, scoring a free-kick from 30 yards. On 17 May 2014, he played in the 2014 FA Cup final against Arsenal, in which Hull City lost 3–2.
During the 2016–17 season, McGregor was recovering from a back injury, thus leaving him behind Eldin Jakupovic and David Marshall in the pecking order. He was loaned to Cardiff City in January 2017 to bolster his fitness before he could play for Hull again. He kept a clean sheet on his debut during a 1–0 victory over Burton Albion on 21 January 2017. He left Hull in the summer of 2018, having rejected the offer of a new contract.
Return to Rangers In May 2018, McGregor accepted the offer of a two-year contract with Rangers. At the end of the 2018–19 season, he was named in the PFA Scotland Team of the Year (for a fourth time in his career).
During the first half of the 2019–20 season, McGregor helped Rangers qualify from their Europa League group. In December 2019, Rangers and McGregor agreed to extend his contract by a year. In the Old Firm derby played on 29 December 2019, McGregor saved a penalty from Ryan Christie. Rangers went on to win the match 2–1, which was their first victory at Celtic Park since October 2010.
At the start of December 2020, McGregor set a club record for appearances in UEFA competitions. At the end of the month he made his 400th appearance across his two Rangers spells. McGregor was praised for his performance in a 1–0 Old Firm win against Celtic on 2 January 2021, particularly for a fingertip save from Leigh Griffiths. McGregor helped Rangers reach the 2022 UEFA Europa League final, which they lost on penalties to Eintracht Frankfurt. He then appeared as a substitute in their 2022 Scottish Cup final victory against Hearts.