Cowley (10-5) allowed four runs on nine hits in 6.1 innings of work to pick up his tenth win of the season. Scott Richmond came on in relief and pitched 2.2 scoreless innings to close out the game.
With the win Oklahoma State improved to 34-23 and advanced to face the second-seeded Baylor (37-20) Thursday evening at 5 p.m. Baylor defeated Kansas 2-1 on Wednesday.
Texas fell to 43-13 and will face the Jayhawks Thursday morning at 10 a.m.
The Cowboys took a 1-0 lead in the second on a RBI groundout by catcher Matt Clarkson off of Texas starter Adrian Alaniz. OSU added another run in the fourth on a RBI double by Justin Colbert to make it 2-0.
OSU, on the strength of a two-run homer by Adam Carr, put up a three spot in the fifth inning to take a 5-0 lead and knock Alaniz (4-3) out of the game. He allowed five runs on eight hits in 4.1 innings of work with a walk and two strikeouts.
The Longhorns got on the board in the sixth on a two-run homer by catcher Todd Gilfillan to make it 5-2.
The Pokes stormed back with five runs in the seventh to extend the lead to 10-2. OSU scored all of the runs with two outs in the frame led by Mike Hernandez' two run double to left center. The final three runs in the inning came on a bases loaded walk and two wild pitchers by the Longhorn relief staff.
Texas scored two runs in the seventh on a RBI singles by Seth Johnston and Clay Van Hook.
Chris Gutierrez, Adam Carr and Mike Hernandez each led the Pokes with two hits on the day, while Seth Johnston led Texas with three hits.
Cowley Leads Cowboys to Upset of Horns
GoPokes Top Stories
Top 10 Things Needed To Beat West VirginiaWhat's it going to take for Oklahoma State to hand West Virginia its first loss of the season when the Mountaineers make the trip to Stillwater on Saturday?
Sunday Review: The Good, The Bad & The UglyRobert Allen reviews the good, the bad and the ugly from Saturday's win over the Kansas Jayhawks
Commit Thabo Mwaniki Shines For Denton GuyerScout's Gabe Brooks caught up with Oklahoma State commit Thabo Mwaniki following his Friday night performance as Denton Guyer High School's quarterback in a big district win.
Scout Football1:30 PM
OSU-KU Postgame: Devante AveretteRobert Allen visits with Oklahoma State linebacker Devante Averette, who had a team-best seven tackles and a fumble recovering in Saturday's 44-20 victory over Kansas.
GoPokesYesterday at 7:02 PM