Scenes in Good Will Hunting were shot in the Greater Boston area
Although the story is set in Boston , and many of the scenes were done on location in the Greater Boston area , much of the filming was done at locations in Toronto , Canada , with the University of Toronto standing in for the interiors of MIT and Harvard University .
Good Will Hunting