Jamal Milan blocked Morgan Hagee's 54-yard field goal attempt as time expired, and Illinois opened its second season under coach Lovie Smith with a 24-21 victory over Ball State on Saturday.
Mike Epstein scored on a 1-yard run with just over two minutes remaining after Mike Dudek returned a punt 52 yards. Isaiah Gay came through with a huge sack near the end, and Milan got a hand on the ball on Hagee's attempt.
Chayce Crouch threw for 145 yards and a touchdown. Mike Epstein ran for two touchdowns.
Illinois -- coming off a 3-9 season -- blew a nine-point halftime lead and wasted several scoring opportunities down the stretch. But Dudek brought them back into it with a big punt return through the middle and up the right side to the 35 in the closing minutes.
Epstein then plowed in from the 1 with 2:06 left. Crouch converted the 2-point conversion run to make it 24-21.
Ball State then drove to the 30 before Isaiah sacked Riley Neal for a 17-yard loss. The Cardinals had the ball on the 36 with five seconds remaining when they turned to Hagee for the tying attempt.
Illinois took a 16-7 halftime lead, only to give up long touchdown drives on Ball State's first two possessions of the third quarter.
The Illini had a big opportunity late in the third when Tre Watson returned an interception near midfield to the Ball State 33. But with the ball on the 24, Anthony Winbush sacked Crouch on back-to-back plays, forcing Illinois to punt.
The Illini have won 20 straight home openers, but the schedule isn't getting any easier, with Western Kentucky -- an 11-game winner last season -- visiting next week. The Illini then go to South Florida on Sept. 15, followed by a home game against Nebraska on Sept. 29 and a trip to on Oct. 7.