A full international between 2008 and 2021, Larsson represented Sweden at the 2008, 2012, 2016 and 2020 editions of the UEFA European Championship, as well as the FIFA World Cup in 2018, at which he helped his country reach the quarter-finals. He amassed 133 caps for his country.