Pujols sliced a second-inning solo drive into the right field seats for his 648th career homer.
The 39-year-old Pujols joined home run champ Barry Bonds and Hall of Famers Eddie Murray and Frank Robinson as the only players to tally at least 15 homers in each of their first 19 seasons.
Pujols drove in two runs and has 14 RBIs in his last eight games. He got two hits and moved past Paul Waner for 16th place on the career list 3,154.
Trout added to his AL-leading totals with his 32nd home run and 79th RBI, hitting a solo shot in the seventh.
Minor league call-up Dillon Peters (2-0) sent the Mariners to their eighth loss in nine games and 15th in the last 18. Peters, replacing the injured Andrew Heaney, pitched five scoreless innings and allowed four hits.
Seattle rookie Yusei Kikuchi (4-7) continued to struggle, giving up nine hits and seven runs in five innings. The Mariners are 0-3 in games in which Kikuchi and former Japanese high school classmate Shohei Ohtani have faced each other.
Kikuchi struck out Ohtani in the first and induced a groundout in the third before giving up a leadoff double to the designated hitter in the fifth. Ohtani scored on Justin Upton's double.
EDGAR'S BIG DAY
The Mariners opened T-Mobile Park early to allow fans to sit in the stands and watch Edgar Martinez's induction into the Hall of Fame. Several thousand watched on the stadium's big screen as Martinez gave his speech. He spent 18 years with the team, the only one he played for during his career.
Martinez saluted his native Puerto Rico, speaking in Spanish to fans there, his family and former manager Lou Piniella. He also gave shout-outs to a few former teammates who are now fellow Hall of Famers.
On Ken Griffey Jr.: ''It was such a treat to look at that beautiful swing from the on-deck circle.'' And of Randy Johnson, he said, ''I love that edge you gave our team.''
Seattle acquired reliever Matt Magill from the Minnesota Twins for cash, the latest move in a season-long attempt to shore up the bullpen. Magill was designated for assignment on July 18.
The right-hander is expected to report to the team within the next day or two, manager Scott Servais said. He was 2-0 with a 4.45 ERA in 28 appearances, but has tailed off as the season progressed after a strong start. He arrives with a chance to earn a spot in a bullpen that's been ravaged by injuries and inconsistency.
''We've given an opportunity to a number of guys like this,'' Servais said. ''Some have worked out great. And some haven't. it's just kind of where we're at.''
The Mariners gave All-Star DH/1B Daniel Vogelbach a day off. Vogelbach has been dealing with a sore shoulder since the All-Star break, Servais said.
Angels: RHP Felix Pena (7-3, 4.92 ERA) will start when the Angels travel to the Dodgers on Tuesday.
Mariners: LHP Marco Gonzales (10-8, 4.48) will start and is 5-2 since June 7 for the Mariners.
More AP MLB: https://apnews.com/MLB and https://twitter.com/AP-Sports