The Boston Red Sox and All-Star second baseman Dustin Pedroia have agreed to a seven-year contract worth around $100 million, a source told ESPNBoston.com's Gordon Edes.

The deal hasn't been confirmed by the Red Sox or Pedroia yet, and a major league source told Edes that Pedroia must still pass a physical on Wednesday.

The contract, the source said, begins in 2015 and runs through 2021. It will pay Pedroia an average of around $14 million per season. Pedroia is currently playing on a six-year, $40.5 million contract that runs through 2014.

"It's not official. I don't think about any of it," Pedroia said of the pending contract. "I enjoy coming every day to play, especially this park, this city. This is my life."

On playing with potentially one team for his entire career, he said: "That was my biggest thing. I grew up a Giants fan. The guys you looked up to, you wanted them to be with your team the whole time they were playing. My boys were born here. Every offseason I talk to [son] Dylan and say, 'You ready to go back to Boston?' It's home, you know."

Pedroia's new deal comes just months before Yankees second baseman Robinson Cano is set to become a free agent. He's expected to command a contract of six to eight years and close to $200 million in a deal that could make Pedroia's new contract look like a bargain.

Pedroia, who will turn 30 on Aug. 17, will be 38 years old in the final year of this new deal. He is batting .308 with six homers, 57 RBIs and an .807 OPS this season.