With a chance to tie the major league record of four home runs in a game, Werth fouled out to first base to end the seventh inning.
Werth then connected for a solo shot to left-center in the fifth off reliever Jesse Litsch on a 2-1 pitch to make the score 9-2.
Werth set career highs for homers and RBIs and became the 18th Phillies player to hit three homers in a game. Ryan Howard was the last Philadelphia player to hit three. He did it on Sept. 3, 2006, against Atlanta in the first game of a doubleheader.
Werth also tied a franchise record for RBIs held by four others, most recently accomplished by Mike Schmidt in a 10-inning game at Chicago on April 17, 1976. The others are, Kitty Bransfeld (1910), Gavvy Cravath (1915) and Willie Jones (1958).