Stanley was selected by the Los Angeles Dodgers in the ninth round of the June 1973 MLB draft, but did not sign with the team,[4] choosing instead to attend college.[5] During this era, another draft was held in the winter; Stanley was selected by the Boston Red Sox in the first round of the January 1974 secondary draft,[4] and this time elected to sign.[5] He began his professional career with the Elmira Pioneers in 1974, spent 1975 with the Winter Haven Red Sox, and advanced to the Bristol Red Sox at the Double-A level in 1976.[6] Stanley made his major league debut with the Red Sox on April 16, 1977.[4]
Stanley was named an All-Star in 1979, a year in which he pitched in 40 games (30 starts). He won 16 games and lost 12, with an earned run average (ERA) of 3.99. Following two more seasons of mixed usage, Stanley was deployed as a full-time relief pitcher in 1982, maintaining a 3.10 ERA over 168+1⁄3 innings pitched. As of the beginning of the 2022 season, this remains the American League record for innings pitched by a relief pitcher.[7] While he was not named to the All-Star team, Stanley was recognized with down-ballot votes for the Cy Young and Most Valuable Player awards. He was named to his second All-Star team the following season, 1983, appearing in 64 games and pitching 145+1⁄3 innings, while recording 33 saves and a 2.85 ERA, and he remained a fixture of the Red Sox bullpen in the years which followed.[8]
Stanley was a key member of the 1986 Red Sox team that came within one strike of winning the World Series but ultimately fell to the New York Mets in seven games. Stanley entered Game 6 with the Red Sox one out away from clinching their first World Series since 1918, holding a one-run lead with runners on first and third. Stanley threw a wild pitch to Mookie Wilson which allowed Kevin Mitchell to score the tying run and Ray Knight to move to second base, putting him in position to score the winning run on Bill Buckner's fielding error. Stanley and the Red Sox returned to Shea Stadium for Game 7, which the New York Mets won by a score of 8–5.[9]
In 1987, Stanley was converted to a regular starting pitcher for the first time since 1979, compiling a 4–15 record with 67 strikeouts and a 5.01 ERA.[4] After returning to the bullpen to pitch two more seasons as a reliever, Stanley announced his retirement on September 25, 1989. In a 13-year career spent entirely with the Red Sox, he compiled a 115–97 win–loss record with 693 strikeouts, a 3.64 ERA, 21 complete games, seven shutouts, 132 saves, and 1707 innings pitched in 637 games (85 as a starter).[4]
A sinker ball specialist, Stanley is the Red Sox all-time leader in appearances and relief wins, and was inducted to the Red Sox Hall of Fame in 2000. Stanley was also the team's all-time saves leader, a record he held for 20 years, until Jonathan Papelbon tied him on June 29, 2009, and then passed him on July 1, 2009.[10] Stanley is the first, and to date only, player born in Maine to be named to an MLB All-Star Game.[11]
On December 23, 2011, Stanley was announced as the pitching coach for the Blue Jays' Triple-A affiliate, the Las Vegas 51s.[12]
On January 7, 2013, Toronto announced that Stanley would be the pitching coach for their new Triple-A farm club, the Buffalo Bisons.[13]
Almost a year later, on January 4, 2014, the Blue Jays announced that Stanley would be replacing Pat Hentgen as their bullpen coach.[14] On December 19, Stanley was named the pitching coach for the Double-A New Hampshire Fisher Cats.[15] On January 19, 2016, Stanley was announced as returning to the Buffalo Bisons.[16] Stanley was confirmed to return for a third season as the Bisons' pitching coach on January 19, 2017.[17]