He went on to spend the next decade with Aberdeen, regaining his place in the team after being dropped for off-field indiscipline in 2007, a loss of form in 2008 and then again in 2012 after suffering a brain seizure that kept him out of competitive action for nine months.
Langfield was released by Dundee when the club went into administration, and signed a short term deal with Raith Rovers.
[7] As a result of the incident, Langfield was not only demoted to the bench, with Derek Soutar made first choice, but it caused some supporters to turn on him.
[8] Having been on the bench for the season's first six matches, Langfield made his first appearance in a 0–0 draw against Ukrainian side Dnipro Dnipropetrovsk in the UEFA Cup.
[10][11] The day after Aberdeen's victory over FC Copenhagen on 20 December 2007, Langfield signed a three-year extension to his contract to keep him at the club until 2011.
[12] During early 2008, Langfield experienced a drop in form, starting on 5 February when Aberdeen lost 4–1 to Dundee United in the CIS Insurance Cup.
Langfield was ever-present in the league for the 2008–09 season and was linked a move to England, but stated he was happy to stay at Aberdeen.
[27] Following his return, Brown stated he was considering letting Langfield join a club on loan, describing it as "a bit premature to be thinking about putting him into the first team".
[34] After speculation in the previous month that Langfield could leave the club in order to search for regular first team football,[35] he was offered a new two-year contract on 25 April 2012,[36] which he signed seven days later.
Aberdeen lost the game 1–0 with the only goal coming from a shot by Kris Commons which Langfield let slip under his body.
The goalkeeper was then subject to abuse on the social networking site Twitter, with references made to the brain seizure that he had suffered the previous year.
[39] On 15 December 2012, Langfield was sent-off after a straight red card following a foul on Borja Perez of Kilmarnock, resulting a penalty.
[43] Following a 0–0 draw against Hibernian on 22 April 2013, Langfield earned his 84th SPL clean-sheet, taking him a step closer to overtaking Stefan Klos, Allan McGregor and Rab Douglas, the only players with more.
[51] Langfield made his return to the first team on 13 March 2015 in a 2–1 win over the same opposition,[52] and featured for two more matches before being replaced again by Brown for the rest of the season.
[53] The match against Brighton and Hove Albion was played on 26 July 2015 and ended 1–0 with Adam Rooney scoring the only goal.
[57] Langfield was re-registered as a player and was on the bench for St Mirren's Scottish Premiership game against Hibernian in September 2020 after goalkeepers Jak Alnwick, Dean Lyness and Peter Urminsky were all ruled out due to COVID-19 protocols.