Match ends, Kilmarnock 3(4), St. Mirren 3(5).
St Mirren beat Kilmarnock 5-4 on penalties following a six-goal thriller to reach their first Scottish Cup semi-final in 12 years.
Kyle McAllister clinched the winner after Jak Alnwick denied Rory McKenzie.
Ilkay Durmus netted a calamitous opener for the visitors but Zeno Ibsen Rossi and Greg Kiltie turned the tie.
Joe Shaughnessy forced extra time before controversial spot-kicks, scored by Ross Millen and St Mirren's Jamie McGrath, sent the game to a shootout.
Jim Goodwin's side will take on League Cup winners on 8 or 9 May, with Dundee United taking on Hibernian in the other semi-final.
George Oakley and Kiltie were off target for the hosts, who were without in-form Kyle Lafferty, before they fell behind.
Durmus was released on the right from a free-kick and his cross went through Colin Doyle's grasp into the net.
The ever reliable Chris Burke produced a superb corner delivery for Kilmarnock's leveller, Ibsen Rossi powering the ball home.
Oakley was the architect of Kilmarnock's second, bustling down the right and squaring for Kiltie to convert.
Kilmarnock could have put themselves out of sight with Kiltie testing Alnwick then crossing for Oakley to turn over.
McGrath had curled an effort wide and it was his free-kick that led to St Mirren's equaliser, the inswinging delivery from the left expertly helped on by Shaughnessy.
And substitute Collin Quaner could have won it for Jim Goodwin's side in regulation time, his shot well saved by Doyle.
Extra time ensued and Kilmarnock had used all their substitutes by the time Oakley's replacement Nicke Kabamba picked up a knock after shooting wide, leaving them with 10 men.
And there was more drama when Brandon Haunstrup chased Alan Power's pass and referee Don Robertson judged McAllister's challenge to be illegal. Millen fired right down the middle from 12 yards.
But there was another twist in the tale as Jake Doyle-Hayes was felled by Doyle - a decision that incensed Kilmarnock boss Tommy Wright - and McGrath stroked in the game's sixth goal.
Doyle partially redeemed himself by turning Shaughnessy's header over in the 120th minute.
McKenzie was the only player not to score in the shootout, with McAllister having the last laugh in the third quarter-final settled by penalties.
Man of the match - Greg Kiltie
Kiltie was the best player over 90 minutes, scoring one and unfortunate not to add to his tally.
What did we learn?
With Celtic or Rangers already out, both sides knew this season presented a real opportunity to win the tournament.
And for 1987 winners St Mirren, a semi-final place offers another chance at glory after losing to Livingston in the last four of the League Cup and missing out on a Premiership top-six place.
Lafferty's absence did not hinder Kilmarnock quite as much as expected, and ultimately it was defensive lapses that cost them.
Top-flight survival remains their priority, with Wright's team two points above the relegation zone with three games left.
What did they say?
Kilmarnock manager Tommy Wright: "We should've won the game, there's no doubt. It's not a penalty, never a penalty - Doyle gets the ball.
"To score three goals and lose is really disappointed for the players because they gave everything. Their keeper had to make more saves than ours. But that's cup football."
St Mirren manager Jim Goodwin: "We were all going through the ringer tonight. Some of the goals we conceded were shocking.
"Great credit to the players for their character and willingness to go right to the end. We're there, that's all that matters. St Johnstone might be favourites for the cup. It'll be a good game and we look forward to it."
What's next?
Kilmarnock visit Motherwell in the Premiership on Saturday (15:00 BST) while St Mirren are at home to bottom side Hamilton Academical (15:00).
Line-ups
Kilmarnock
Formation 4-4-2
- 16Doyle
- 22Millen
- 5Broadfoot
- 14Rossi
- 3Haunstrup
- 29BurkeSubstituted forDickerat 90'minutesBooked at 108mins
- 21MulumbuSubstituted forTshibolaat 76'minutesBooked at 90mins
- 6Power
- 19Pinnock
- 10KiltieSubstituted forMcKenzieat 90'minutes
- 9OakleyBooked at 66minsSubstituted forKabambaat 81'minutesSubstituted forat 96'minutes
Substitutes
- 2McGowan
- 4Dikamona
- 7McKenzie
- 8Dicker
- 11Kabamba
- 12Whitehall
- 18Waters
- 23Rogers
- 27Tshibola
St Mirren
Formation 4-4-2
- 1AlnwickBooked at 101mins
- 22FraserSubstituted forMacPhersonat 105'minutes
- 5McCarthyBooked at 82mins
- 4Shaughnessy
- 2Tait
- 30Henderson
- 17McGrath
- 7Doyle-Hayes
- 11DurmusSubstituted forMcAllisterat 72'minutesBooked at 101mins
- 20DennisSubstituted forQuanerat 61'minutes
- 23ErwinSubstituted forErhahonat 61'minutes
Substitutes
- 3Mason
- 10McAllister
- 14MacPherson
- 15Finlayson
- 19Reid
- 25Erhahon
- 26Lyness
- 45Quaner
- Referee:
- Don Robertson
Match Stats
- Possession
- Home44%
- Away56%
- Shots
- Home13
- Away20
- Shots on Target
- Home7
- Away10
- Corners
- Home5
- Away7
- Fouls
- Home20
- Away13
Live Text
Post update
Penalties over
Penalty Shootout ends, Kilmarnock 3(4), St. Mirren 3(5).
Post update
Goal! Kilmarnock 3(4), St. Mirren 3(5). Kyle McAllister (St. Mirren) converts the penalty with a left footed shot to the top right corner.
Post update
Goal! Kilmarnock 3(4), St. Mirren 3(4). Aaron Tshibola (Kilmarnock) converts the penalty with a right footed shot to the centre of the goal.
Post update
Goal! Kilmarnock 3(3), St. Mirren 3(4). Joe Shaughnessy (St. Mirren) converts the penalty with a right footed shot to the bottom right corner.
Post update
Goal! Kilmarnock 3(3), St. Mirren 3(3). Ross Millen (Kilmarnock) converts the penalty with a right footed shot to the top right corner.
Post update
Goal! Kilmarnock 3(2), St. Mirren 3(3). Collin Quaner (St. Mirren) converts the penalty with a right footed shot to the bottom right corner.
Post update
Goal! Kilmarnock 3(2), St. Mirren 3(2). Mitchell Pinnock (Kilmarnock) converts the penalty with a left footed shot to the top right corner.
Post update
Goal! Kilmarnock 3(1), St. Mirren 3(2). Cameron MacPherson (St. Mirren) converts the penalty with a right footed shot to the bottom right corner.
Post update
Penalty saved! Rory McKenzie (Kilmarnock) fails to capitalise on this great opportunity, right footed shot saved in the centre of the goal.
Post update
Goal! Kilmarnock 3(1), St. Mirren 3(1). Jamie McGrath (St. Mirren) converts the penalty with a right footed shot to the bottom right corner.
Post update
Goal! Kilmarnock 3(1), St. Mirren 3. Gary Dicker (Kilmarnock) converts the penalty with a right footed shot to the bottom right corner.
Penalties in progress
Penalty Shootout begins Kilmarnock 3, St. Mirren 3.
Post update
Second Half Extra Time ends, Kilmarnock 3, St. Mirren 3.
Post update
Corner, St. Mirren. Conceded by Colin Doyle.
Post update
Attempt saved. Joe Shaughnessy (St. Mirren) header from the centre of the box is saved in the top centre of the goal.
Post update
Goal! Kilmarnock 3, St. Mirren 3. Jamie McGrath (St. Mirren) converts the penalty with a right footed shot to the centre of the goal.
Post update
Penalty St. Mirren. Jake Doyle-Hayes draws a foul in the penalty area.
Post update
Penalty conceded by Colin Doyle (Kilmarnock) after a foul in the penalty area.
Post update
Foul by Jay Henderson (St. Mirren).