The right-hander allowed three hits over seven innings, hit a two-run homer and snapped a career-high four-game losing streak in the Pittsburgh Pirates' 11-2 victory on Friday night.
Wells improved to 5-0 with a 1.26 ERA against Philadelphia for his career. In his last win before the streak, Wells shut out the Phillies and struck out 12 on July 5.
"When you have positive things happen against a team, it tends to lead to further success," Wells said. "I have some kind of positive frame of mind against these guys. I just tried to have the same game plan as I did the last time I pitched against them."
Bobby Abreu went 0-for-3 and struck out three times for Philadelphia, which came into the game leading the NL wild-card race. The Phillies have lost two straight and three of five.
Wells (7-12) won for the first time since July 5, a span of seven starts. He walked one, struck out seven and allowed one run on Mike Lieberthal's RBI double in the fourth.
"When (Wells) is in the zone, he's as nasty as they come," Pirates manager Lloyd McClendon said.
Wells then retired 11 straight batters into the sixth inning. After a single by Kenny Lofton, he got the last five batters he faced.
"Seems like he has our number," Phillies manager Charlie Manuel said. "We just got whipped."
Oddly, Wells was the subject of trade rumors at the July 31 deadline with Philadelphia being the top suitor.
Pittsburgh, which had given Wells the worst run support for any major-league starter (2.69 runs per game), jumped on Robinson Tejeda (3-3) for four runs in the second. It was the first time in Wells' last seven starts that Pittsburgh scored more than two runs.
Wilson hit a two-run single in the second and Wells followed with a two-run homer -- his first of the season -- to deep left field.
"I'll remind (the rest of the pitching staff) over the next few days who is the best hitting pitcher on this team," Wells said.
The Pirates padded their lead to 6-1 in the fourth when Freddy Sanchez hit a two-out, two-run double that chased Tejeda. He gave up six runs and eight hits in 3 2/3 innings.
"I don't have any excuses," Tejeda said. "Everybody has a bad game and tonight I had mine. It's over."
Pittsburgh added four runs in the sixth off reliever Geoff Geary, including Eldred's two-run homer, his fifth.
Pittsburgh continued to be a spoiler in the wild-card race.
"I said 10 days ago and still feel the same way, we'll have something to say in this wild-card race," McClendon said.
Manuel agreed, "Pittsburgh is a dangerous team. They're loose and they're having fun."
- After the game, the official scorer changed Wilson's double in the sixth to an error by center fielder Lofton.
- Wells has three career homers.
- Eldred has homered four times in his last six games.
- Abreu is 1-for-14 with seven strikeouts against Wells in his career.
- LHP Oliver Perez threw 54 pitches in a sideline session before the game. The Pirates will decide on Saturday the next step for Perez, who has been out since June 28 with a broken left big toe.