Lamar Miller got the Texans on the scoreboard early with a 4-yard first quarter touchdown run at Baltimore.
Miller plunged through the right side of the line on 2nd-and-goal at the Ravens' 4-yard line, and the Ka'imi Fairbairn extra point put the Texans up 7-0 with 8:52 left in the opening quarter.
The score capped off a 9-play drive that went 90 yards and lasted 5:25.
Tom Savage and the passing game came up with some timely completions, as he founde DeAndre Hopkins for a gain of 23 yards, and Bruce Ellington for 29 yards.
Three Baltimore penalties proved costly for the Ravens, including a defensive pass interference that set the Texans up inside the 10-yard line of Baltimore.
Miller's touchdown was his eighth as a Texan, and it tied him with David Carr for 7th on the franchise's all-time rushing score list.