Jansson was selected for the annual training camp for the Sweden national team in January 2012. He made his senior debut for Sweden in the training match against Bahrain on 18 January 2012. During the summer of 2016, Jansson was selected to represent the Sweden squad for UEFA Euro 2016, however he remained an unused substitute for Sweden in all 3 of their games. On 27 March 2018, Jansson was named as the Sweden captain for a friendly match against Romania.