Wales had looked on course for a series-levelling success in Melbourne thanks to some fine kicking from Leigh Halfpenny, only to miss out in agonising fashion.
Wales got off to a great start, launching a sustained attack after just three minutes which ended when George North side-stepped past Wycliff Palu and Rob Simmons to touch down.
Halfpenny kicked the easy conversion but the hosts went on to have the better of the half and Berrick Barnes kicked a pair of penalties to reduce their deficit to 7-6, before Rob Horne cruised over the line after a clever Barnes dummy.
The Welsh trailed 13-7 at the break but again started the half well, Ashley Beck and Jonathan Davies hacking the ball forward when Will Genia's pass went astray in midfield before Davies grabbed the ball near the line and scored.
Barnes booted a pair of three-pointers either side of a Halfpenny penalty to put the hosts back in front but they then lost Cooper Vuna to the sin-bin for tackling Halfpenny in the air.
The Welsh full-back kicked the resulting penalty to put them up 20-19 but the Wallabies went straight onto the attack and Barnes made it 22-20 when Wales infringed at a ruck.
The reliable Halfpenny was on target once again when Ben Alexander was penalised at a scrum 13 minutes from time and Barnes then put a kick wide of the posts with six minutes left.
But the Wallabies got another chance when, with the 80 minutes having elapsed, Richard Hibbard infringed at a driving maul, and Harris calmly stepped up to drill a tricky penalty straight through the uprights.
Gilbert has released a new line of rugby cleats. The Gilbert Virtuo 8S is part of the exciting new product. Check it out.
The Barbarians are one of the top invitational rugby sides with a long history and classic rugby jersey.
The Nike Tiempo is a solid rugby cleat and one of few styles still made from full-grain natural leather.
The Lions get ready for their matches with this green training jersey. It's what the players wear. Get in the Gear!
A cool looking all black rugby cleat with the high performance adidas is known for. Get in the Gear!
Wear the crest of the British and Irish Lions on your t-shirt. A great look for the summer.
$29.99
The Lions are ready to get their Australia tour underway. They arrive in Perth on Monday.
The New Zealand All Blacks training jersey for 2013/14. Get in the Gear!
The USA Rugby Pro Alternate rugby jersey is perfect for any fan of the Eagles. Get yours to wear during the summer Test matches.
The NEW All Blacks 2013/14 jersey has arrived at World Rugby Shop. Dare to wear the colors of the All Blacks.