Daniel Sturridge's late header gave England a 1-0 win over Denmark after Kasper Schmeichel looked to have denied them victory at Wembley.
The Liverpool striker headed home Adam Lallana's inviting cross eight minutes from time to ensure England secured victory in their final game before Roy Hodgson names his provisional 30-man squad for the FIFA World Cup in Brazil.
Defeat was harsh on Leicester City goalkeeper Schmeichel, who produced a string of outstanding saves to keep the hosts out until Sturridge, who has 18 Premier League goals to his name this season, popped up with the winner.
Losses against Chile and Germany had put Hodgson at risk of becoming the only England boss to lose three consecutive home internationals, but the home side were not to be denied.
Denmark had their chances, but were ultimately unable to stretch their unbeaten run to six matches.
Glen Johnson won his 50th cap and was one of five Liverpool players in the England starting line-up, with captain Steven Gerrard, Raheem Sterling, Sturridge and Jordan Henderson making up the Anfield quintet.
Denmark were without key midfielder Christian Eriksen for their first game since long-serving coach Morten Olsen signed a new two-year contract.
Jack Wilshere's involvement looked like it may only last 13 minutes after he went down following a challenge from Denmark captain Daniel Agger, but the Arsenal midfielder was able to continue.
Casper Sloth was shown a yellow card four minutes later after he upended Gerrard as the midfielder charged towards the penalty area and the resulting free-kick was fired over by Wayne Rooney.
The lively Sturridge produced some lovely trickery before firing the ball across the face of the goal 32 minutes in as England continued to ask questions of the Denmark defence.
The visitors almost caught them out six minutes later, though, when Jakob Poulsen raced into the area and beat Joe Hart but Gary Cahill was on hand to clear.
Sterling somehow failed to convert the marauding Ashley Cole's inviting cross from point-blank range and then Schmeichel produced an outstanding save with his feet to deny Sturridge as Denmark weathered the storm late in the first half.
Teenage left-back Luke Shaw made his England debut as a half-time substitute to replace Cole, while Olsen brought on Kasper Kusk and Jesper Juelsgard at the break with Emil Larsen and Lars Jacobsen making way.
Juelsgard wasted no time in getting into the thick of the action as he whipped in a dangerous cross but Cahill was alert to the danger.
Gerrard had a shot deflected narrowly wide after 59 minutes, but it was not quite happening for England.
And they were indebted to Hart when the keeper raced out to narrow the angle and thwart Morten Rasmussen just three minutes after the striker had come on.
Danny Welbeck then brought another fine reflex save out of Schmeichel, who got down well to keep out a right-footed strike that looked bound for the net and the keeper denied the same player with a fine stop shortly after.
But Sturridge had the last laugh as he nodded home Lallana's fine left-footed cross to end England's five-month wait for a goal.
|Fabregas dismisses exit rumours, committed to Conte and Chelsea|
|De Boer encouraged as Inter´s wait continues|
|Barca ´strengthened´ by Luis Enrique´s 100th win|
|Fekir to undergo knee operation|
|Monaco 3 Paris Saint-Germain 1: Ligue 1 champions suffer early loss|
|Aguero facing possible Manchester derby ban|
|Athletic Bilbao 0 Barcelona 1: Rakitic strike extends Barca´s strong start|
|West Ham´s Antonio handed first England call-up|
|Guardiola ´so optimistic´ after Man City´s perfect start|
|Inter 1 Palermo 1: Icardi gets De Boer´s men off the mark|
|Credit Guardiola for boost in form, says Sterling|
|Manchester City 3 West Ham 1: Hosts stay perfect under Guardiola|
|Cavani won´t return to Napoli - De Laurentiis|
|Pulis puts 48-hour deadline on Berahino future|
|Zaza awaits ´new adventure´ at West Ham|
|Karanka open to transfer ´surprises´ after strong Middlesbrough start|
|Dost completes Sporting move|
|Allardyce wanted N´Zonzi for England|
|World Cup could be expanded - Infantino|
|West Brom 0 Middlesbrough 0: Booed Berahino benched for dour draw|
|Gyan´s ´destiny´ in England, Sunderland return an option|
|Zidane wanted Pogba and Madrid are weaker without him - Raiola|
|Juventus end Matuidi pursuit|
|´He´s freaking amazing!´ - Balogun hails Dortmund´s Dembele|
|Thohir thrilled as Inter confirm Joao Mario signing|
|Fabinho expects Monaco stay despite Manchester United links|
|Infantino has Blatter wine cellar removed as part of FIFA reform commitment|
|West Ham seal Zaza loan|
|Joao Mario posts heartfelt thanks to Sporting after record-breaking Inter move|
|Aguero: I´m not competing with Ibrahimovic|
|Mihajlovic: Maksimovic is dead to me|
|Risdon replaces Wright for Socceroos|
|MLS Review: DC United in goal-fest, Impact stun Toronto|
|Schmeichel to undergo surgery|
|Milik revels in ´dream´ brace as he ignores Higuain shadow|
|Rossi to join Celta Vigo|
|Ayestaran: Barcelona target Alcacer unable to compete|
|Simeone: Winless Atletico must remain calm|
|Griezmann: Atletico must improve or face relegation fight|
|Sterling ´feels the love´ at City - Guardiola|
|Stones glad he did not end up at Chelsea|
|James impact earns Zidane´s praise|
|Montella bemoans AC Milan´s indiscipline|
|Leganes 0 Atletico Madrid 0: Returning Griezmann fails to inspire turgid visitors|
|Everton fan passes away after taking ill at Goodison Park|
|Napoli 4 AC Milan 2: Milik and Callejon at the double against Montella´s nine men|
|Aubameyang eyes Lewandowski duel|
|International break timely for Hull recruitment - Phelan|
|Real Madrid 2 Celta Vigo 1: Late Kroos strike saves hosts|
|Mourinho worry over Fellaini back injury|
|Allegri marvels at ´exceptional´ Khedira|
|Mourinho promises more chances for matchwinner Rashford|
|We didn´t play our best - Tuchel|
|Rashford: Setbacks part of football|
|No hiding, Arsenal want the title - Cech|
|Hull City 0 Manchester United 1: Rashford´s late show thwarts Phelan´s battlers|
|Bamford nearing Burnley loan|
|Leicester proved they are still one of the best - Guidolin|
|Pardew stands by unsettled Zaha|
|Koeman sympathises with Hughes´ frustration|
|Lazio 0 Juventus 1: Khedira nets again as Allegri´s men prevail|
|Moyes defends Pickford after late howler|
|Conte: Hazard can still improve|
|Hughes bemoans confusion over new refereeing directives|
|Howe regrets Bournemouth caution|
|Home draw leaves Puel frustrated|
|´A goalscorer never forgets´ - Ranieri thrilled as Vardy returns to form|
|Derby sign Vydra from Watford|
|Wenger flags imminent arrival of Mustafi, Perez|
|Crystal Palace 1 Bournemouth 1: Dann late show denies Cherries|
|Southampton 1 Sunderland 1: Pickford howler costs Black Cats two points|
|Chelsea 3 Burnley 0: Hazard shines in dominant win|
|Everton 1 Stoke City 0: Joy for Koeman at Given´s expense|
|Leicester City 2 Swansea City 1: Vardy and Morgan give champions first win|
|Watford 1 Arsenal 3: Sanchez inspires Gunners´ first win of the season|
|Borussia Dortmund 2 Mainz 1: Aubameyang double seals winning start for Tuchel´s men|
|Klopp defends benching Sturridge|
|Pochettino satisfied with Liverpool draw|
|Milner: Liverpool didn´t do enough after leading|
|Lahm ready to run the hard yards for Ancelotti|
|United have the fear factor back - Shaw|
|Tottenham 1 Liverpool 1: Rose denies Klopp´s men victory|
|Donnarumma called up as Ventura turns to youth|
|´Unique, exceptional work´ - Luis Enrique hails departed Bravo|
|Luis Enrique won´t rule out Munir exit|
|Portugal´s powerhouses divide to conquer once more|
|Ter Stegen, Mascherano in Barcelona squad for Athletic clash|
|Guardiola passion infectious, says Bravo|
|Palermo confident of Balotelli deal|
|Bayern are free of Guardiola´s chains, says Scholl|
|Ronaldo: I´ll be back in no time|
|Colombia name squad for Venezuela, Brazil qualifiers|
|Pellegrini becomes Hebei China Fortune coach|
|Klopp has ´no doubt´ over Henderson´s Liverpool future|
|Lallana understands questions over Liverpool displays|
|Real Salt Lake 2 Colorado Rapids 1: Movsisyan at the double|
|Wenger insists Perez and Mustafi are not panic buys|
|Ranieri confident of Vardy resurgence|
|Atletico send Jota on loan to Porto|
|Mourinho not rushing ´super´ Mkhitaryan|
|Bayern to meet Augsburg, Dortmund face Union in DFB-Pokal second round|