Nilsson represented Sweden at the 2008 and 2011 IIHF World Championships, winning silver in 2011, as well as at the 2003, 2004 and 2005 World Junior Championships.