Nilsson retired after the 2010–11 season, announcing on 27 September 2011 his retirement from the sport due to a heart condition.[2]
In May 2018, it was announced that he, from the 2018–2019 season, becomes coach for Team Sweden in men's cross-country skiing together with Johan Olsson and Fredrik Uusitalo.[3]