Luton Town booked their place in the Blue Square Bet Premier play-off final against York as they hung on to beat Wrexham on aggregate.
Leading 2-0 from Thursday night's home leg, the Hatters looked home and hosed when George Pilkington struck home a 25th minute penalty following Mark Creighton's foul on Alex Lawless.
But Adrian Cieslewicz pulled one back for the home side on 63 minutes.
Player-boss Andy Morrell's 77th-minute strike then offered hope of extra-time.
But the Hatters held on and will face York City - their 2010 play-off semi-final conquerors - at Wembley on 20 May.
The kick-off was delayed at the Racecourse Ground due to extra time being played in the other semi-final between Mansfield and York.
Chances were at a premium in the first half as both sides struggled to create openings, and Luton were perhaps fortunate to extend their aggregate lead from the spot, following a set-play in the 23rd minute.
The Hatters at Wembley
- 1959 - Lost 2-1 in FA Cup final to Nottingham Forest
- 1988 - Beat Arsenal 3-2 in Littlewoods Cup final (pictured)
- 1988 - Lost 4-1 to Reading in Simod Cup final
- 1989 - Lost 3-1 to Nottingham Forest in Littlewoods Cup final
- 1994 - Lost 2-0 to Chelsea in FA Cup semi-final
- 2009 - Beat Scunthorpe 3-2 in Johnstone's Paint Trophy final
- 2012 - Blue Square Bet Premier play-off final (20 May)
Lawless found himself impeded by Dragons defender Creighton, allowing Pilkington to stroke home from the penalty spot.
With three goals now required to level the tie, Wrexham eventually sparked into life in the 38th minute, Glen Little forcing a fingertip save from Mark Tyler.
But the Hatters were quicker out of the blocks following the restart when Stuart Fleetwood drilled firmly into Joslain Mayebi's gloves.
Andre Gray was perhaps already dreaming of a day at Wembley when he fired wide twice in as many minutes.
And, encouraged by that, when Morrell replaced Danny Wright in a bid to lead by example, Wrexham found their shooting boots.
On 63 minutes, Dean Keates wriggled free down the right flank to reach the by-line, picking out Cieslewicz to glance beyond Tyler.
And Morrell had the Hatters fans' hearts in their mouths 13 minutes from time when he smashed against a post before sidefooting the rebound into the net.
Now the chase was very much back on, as Wrexham tried to take the game to extra-time.
Had Greg Taylor's speculative long-range effort been more accurate he might have put the result beyond doubt.
But Luton, beaten on penalties by AFC Wimbledon at the City of Manchester Stadium a year ago, were forced to ride out eight fractious minutes of stoppage time before booking another day out at Wembley.
VIEWS FROM THE DRESSING ROOM
Wrexham player-manager Andy Morrell told BBC Radio Wales:
"Again we're 45 minutes short of the 90 minute game. We played some good stuff in the first half but didn't cause them enough problems.
"In the second half we changed it around a little bit and it's not really the Wrexham way to go with the big lad up top.
"We knew if we could get a goal then they would struggle and that's the way it was.
"I'm so proud of the lads not just for the second half but for the whole season. They've given me every bit of energy that they've got left.
"When you're a manager you can't ask for any more than that."
Luton Town manager Paul Buckle told BBC Three Counties Radio:
"I thought we were in total control but then a scruffy goal got Wrexham back into it and you have to give Andy's team credit.
"There was quite a way to go after they scored but we didn't get rolled over, as a lot of clubs who've come here have been this season.
"We showed different qualities to the qualities we showed in the first leg, and we were a credit to our club, as we were last week. It'll be a proud moment to walk out at Wembley, but we're desperate to win it now."
- 25 Mayebi
- 02 Alfei
- 03 Ashton
- 04 Creighton
- 06 Harris Booked (Tolley - 88' )
- 12 Keates Booked
- 17 Little
- 20 Knight-Percival
- 09 Wright (Morrell - 56' )
- 10 Speight
- 24 Pogba (Cieslewicz - 56' )
- 21 Maxwell
- 23 Westwood
- 07 Cieslewicz
- 18 Tolley
- 11 Morrell
- 01 Tyler
- 06 Pilkington
- 15 Howells
- 18 Osano
- 34 Kovacs
- 04 Keane (McAllister - 66' )
- 07 Lawless
- 11 Willmott
- 28 Watkins Booked
- 13 Fleetwood (Taylor - 57' Booked )
- 27 Gray (Morgan-Smith - 81' Booked )
- 02 Gleeson
- 03 Taylor
- 12 Blackett
- 08 Morgan-Smith
- 09 McAllister
Live Text Commentary
Full Time The referee brings the game to a close.90:00 +5:52 Booking
Booking Amari Morgan-Smith goes into the referee's book for unsporting behaviour.90:00 +3:25
Nathaniel Knight-Percival gives away a free kick for an unfair challenge on Craig McAllister. Mark Tyler restarts play with the free kick.90:00 +2:39
Neil Ashton takes the free kick.90:00 +2:39 Booking
Booking Greg Taylor shown a yellow card.90:00 +2:32
Adam Watkins challenges Glen Little unfairly and gives away a free kick.90:00 +2:15 Booking
Booking Dean Keates receives a caution for dissent.90:00 +0:34
Greg Taylor takes a shot. Save by Joslain Mayebi.89:58
Free kick awarded for an unfair challenge on Nathaniel Knight-Percival by Craig McAllister. Neil Ashton restarts play with the free kick.88:51
Curtis Osano concedes a free kick for a foul on Jake Speight. Free kick crossed left-footed by Neil Ashton from left wing.87:00 Substitution
Substitution Jamie Tolley joins the action as a substitute, replacing Jay Harris.87:00 Booking
Booking Jay Harris is booked.86:13
Robbie Willmott decides to take the corner short.85:25
The referee gives a free kick against Amari Morgan-Smith for handball. Neil Ashton takes the direct free kick.84:29
Curtis Osano fouled by Andrew Morrell, the ref awards a free kick. Robbie Willmott crosses the ball in from the free kick.80:41 Substitution
Substitution Andre Gray goes off and Amari Morgan-Smith comes on.76:14 Goal scored
Goal! - Andrew Morrell - Wrexham 2 - 1 Luton Andrew Morrell finds the net with a goal from inside the six-yard box to the bottom right corner of the goal. Wrexham 2 (2)-(3) 1 Luton.71:38
Andre Gray concedes a free kick for a foul on Nathaniel Knight-Percival. Free kick taken by Neil Ashton.69:57
Unfair challenge on Andre Gray by Neil Ashton results in a free kick. Direct free kick taken by Robbie Willmott.67:08
Free kick awarded for a foul by Craig McAllister on Dean Keates. Free kick taken by Neil Ashton.
Substitution Craig McAllister is brought on as a substitute for Keith Keane.64:56
Free kick awarded for a foul by Robbie Willmott on Neil Ashton. Free kick taken by Neil Ashton.64:21
Glen Little takes a shot. Save made by Mark Tyler.62:59
Dean Keates provided the assist for the goal.62:59 Goal scored
Goal! - Adrian Cieslewicz - Wrexham 1 - 1 Luton Adrian Cieslewicz grabs a headed goal from close range. Wrexham 1 (1)-(3) 1 Luton.62:32
Corner taken by Dean Keates from the right by-line played to the near post,61:49
Greg Taylor concedes a free kick for a foul on Glen Little. Glen Little crosses the ball in from the free kick, clearance by Alex Lawless.59:26
Free kick awarded for an unfair challenge on Adrian Cieslewicz by Keith Keane. Glen Little restarts play with the free kick.56:29 Substitution
Substitution Greg Taylor comes on in place of Stuart Fleetwood.55:12 Substitution
Substitution Mathias Pogba goes off and Adrian Cieslewicz comes on.55:12 Substitution
Substitution Danny Wright goes off and Andrew Morrell comes on.54:32
Janos Kovacs gives away a free kick for an unfair challenge on Danny Wright. Direct free kick taken by Neil Ashton.53:49
Dean Keates gives away a free kick for an unfair challenge on Adam Watkins. Curtis Osano takes the direct free kick.52:39
Free kick awarded for a foul by Stuart Fleetwood on Nathaniel Knight-Percival. Dean Keates restarts play with the free kick.52:17
Andre Gray has an effort at goal from deep inside the area missing to the right of the target.51:07
Andre Gray produces a right-footed shot from just outside the box that misses to the right of the target.48:02
Danny Wright fouled by Keith Keane, the ref awards a free kick. Neil Ashton takes the free kick.47:03
Glen Little takes a inswinging corner from the left by-line played to the near post, Jake Howells makes a clearance.46:00
Shot by Stuart Fleetwood. Save made by Joslain Mayebi.45:01
The referee gets the second half started.45:00 +3:18 Half time
Half Time The half-time whistle blows.45:00 +1:52
Keith Keane fouled by Jake Speight, the ref awards a free kick. Direct free kick taken by Mark Tyler.45:00 +0:22
Danny Wright is ruled offside. Free kick taken by Mark Tyler.41:53
Dean Keates concedes a free kick for a foul on Curtis Osano. Mark Tyler takes the free kick.39:22
Mathias Pogba concedes a free kick for a foul on Stuart Fleetwood. Direct free kick taken by Mark Tyler.38:38
Corner taken right-footed by Glen Little from the left by-line, clearance by Stuart Fleetwood.38:20
Shot from 20 yards by Glen Little. Save made by Mark Tyler.33:02
Corner from right by-line taken by Dean Keates.32:40
Corner taken right-footed by Glen Little, save by Mark Tyler.32:18
Corner taken by Glen Little from the left by-line to the near post, Keith Keane makes a clearance.28:55
Corner taken by Robbie Willmott, Danny Wright manages to make a clearance.24:44
Alex Lawless provided the assist for the goal.24:44 Goal scored
Goal! - George Pilkington - Wrexham 0 - 1 Luton George Pilkington scores a placed penalty. Wrexham 0 (0)-(3) 1 Luton.22:54
Penalty awarded for a foul by Mark Creighton on Alex Lawless.21:34
Inswinging corner taken by Robbie Willmott from the left by-line, save made by Joslain Mayebi.19:00
Inswinging corner taken by Dean Keates from the right by-line played to the near post, clearance by Alex Lawless.18:28
Free kick awarded for an unfair challenge on Jay Harris by Keith Keane. Direct free kick taken by Neil Ashton.17:20
Curtis Osano gives away a free kick for an unfair challenge on Jay Harris. Direct free kick taken by Jay Harris.16:09
Mark Creighton concedes a free kick for a foul on Andre Gray. Robbie Willmott produces a strike on goal direct from the free kick.15:35
Free kick awarded for a foul by Glen Little on Alex Lawless. Janos Kovacs takes the direct free kick.13:14
Free kick awarded for an unfair challenge on Jake Speight by Stuart Fleetwood. The free kick is delivered right-footed by Glen Little from left wing, Mark Tyler makes a save.12:26
Neil Ashton takes the free kick.12:26 Booking
Booking Adam Watkins goes into the book.12:10
Adam Watkins concedes a free kick for a foul on Daniel Alfei.11:42
Inswinging corner taken right-footed by Glen Little, clearance by Curtis Osano.10:40
The official flags Andre Gray offside. Free kick taken by Neil Ashton.4:38
Free kick awarded for an unfair challenge on Jake Howells by Daniel Alfei. Mark Tyler restarts play with the free kick.0:00
The ref blows the whistle to start the match.
Live data and text provided by our data suppliers