Edgar was selected for the 2011 CONCACAF Gold Cup Canadian 23-man roster as a replacement for Dejan Jakovic, who sustained a hamstring injury in a friendly approaching the tournament. Edgar did not join the team since he was a late addition during Canada's disappointing Gold Cup, with an early exit out of the group stage. Edgar became a regular starter for the national team in late 2011. He assisted Olivier Occean's game-winning goal against Cuba in 2014 FIFA World Cup qualification on June 8, 2012. He scored his first goal for Canada in a crucial World Cup qualification match against Cuba on October 12; the match ended in a 3–0 Canadian victory.