HOUSTON (AP) Marwin Gonzalez had three hits and his 10th-inning leadoff homer lifted the Houston Astros to a 3-2 victory over the Tampa Bay Rays on Tuesday night.

The game was tied at 2-all when Gonzalez connected off All-Star closer Brad Boxberger (4-9), sending a full-count fastball into the seats in right field to give Houston the win.

Luke Gregerson (6-2) pitched two scoreless innings for the win.

More from FoxSports

The Rays led 2-1 in the eighth before an RBI double by Carlos Correa tied it up.

Curt Casali homered for the Rays, who lost for the fourth time in five games.

Gonzalez drove in Houston's first run with a double in the third inning.

Kevin Kiermaier singled to center field to start the top of the seventh and Casali followed with a bloop double. Grady Sizemore drew a walk with one out to load the bases before Evan Longoria grounded into a forceout that scored Kiermaier to put the Rays on top 2-1.

Jason Castro singled with one out in the third and Jose Altuve reached on a bunt single. He was ruled out initially but the Astros challenged the call and it was overturned. Gonzalez followed with his double to left to score Castro and give Houston a 1-0 lead.

Casali's towering homer tied it at 1-all with one out in the fifth.

Jake Odorizzi allowed six hits, one run and tied a season-high with nine strikeouts in six innings.

Houston starter Scott Feldman yielded nine hits and two runs in seven innings.

There was a scary moment came when Correa tumbled over Carlos Gomez when the two both tried to catch Casali's double in the seventh. Gomez went to the ground to try and make the catch and a sprinting Correa deflected the ball off his glove before running into him and falling to the ground. He remained on the ground for a minute clutching his left ankle, but remained in the game after a short chat with the team's trainer.

TRAINER'S ROOM

Rays: OF Desmond Jennings, who came off the 60-day DL on Friday, got a day off. Manager Kevin Cash said he was fine, but that he wanted to give him a breather after playing four straight games after such a long layoff following arthroscopic knee surgery.

Astros: OF George Springer (broken right wrist) has started to swing a fungo bat. Manager A.J. Hinch said he's still some time away from swinging a real bat or actually hitting. There is no timetable for his return.

UP NEXT

Houston ace Dallas Keuchel (14-6, 2.36) looks to improve to 12-0 at home when he opposes rookie Nathan Karns (7-5, 3.53). Keuchel is tied with Felix Hernandez for the AL lead in wins and his 2.36 ERA ranks second.