Andersson is a product of Munkedals BK. In 2005, he joined the youth ranks of Frölunda HC and made his debut in Sweden's top-tier SHL with Frölunda's men's team during the 2006-07 season.
He moved to North America prior to the 2010-11 campaign. Andersson played over two full seasons for the Grand Rapids Griffins of the American Hockey League.[1] He had 10 goals and 17 assists in 36 games in the 2012-13 season, when he was promoted to the NHL.[1][2]
Andersson was recalled from Grand Rapids by the Detroit Red Wings in February 2013.[1][2] He scored his first NHL goal on 15 February 2013, against Viktor Fasth of the Anaheim Ducks.[3]
On 6 August 2013, the Red Wings re-signed Andersson to a two-year, $1.465 million contract.[4] On 26 June 2015, the Red Wings re-signed Andersson to a one-year, $815,000 contract.[5]
On 22 January 2016, Andersson was placed on waivers by the Red Wings, and later assigned to the Grand Rapids Griffins on 24 January.[6][7] He was recalled by the Red Wings on 26 January.[8] On 12 February, Andersson was assigned to the Griffins.[9] On 8 April, Andersson was recalled by the Detroit Red Wings.[10]
On 30 April 2016, Andersson signed a two-year contract with Örebro HK of the Swedish Hockey League (SHL).[11] He later moved to HV71 on 17 April 2018, securing a two-year contract.[12]
At the conclusion of his contract with HV71, Andersson initially signed with KooKoo of the Finnish Liiga, however was unable to pass a physical. He later announced his retirement from professional hockey after thirteen professional seasons on 14 December 2020.[13]
Andersson is the all-time junior international games played leader for Sweden.[14] He has played in four major international tournaments, his first being the 2006 IIHF World U18 Championships. The following year Andersson helped Sweden win a bronze medal at the 2007 IIHF World U18 Championships. At the 2008 World Junior Ice Hockey Championships Andersson helped Sweden to a silver medal, with six assists in six games he was tied for third in the tournament assist leaders.[15]