Set in Boston, Massachusetts, it tells the story of Will Hunting (Damon), a troubled young Irish Catholic man from South Boston who, although a prodigy and autodidact, works as a janitor at the Massachusetts Institute of Technology, despite the fact that his knowledge of and facility with higher mathematics far outstrips that of anyone in the university. Will must learn to overcome his deep fear of abandonment in order to learn how to trust and love the people who care about him.
Good Will Hunting was a financial success, earned widespread critical praise and several awards, and launched Damon and Affleck into prominence.
Castle Rock bought the script for $675,000 against $775,000, meaning that Affleck and Damon would stand to earn an additional $100,000 if the film was produced and they retained sole writing credit. However, studios balked at the idea of Affleck and Damon in the lead roles. At the time Damon and Affleck were meeting at Castle Rock, director Kevin Smith was working with Affleck on Mallrats and with both Affleck and Damon on Chasing Amy. Seeing that Affleck and Damon were having trouble with Castle Rock, Smith and his producer partner Scott Mosier brought the script to Miramax, which eventually caused the two to receive co-executive producer credits for Hunting. The script was put into turnaround, and Miramax bought the rights from Castle Rock.
After buying the rights from Castle Rock, Miramax gave the green light to put the film into production. While several well-known filmmakers were originally considered to direct, including Kevin Smith, Mel Gibson, Michael Mann and Steven Soderbergh, Affleck and Damon's choice for the job was Gus Van Sant, whose work in previous films like Drugstore Cowboy (1989) had left a favorable impression on the fledgling screenwriters. Miramax was persuaded and hired Van Sant to direct the film.
Good Will Hunting was filmed on location in the Greater Boston area and Toronto over five months in 1996. Although the story is set in Boston, much of the film was shot at locations in Toronto, with the University of Toronto standing in for MIT and Harvard, and the classroom scenes being filmed at McLennan Physical Laboratories and Central Technical School. The interior bar scenes set in South Boston ("Southie") were shot on location at "Woody's L St. Tavern". The cast engaged in considerable improvisation in rehearsals; Robin Williams, Ben Affleck and Minnie Driver each made significant contributions to their characters. Robin Williams' last line in the film, as well as the therapy scene in which he talks about his character's wife's little idiosyncrasies, were both ad-libbed. The therapy scene took everyone by surprise. According to Damon's voice-over narration in the DVD version of the movie, this caused "Johnny" (the cameraman) to laugh so hard that the camera's POV can actually be seen moving up and down slightly as it shows Damon breaking character by also laughing so hard.
Director Gus Van Sant says in the DVD voice-over that, had he known just how successful the movie was going to be, he would have left at least a couple of edited scenes intact that were cut purely for considerations of length. One of these involves Skylar's visit to Chuckie in hopes of shedding light on some of Will's eccentricities that Will himself is unwilling to discuss.Filming locations
In the first week of class, Will solves a difficult graduate-level math problem that Professor Gerald Lambeau (Stellan Skarsgård), a Fields Medalist and combinatorialist, left on a chalkboard as a challenge to his students, hoping someone might solve the problem by the semester's end. Everyone at MIT wonders who solved it, and Lambeau puts another problem on the board -- one that took him and his colleagues two years to prove. Will is discovered in the act of solving the problem, and Lambeau initially thinks that Will is vandalizing the board and chases him away. When Will turns out to have solved it correctly, Lambeau tries to track Will down. Meanwhile, Will attacks a youth who had bullied him 15 years ago in kindergarten, and he now faces imprisonment after attacking a police officer who was responding to the fracas. Realizing Will might have the potential to be a great mathematician, such as the genius Évariste Galois, Lambeau goes to Will's trial and intervenes on his behalf, offering him a choice: either Will can go to jail, or he can be released into Lambeau's personal supervision, where he must study mathematics and see a therapist, as well. Will chooses the latter even though he seems to believe that he does not need therapy.
Five psychologists fail to connect with Will. Out of sheer desperation, Lambeau finally calls on psychologist Sean Maguire (Robin Williams), an estranged old friend and MIT classmate of his who grew up in the same neighborhood as Will. Sean differs from his five predecessors in that he pushes back at Will and is eventually able to get through to Will and his hostile, sarcastic defense mechanisms. Will is particularly struck when Sean tells him how he gave up his ticket to see the Red Sox in the 1975 World Series (thus missing Carlton Fisk's famous home run in Game 6) in order to meet and spend time with a stranger in a bar, who would later become his wife. This encourages Will to try to establish a relationship with Skylar (Minnie Driver), a young woman he met at a bar near Harvard University.
This doctor-patient relationship, however, is far from one-sided. Will challenges Sean in the same way that Sean is encouraging Will to take a good, hard, objective look at himself and his life. Sean's own pathology is that he is unable and unwilling to even consider a second romantic relationship in the aftermath of his first beloved wife's premature death from cancer several years before. This may well be the primary reason why Sean agrees to take Will on as a client.
Meanwhile, Lambeau pushes Will so hard to excel that Will eventually refuses to go to the job interviews that Lambeau arranged for him for positions that might prove challenging, even to his immense talents. Lambeau and Sean also squabble about Will's future. Will's accidental witnessing of this furious argument somehow acts as a catalyst for his decision to enter a deeper level of trust and sharing with Sean. He has apparently realized from this event that the situation is a little more complex than Will vs. The World. He now sees that these mentors are every bit as human, fallible, and conflicted as he is.
Skylar asks Will to move to California with her, where she will begin medical school at the Stanford University School of Medicine. Will panics at the thought. Skylar then expresses support about his past, which is received as patronization and triggers a tantrum in which Will storms out of the dorm while still in a state of undress. He shrugs off the work he's doing for Lambeau as "a joke," even though Lambeau is incapable of solving some of these theorems and admittedly envies Will. Lambeau begs Will not to throw it all away, but Will walks out on him anyway.
Sean points out that Will is so adept at anticipating future failure in his romantic relationships, that he either allows them to fizzle out or deliberately bails, in order to avoid the risk of future emotional pain. When Will then provides a whimsical reply to Sean's very serious query of what he wants to do with his life, Sean simply shows him the door. When Will further tells his best friend Chuckie (Ben Affleck) that he wants to be a laborer for the rest of his life, Chuckie becomes brutally honest with Will: he feels it's an "insult" for Will to waste his potential as a laborer, and that his recurring wish is to knock on Will's door and find that he just isn't there.
Will goes to another therapy session, where he and Sean share that they were both victims of child abuse. At first, Will is defensive and resentful at Sean's repeated reassurances that "It's not your fault," but he eventually breaks down in tearful acknowledgment. Finally, after much self-reflection, Will decides to cease being a victim of his own inner demons and to take charge of his life. When his buddies present him with a rebuilt Chevrolet Nova for his 21st birthday, he decides to go to California and reunite with Skylar, setting aside his lucrative corporate and government job offers. Will leaves a brief note for Sean explaining what he's doing, using one of Sean's own quips, "I had to go see about a girl." Sean also leaves to travel the world, though not before reconciling with Lambeau. The movie ends as Chuckie poignantly discovers, in fulfillment of his own long-standing wish, that Will has left for a better life. Will is then shown starting his life-affirming drive to California for a new beginning with Skylar and a leap into the Great Unknown.
According to the box office reports, Good Will Hunting grossed $225 million internationally (twenty-two times the film's budget). Although the film's limited release at the end of 1997 (traditional for likely Oscar candidates) merely hinted at its future success, the film caught on, thanks to good reviews and a strong reception by the American public. The film received international praise, in part due to the acting of Robin Williams and Matt Damon, both of whom were nominated for Academy Awards for the film, with Williams winning.
While Danny Elfman's score was nominated for an Oscar, only two cues appear on the film's soundtrack release. Elfman's "Weepy Donuts" was used on NBC's The Today Show on September 11 2006, while Matt Lauer spoke during the opening credits.