The Huskies(7-5) will take on South Carolina (7-5) in the PapaJohns.com Bowl on Jan. 2 in Birmingham, Ala., school officials said.
After losing three consecutive games in the wake of the Oct. 18 stabbing death of cornerback Jasper Howard, UConn finished the season by beating Notre Dame, Syracuse and South Florida, and assured itself of a winning record.
Saturday's 29-27 win over the Bulls came when Dave Teggart hit a field goal on the game's final play.
South Carolina (7-5) has been bowl eligible in all five of Spurrier's seasons. The Gamecocks defeated rival Clemson 34-17 last week in their final regular-season game.
It will be the first meeting between the two schools in football.