Getting his football education in the youth ranks of local team Esbjerg fB, he saw limited first team opportunities, and in the summer of 2010 he decided to join Vejle Boldklub in the Danish 1st Division.[2]
After two successful seasons for Vejle, both of them in the Danish 1st division, bigger teams started to pay him attention. In March 2012 he was sold to Norwegian club Rosenborg BK.[3]
He became a regular first team starter for the Norwegian side, but after only 18 games he had yet to settle personally.[4] In the same summer he was sold back to his childhood club Esbjerg fB on a four-year contract.[5]
During his second stay at Esbjerg, alongside twin brother Jakob Ankersen, played an integral part of the Esbjerg team that following promotion won the Danish Cup and finished 4th in the Danish Superliga.
In January 2014 he was signed by RB Salzburg after impressing a against them in the group stages of the Europa league, and was praised for his ability to play on either defensive flank.[7]
He joined F.C. Copenhagen in the summer of 2015 initially on loan,[8] before signing permanently the season after.[9] He was linked with a move to the Premier League club Newcastle United.[10] Ankersen was nominated for the goal of the season by the Danish football federation in 2017.[11]
On transfer deadline day, 2 September 2019, Ankersen joined Italian Serie A club Genoa on a contract until June 2021 with an option for a further year.[12] He made 19 league appearances during his sole season with Genoa, where he was mostly used as a substitute.[13]
On 26 September 2020, FC Copenhagen announced that they had signed Ankersen on a four-year contract.[14] On 1 October 2020, Ankersen scored a highly bizarre own goal against Croatian club HNK Rijeka in the 2020-21 UEFA Europa League play-off round. The own goal proved to be decisive and FCK was eliminated.[15] After four years in Copenhagen, it was confirmed on 31 March 2024 that Ankersen would be leaving the capital club at the end of the season.[16]
On 1 June 2024 FC Nordsjælland confirmed that they had signed Ankersen on a free transfer, where Ankersen signed a contract until June 2026.[17]
International career
On 17 May 2013, Ankersen was called up for the Denmark national team for a friendly against Georgia.[18] In the match, he remained an unused sub for the entire game.
On 14 August 2013, he made his international debut in a 3–2 loss to Poland, coming on as a substitute for Nicolai Boilesen at half-time.