Jacob Stockdale scored two tries as Ireland maintained their perfect Six Nations record with a tense, record-equalling 37-27 bonus-point win at the Aviva Stadium on Saturday.
Joe Schmidt's men matched the Ireland record of 10 consecutive Test victories, spoiling Warren Gatland's 100th game in charge of Wales and all but ending their hopes of winning the title.
Injury-hit Ireland outscored their opponents by five tries to three in Dublin, Stockdale going over early on and Bundee Aki crossing on the stroke of half-time after a Gareth Davies try and the boot of the fit-again Leigh Halfpenny had edged Wales in front.
Dan Leavy and Cian Healy touched down as Wales were outmuscled by the rampant Ireland forwards, but Wales were back in it midway through the second half courtesy of an Aaron Shingler try, which was superbly converted by Halfpenny.
Steff Evans set up a tense finale with a third Wales try in the closing stages following a three-pointer from Conor Murray, who took over kicking duties after Jonathan Sexton missed two penalties and as many conversion attempts on an off day for the fly-half.
Stockdale sealed it with a breakaway try right at the end in a dramatic climax to a pulsating encounter as Ireland made it three wins out of three in the tournament.
Halfpenny marked his return by sending a penalty through the posts just two minutes in and Sexton missed an opportunity to level from the tee soon after when he struck a post, but made amends by playing a key role in an early Ireland try.
The fly-half took a pass from Murray and whipped a sumptuous ball out to Stockdale, who claimed a seventh try in as many Tests with a simple finish in the left corner with seven minutes on the clock.
Sexton failed to convert and uncharacteristically missed another straightforward penalty before Wales scored their first try from out of the blue, the nippy Davies changing direction sharply and darting through a gap to go over following a strong run from Shingler midway through the first half.
Halfpenny added the extras and was on target with a penalty as Wales' kicking game worked a treat, but Sexton got off the mark from close range and converted to edge his side in front at 15-13 after Aki reached out to dot down when the Ireland forwards applied immense pressure.
Ireland carried on where they left off early in the second half, Leavy powering his way over and Healy also touching down from close range following a turnover at the lineout.
Sexton was unable to convert both scores but Ireland looked to be in control with Chris Farrell outstanding on his Six Nations debut until Evans scooted away down the right and Shingler was on hand to score a second Wales try, which Halfpenny converted superbly.
Gatland's men were not finished yet, though, Scott Williams and Josh Navidi combining before Evans was given the opportunity to run in for a third Wales try, which the reliable Halfpenny converted to make it a three-point game with three minutes to play.
But there was huge relief for the vast majority of a partisan crowd when the rapid Stockdale plucked a stray pass to race away and go under the posts, Joey Carbery converting right at the end of a breathless encounter.
|MLS Review: Wright-Phillips lifts Red Bulls, Crew win again|
|Philadelphia´s young stars fuel win over Timberwolves|
|Halep exits as Kerber, Azarenka win through|
|Rangers coach Johnson hit in face by foul ball|
|Federer falls as Zverev, Kyrgios progress in Miami|
|CA to investigate ball-tampering incident|
|Clarke not ruling out Australia return|
|Jaguares upset Lions in Buenos Aires|
|Clarke slams ´disgraceful´ Australia over ball-tampering|
|Spurs star Kane the world´s best player, claims Son|
|Whyte calls out Wilder after dispatching Browne|
|Federer to skip clay-court season again|
|Cardiff maintain winning streak, Leinster beaten|
|Montpellier march on, Brive climb off the bottom|
|De Gea and Ter Stegen criticise World Cup ball|
|Kisner thrashes Poulter to set up Thomas Match Play semi-final|
|Kokkinakis stuns Federer in Miami|
|Neymar to Real Madrid stories a media game, says PSG´s Pastore|
|Falcons rise to the occasion at St James´ Park|
|Celtics´ Irving to return in three to six weeks after surgery|
|Poulter forgets Oosthuizen´s Masters nightmare|
|Miami Open organisers unaware of Wozniacki abuse|
|FA condemns England supporters after trouble in Amsterdam|
|Warriors star Curry´s regular season over after MCL sprain|
|Radwanska stuns Halep to open up Miami draw|
|This is the real Michy - Batshuayi back on track at Dortmund|
|Atherton, Waqar, Du Plessis and now Bancroft - A brief history of ball tampering in cricket|
|Sweden 1 Chile 2: Bolados strikes late winner on debut|
|Stormers hold off rallying Reds at Newlands|
|Italy to name new coach in May, Costacurta confirms|
|Garcia eliminated as Thomas´ Match Play charge continues|
|Wozniacki demands action after Miami Open abuse|
|Smith will not stand down as Australia captain, despite role in Bancroft ball-tampering plot|
|Canada 1 New Zealand 0: Herdman enjoys winning start thanks to Ricketts|
|I saw an opportunity to change the ball condition - Bancroft|
|Wilshere withdraws from England squad to face Italy|
|Colombia collapse a slap for France, says Giroud|
|Vazquez wants Spain to face Messi|
|Gotze, Sahin mentoring Jadon Sancho at Dortmund|
|Low to make changes for Brazil friendly as injured Can heads home|
|Conti targets Milan derby for injury return|
|Bancroft charged over ball-tampering incident|
|Bancroft faces ball-tampering allegations as South Africa take control of third Test|
|F1 Raceweek: Hamilton out to make pole count, Ricciardo ready to fight|
|Northern Ireland 2 South Korea 1: Son frustrated as World Cup preparations stutter|
|Olympiacos & Nottingham Forest owner denies any wrongdoing over drug trafficking charges|
|I´ll dance with the fans - Gayle ready to party in Harare|
|Two games in two days! Ireland´s Doyle returns from Turkey to play for Bradford|
|Bancroft caught up in ball-tampering row|
|Everything is fine again! Khedira offers positive fitness update|
|Puyol ´doesn´t see any problem´ with Neymar joining Real Madrid|
|Spain already know their team - Sampaoli seeks Argentina certainty|
|No offers for ´happy´ Bellerin, insists Arsenal full-back´s agent|
|F1 teams up with Netflix for documentary series|
|Iker is trembling already! - Ramos hunting down Casillas´ cap record|
|Warriors leave it late to preserve winning start, Hayne injures hip|
|Silva leaves Spain squad for personal reasons|
|Egypt coach Cuper declares Salah among world´s best|
|A-League Review: Simon haunts managerless Mariners, Jakobsen opens City account|
|Ricciardo: I´ve been shot in the ankle before season has even started|
|Alvarez temporarily suspended over positive test|
|Ronaldo trumps Salah, Messi missing - winners and losers from Friday´s internationals|
|Giggs wants Bale to stay at Real Madrid|
|Canes end Highlanders´ winning run|
|Bottas ´sorry´ for qualifying crash|
|Muller and Ozil set to miss Brazil friendly|
|´I wanted to wipe the smile off your face´ - Hamilton-Vettel rivalry already simmering|
|Ramos hails Spain´s belief after Germany draw|
|Buffon not ready to walk away as Italy look to the future|
|Hamilton breaks records to take pole in Melbourne|