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. He had 10 goals and 17 assists in 36 games in the 2012-13 season, when he was promoted to the NHL. Andersson was recalled from Grand Rapids by the Detroit Red Wings in February 2013. On 6 August 2013, the Red Wings re-signed Andersson to a two-year, $1.465 million contract. On 26 June 2015, the Red Wings re-signed Andersson to a one-year, $815,000 contract. On 22 January 2016, Andersson was placed on waivers by the Red Wings, and later assigned to the Grand Rapids Griffins on 24 January. He was recalled by the Red Wings on 26 January. On 12 February, Andersson was assigned to the Griffins. On 8 April, Andersson was recalled by the Detroit Red Wings. On 30 April 2016, Andersson signed a two-year contract with
Örebro HK of the
Swedish Hockey League (SHL). He later moved to
HV71 on 17 April 2018, securing a two-year contract. 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. ==International play==