Alvarez, who is of Mexican American descent, attended Long Beach State University, where he posted a 23–5 record with a 2.56 ERA in three seasons. As a junior in, he was named an All-American by Baseball America after going 11–2 with a 2.35 ERA in 18 starts. He returned to Long Beach State in 2010 to complete a bachelor's degree in history and is the undergraduate assistant pitching coach for the university's baseball team, known as The Dirtbags.
Minor league career
Signed by the Boston Red Sox in 2003 after being drafted 49th overall, Alvarez made his professional debut with the short-season Single-A Lowell Spinners. He posted no record and did not allow an earned run in 19.0 innings over nine starts, struck out 19 and walked just two hitters. He limited opponents to a.138 batting average and did not walk a batter in his first six starts.
2004
In, Alvarez was named Pitcher of the Year for Double-A Portland Sea Dogs after going 10–9 with a 3.59 ERA in 26 starts in his first full pro season. He limited opposite hitters to a.252 average, posted a 3.4 strikeout-to-walk ratio, and was also named to the Eastern League's mid-season All-Star team.
2005
In, Alvarez started 26 games for the Triple-A Pawtucket Red Sox. He finished the year with a record of 11–6 and a 4.85 ERA. The left-hander surrendered 143 hits over 144.2 IP. He struck out 109 batters and walked 32.
2006
In, Alvarez started 21 games for Triple-A Pawtucket. He had a losing record of 6–9 and a 5.64 ERA. He struck out 71 and walked 40 in 118 IP; he gave up 136 hits and 74 earned runs. His season was cut short by an ankle injury sustained off-field. Alvarez had surgery on the ankle on August 18, 2006, but was fully recovered by spring training.
The Red Sox summoned Alvarez on July 22, 2004 from Double-A Portland when a spot starter was needed for a doubleheader against the Baltimore Orioles. Alvarez allowed five runs on eight hits, two strikeouts, and five walks over 5.0 innings of an 8–3 loss. He was sent back to the minorsafter the game. He was the youngest member of the World Series champion 2004 Red Sox to receive a ring.
2005
On July 2, 2005 Boston placed relieverMatt Mantei on the 15-day disabled list with a left ankle ligament sprain and recalled Alvarez from Triple-A Pawtucket Red Sox. At the time of promotion, Alvarez was 7–3 with a 4.23 ERA in 16 starts for the PawSox, including wins in five of his past six decisions. He was expected to work out of Boston's bullpen, but was sent to Pawtucket the next day. Boston designated reliever Mike Remlinger for assignment and recalled Alvarez on August 28, 2005. He pitched two games in relief, pitched 2.1 innings, and gave up four runs. He was sent down on August 30.
2006
On May 19, 2006 Boston placed reliever Mike Holtz was placed on the 15-day disabled list and recalled Alvarez from Pawtucket. Alvarez pitched in relief on May 21, 2006. In three innings, he gave up five hits, four runs, two walks and he struck out two. He was optioned to Pawtucket the next day afterDavid Riske came off the 15-day DL.
Post-playing career
In 2010, after Alvarez retired from professional baseball, he returned to Long Beach State, where he worked toward a bachelor's degree in history and worked as an undergraduate assistant pitching coach. Alvarez was pitching coach at Cerritos High School and currently is the head coach at St. Bernard High School, which has won a share of the 2018 Santa Fe League championship. Alvarez in 2012 graduated from Long Beach State with a history degree.