ANAHEIM, Calif. -

Did somebody say slump? What slump?

Mike Trout hit a three-run home run in the bottom of the ninth inning Thursday, lifting the Los Angeles Angels to a 6-5 win over the Tampa Bay Rays at Angel Stadium.

The Los Angeles center fielder got a hold of a 1-1 changeup from right-hander Brad Boxberger (0-1) and launched it deep into the left field bleachers for his first career walk-off hit. He hopes it was what he needed to turn around an unusual dry spell at the plate.

Trout came to the plate in the ninth in an 8-for-55 (.145) skid, and his 52 strikeouts on the season are the most in the American League.

"I'm anxious, I'm chasing," Trout said. "A lot of my strikeouts are (swinging at) balls (out of the strike zone). I just have to see the pitches more and not try to do too much."

He did more than enough with the pitch from Boxberger, getting a hero's welcome at home plate, including getting his jersey torn off by his teammates following his eighth homer of the season.

"I've had chances," Trout said of finally getting a game-winning hit. "I'm just glad it finally happened tonight."

The Angels appeared lifeless heading into the ninth, trailing 5-2. However, Rays closer Grant Balfour walked the first two batters of the inning, then gave up an RBI single to right fielder Collin Cowgill, cutting Los Angeles' deficit to 5-3.

Rays manager Joe Maddon went to Boxberger, and Trout ended the game three pitches later.

"You know what? I'm worried about the team," Maddon said when asked about the potential psychological ramifications of the loss. "Who's more aware of psychological components than me? But in that moment, right there, based on what we've seen (Boxberger) able to do, and that part of the order coming up ..."

Maddon said he had a quick hook for Balfour because the veteran walked the Nos. 8 and 9 hitters, catcher Hank Conger and pinch hitter Efren Navarro, before allowing the single by Cowgill.

"If it had been different batters that he had walked, as opposed to 8 and 9, then it might've made it different," Maddon said. "But walking 8, 9, and here comes 2, 3, 4. I thought (Boxberger) had a chance to finish this game."

Maddon said the Rays simply need to find a way to get over it.

"We've had a couple (tough losses), the one is Chicago was difficult and this one was very difficult. You can't take too many mulligans like this. There's not that many available."

The Angels' comeback offset a solid start by Rays lefty Erik Bedard, who gave up two runs, both unearned, on four hits and one walk in 5 2/3 innings. The Rays also got a home run from left fielder Brandon Guyer.

Guyer drove in the first run of the game with an RBI single in the second inning, and he later homered leading off the seventh, knocking Angels lefty Tyler Skaggs out of the game.

It was Guyer's first home run since May 12, 2012, which also happened to be the last major league game he played before this season. Injuries caused him to miss the rest of 2012 and all of 2013.

Skaggs gave up five runs on eight hits in six innings. Three Angels relievers each pitched one scoreless inning, with Fernando Salas (3-0) getting the decision as Los Angeles won for the sixth time in seven games.

Skaggs was alone in the clubhouse watching the game on television when Trout hit the home run.

"I flipped my drink in the air, it was unbelievable," Skaggs said. "I was the only one in here, kind of down in the dumps, and you go from being a zero to being ecstatic. It was unbelievable."

The Rays took a 1-0 lead against Skaggs in the second inning. Right fielder Wil Myers led off with a single, went to second on a single by first baseman James Loney and scored on Guyer's two-out, RBI single.

Meanwhile, Bedard cruised early. The Angels didn't have a baserunner until third baseman Luis Jimenez singled with two outs in the third.

Bedard got help from his defense as well, particularly when center fielder Desmond Jennings robbed Angels first baseman C.J. Cron of a home run, making a leaping catch in left-center field to end the fourth inning.

The Angels threatened in the fifth inning after left fielder Grant Green's double -- ruled safe after a replay challenge reversed an out call at second base -- gave the Angels runners on second and third with one out.

However, Bedard got out of the jam, striking out Jimenez and getting Cowgill on a groundout.

NOTES: Rays 2B Ben Zobrist was placed on the 15-day disabled list due to a dislocated left thumb that he sustained on a head-first slide on an attempted steal of second base Wednesday in Seattle. ... The Rays are 15-5 in their past 20 games at Angel Stadium dating back to May 2010. ... Angels 1B Albert Pujols is tied with Lou Gehrig for 33rd on the all-time list with 534 career doubles. Pujols recently passed Pete Rose with his 1,051st career extra-base hit for 25th on the all-time list.