Brandon Lyon (3-1) blew a save, but still earned the win when he allowed one run in one inning of relief as Houston snapped its three-game losing streak.
Kameron Loe (2-2) took the loss for the Brewers, who have lost five of their last nine.
Wandy Rodriguez blanked the Brewers through eight innings and allowed seven hits, no walks and struck out six.
“Wandy was absolutely outstanding. He was able to move everything around,” Astros manager Brad Mills said of his starter. “He’s going to start doing that as he moves along and gains confidence.”
Rodriguez was denied a decision, though, when Lyon allowed a one-out, solo shot to right field by Prince Fielder in the bottom of the ninth that tied the game.
Milwaukee’s Randy Wolf pitched well himself, going seven innings and allowing one run on four hits and was denied a fourth straight win. He walked two and struck out four.
Loe entered the game in the ninth and got two quick outs before getting himself into trouble. He allowed back-to-back walks to pinch-hitter Brett Wallace and Michael Bourn. Bill Hall then came in to pinch run for Wallace, who is ailing from a hip pointer that he received from a collision with Fielder on Friday. Bourgeois followed with a sharp grounder through the left side of the infield to bring home Hall for the victory.
“When we get it tied up or get it close, I feel real good about our team. But we haven’t been finishing games,” Brewers manager Ron Roenicke said.
Bourgeois scored from third on a throwing error by Yuniesky Betancourt in the first to give the Astros an early lead. Bourgeois hit a one-out single and then stole second and third before Hunter Pence hit a grounder that Betancourt threw well over Fielder’s head.