Pelfrey, battling for a spot in the Minnesota rotation, also surrendered an early run before settling down with three consecutive zeroes. He allowed three hits and struck out three without issuing a walk.
The Twins wasted little time grabbing the lead, as Shane Robinson drew a one-out walk in the first, stole second base and scored on Kennys Vargas' double to left field. Oswaldo Arcia then singled to left, but Vargas was held at third and was stranded there.
The Red Sox responded in the bottom of the frame, with Mookie Betts slashing his seventh extra-base hit of the spring to right field and coming home on Hanley Ramirez's missile off the Green Monster. Ramirez, who entered play 4-for-22 (.182) in the Grapefruit League, was thrown out by Arcia while trying for a double.
Jeff Bianchi pulled the Sox even in the eighth with an RBI single and then scored the go-ahead run on Matt Spring's single to right field.
Up next: After three straight home games, the Red Sox hit the road on Thursday, traveling up to Dunedin to face the Blue Jays at 1:07 p.m. ET. The game will feature a pair of promising young pitchers, with left-hander Henry Owens getting the start for Boston opposite righty Aaron Sanchez. Owens, MLB.com's No. 20 prospect, has allowed two runs on three hits over seven Grapefruit League innings, with seven strikeouts. Fellow southpaw prospects Brian Johnson and Edwin Escobar are among those scheduled to pitch in relief for Boston.
Andrew Simon is a reporter for MLB.com. Follow him on Twitter @AndrewSimonMLB. This story was not subject to the approval of Major League Baseball or its clubs.