After his first starring film role in Popeye (1980), Williams starred in critically and commercially successful films including The World According to Garp (1982), Moscow on the Hudson (1984), Good Morning, Vietnam (1987), Dead Poets Society (1989), Awakenings (1990), The Fisher King (1991), Patch Adams (1998), One Hour Photo (2002), and World's Greatest Dad (2009). He also starred in box office hits such as Hook (1991), Aladdin (1992), Mrs. Doubtfire (1993), Jumanji (1995), The Birdcage (1996), Good Will Hunting (1997), and the Night at the Museum trilogy (2006–2014). He was nominated for four Academy Awards, winning Best Supporting Actor for Good Will Hunting. He also received two Primetime Emmy Awards, six Golden Globe Awards, two Screen Actors Guild Awards, and four Grammy Awards.
In August 2014, at the age of 63, Williams committed suicide by hanging at his home in Paradise Cay, California. His wife, Susan Schneider, attributed his suicide to his struggle with Lewy body disease.