The two-time Cy Young winner, who hadn't pitched in a game in more than a year, gave up a walk, a double and a wild pitch but also had two strikeouts. Of the 16 pitches he threw, nine were strikes.
Lincecum, 33, has been out since spring training because of a blister on his right middle finger. The two-time Cy Young Award winner last pitched in the majors in 2016, going 2-6 with a 9.16 ERA in nine starts with the Los Angeles Angels.
Rangers manager Jeff Banister said Lincecum will stay on the disabled list until he can handle three innings. The Rangers plan to use him as a reliever.
Lincecum won Cy Youngs in 2008 and 2009, made four All-Star teams by age 27 and was a part of three World Series championships with the San Francisco Giants. But his velocity and effectiveness gradually diminished, in large part because of a series of injuries.