The torch will also travel to five cities in other provinces prior to the July 10-26 Games.
Pan Am organizers announced Tuesday that the relay, which will include some 3,000 torch-bearers, will begin May 30 in Toronto.
Before arriving in Toronto, the torch will be lit during a traditional Aztec ceremony at the Pyramid of the Sun in Teotihuacan, Mexico.
Other stops along the route include Ottawa on Canada Day, the Terry Fox Monument in Thunder Bay, Fort Henry in Kingston and the Halifax Citadel.
Five First Nations communities will also welcome the torch as will Bruce Mines and White River, towns with populations of less than 700.
Richmond, B.C., Calgary, Winnipeg and Montreal will also host the relay, which will concludes July 10 with the lighting of the cauldron at the Games opening ceremony in downtown Toronto.
The torch will travel more than 5,000 kilometres by land and over 15,000 kilometres by air.
A separate relay will be held for the Parapan Am Games, which begin on Aug. 7.