Stoltz was born in Whittier, California, the son of Evelyn B. (née Vawter), a violinist and schoolteacher who died in 1994, and Jack Stoltz, an elementary school teacher. He has two sisters, mezzo-soprano Catherine Stoltz and writer Susan R. Stoltz. He was raised in both American Samoa and Santa Barbara, California, where as a child he once earned Money playing piano for local musical theatre productions. He attended the University of Southern California, but dropped out after his junior year. When he moved to New York for his studies in 1981, he met Stella Adler and Peggy Feury.
In the 1970s Stoltz joined a repertory company that performed ten plays at the Edinburgh Festival. He returned to the United States in 1979, when he entered USC as a drama student, but subsequently dropped out to pursue film and TV roles. In 1978, he was cast as Steve Benson in the TV adaptation of Erma Bombeck's The Grass Is Always Greener over the Septic Tank.
Director Cameron Crowe and Stoltz became friends while making Stoltz's first feature film, Fast Times at Ridgemont High (1982), which Crowe wrote and in which Stoltz had a minor role. According to Stoltz, Crowe promised Stoltz a role in all of his future films. He appeared in each of Crowe's next four films, The Wild Life, Say Anything..., Singles, and Jerry Maguire.
Originally cast as Marty McFly for Back to the Future in late 1984, he was replaced after about a month of filming when Michael J. Fox (the director's first choice for the role) agreed to divide time between the movie and his television sitcom Family Ties. The director, Robert Zemeckis, said that while Stoltz provided an admirable performance, it lacked the precise comedic sense that Zemeckis was seeking. Some of the original footage, where Stoltz does not appear but was on set, was used in the film. Stoltz playing the character was referenced in the 2010 episode of Fringe titled "Peter" when, in a parallel universe, a theater marquee reads "Back to the Future starring Eric Stoltz".
In 1985, Stoltz garnered attention with a Golden Globe nomination starring as Rocky Dennis in Mask. Among other roles in the 1980s, he appeared in the 1987 hit Some Kind of Wonderful, written and produced by John Hughes.
During the 1990s, Stoltz went back and forth between stage, film, and television, appearing in studio and independent films such as Pulp Fiction (1994) and The Waterdance (1992). He also produced the films Bodies, Rest & Motion in 1993, Sleep with Me in 1994, and Mr. Jealousy in 1997. He continued to appear on the New York stage, both on Broadway (Three Sisters, Two Shakespearean Actors, Arms and the Man) and off-Broadway (The Importance of Being Earnest, The Glass Menagerie, Sly Fox and Our Town). He was nominated for a Tony Award as Featured Actor for his performance as George Gibbs in the 1989 Broadway revival of Thornton Wilder's Our Town. A performance of this production was featured on Great Performances: Live from Lincoln Center, which received a 1989 Emmy nomination.
On television, he had a recurring role as Helen Hunt's character's ex-boyfriend on Mad About You (five episodes, 1994–1998), spent a year on Chicago Hope (1994), and did some TV and cable movies such as Inside (1996) (directed by Arthur Penn) and The Passion of Ayn Rand (1999), with Helen Mirren. Stoltz received the Indie Sup(Y)port Award at the 1998 Los Angeles Film Festival.
During the first part of the 2000s, he starred with Gillian Anderson in The House of Mirth (2000), based on the novel by Edith Wharton. From 2001 to 2002, he had a recurring role as the English teacher-poet August Dimitri in ABC's Once and Again, wherein Julia Whelan's character, a teenager, fell in love with his character. He directed an episode of the show in 2002. In 2003, he played his first leading TV role in Out of Order, which was canceled after five episodes. In 2004, he appeared in The Butterfly Effect as a child molester; the following year, he guest-starred in the NBC sitcom Will & Grace as Debra Messing's love interest. He was nominated for a Daytime Emmy for his direction of the cable movie My Horrible Year! (2001). He also directed a short film entitled The Bulls as well as the highest rated episode of Law & Order in 2005, entitled "Tombstone". He appeared in the music video of The Residents' "Give it to Someone Else", featured on The Commercial DVD.
He has contributed essays to the books City Secrets—New York as well as Life Interrupted by Spalding Gray and appears on the children's CD Philadelphia Chickens.
Beginning in 2007, Stoltz directed episodes of the drama series Quarterlife, which began airing as webisodes and were then picked up to air on the NBC network in 2008. Stoltz played a serial killer in need of medical attention in three episodes of the fifth season of Grey's Anatomy. He has also directed two episodes of Grey's Anatomy.
Stoltz starred as Daniel Graystone, inventor of the Cylons, in the science fiction television series Caprica, a prequel set 58 years before the Battlestar Galactica series.
He became a regular director of Glee, directing a total of 12 episodes, including "Nationals", in which the Glee club finally wins the championship.
In 2011 Stoltz was seen back on the silver screen with the film Fort McCoy; he earned accolades for his leading role as a conflicted barber of German heritage forced to suppress his American patriotism after moving his family to a post-World War II military base housing a German POW camp.
He has directed many shows on The Learning Channel, TLC Network.