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.
|I´m just taking a sabbatical - Van Gaal denies he´s retired|
|Not even Gerrard won Premier League - Buttner says he´s not a United flop|
|Samper ignored Wenger as Barca midfielder rejected Arsenal|
|Pleased Pioli wants more from Inter|
|Evergrande boss Scolari dismisses Turan links|
|Klopp seeks legal advice over Matip|
|Marseille complete Sanson move|
|Inter 3 Bologna 2: Candreva prevents remarkable turnaround in Coppa Italia thriller|
|FA Cup Review: Non-league Lincoln stun Ipswich, Burnley and Palace through|
|Gabon v Burkina Faso: Aubameyang says hosts have learned from Guinea-Bissau setback|
|Mali 0 Egypt 0: El-Hadary makes history in stalemate|
|El-Hadary oldest AFCON player ever - 44-year-old Egypt goalkeeper makes history|
|Reus and Gotze on target but Bender injured in Dortmund win|
|Toure shunning lavish China interest to stay at City, says Seluk|
|Rahman´s AFCON in the balance, says Ghana boss Grant|
|Just 14 goals conceded and nine clean sheets - How Vertonghen blow could impact Tottenham|
|Ghana 1 Uganda 0: Andre Ayew hands Black Stars nervy victory|
|Swansea snap up Carroll and Olsson in double swoop|
|All is forgiven? - Costa trains with full Chelsea squad after reported Conte bust-up|
|I would throw myself off a bridge for Luis Enrique - Rakitic dismisses Barca rift rumours|
|Was Juventus´ new logo inspired by tennis star?|
|Smooth sailing for Liverpool in Plymouth? Klopp expects tough test|
|Demichelis re-joins Malaga until end of season|
|Cameroon v Guinea-Bissau: Broos urges new heroes to emerge|
|Boxing champ hits Carragher with Chinese Super League comeback prank|
|Zidane backs Navas and defends Benzema as Madrid aim to bounce back|
|Deportivo bring in Kakuta from Hebei after CSL rule changes|
|Matip could miss eight games without doing anything wrong - Klopp|
|United trigger Valencia´s contract extension|
|Ronaldo returns to Real Madrid´s Copa squad|
|FA fine Sagna for Instagram post|
|Nedved does not foresee more January business for Juventus|
|Rafinha injury blow for Barcelona|
|Villas-Boas fumes at CSL foreign player crackdown|
|Ibrahimovic invaluable to Manchester United youngsters - Rashford|
|Robben rejected China move|
|A-League review: Phoenix rise to the occasion to end Victory´s streak|
|Van Gaal slams English media over treatment at Manchester United|
|Mignolet: Liverpool in better position to win title than in 2013-14|
|Giroud wants Premier League title but understands China temptations|
|Tianjin forced to scrap moves for Costa, Benzema, Cavani and Falcao|
|My goal was better than Mkhitaryan´s - Giroud|
|Pochettino not interested in Argentina job|
|Kane: Tottenham can win Premier League|
|Corinthians dreaming of Drogba - Paulo Roberto|
|Coutinho calls for Liverpool focus|
|Chiellini compares Pogba to LeBron and Bolt|
|Maradona to become Napoli ambassador|
|Mihajlovic furious after Torino collapse|
|Icardi has offers from China - Wanda Nara|
|Pogba can cope with pressure - Ibrahimovic|
|´My half-time words will stay in the dressing room´ - Montella annoyed with AC Milan|
|Juventus unveil dramatic change to club logo - but not everyone´s a fan|
|´I do not think I will return to coaching´ - Van Gaal set to call it quits|
|Torino 2 AC Milan 2: Bacca caps thrilling comeback as hosts pay the penalty|
|DR Congo 1 Morocco 0: Kabananga pounces on blunder to give 10 men the points|
|´Happy and comfortable´ Sanchez dismisses Arsenal exit talk|
|How much?! West Ham flop Simone Zaza could cost Valencia €20m|
|Mali v Egypt: Salah leads Pharaohs´ bid for AFCON glory|
|Sevilla concede they ´cannot force´ sporting director Monchi to stay|
|Ivory Coast 0 Togo 0: Reigning champions held to opening draw by Adebayor and co.|
|Goalkeeping woes, Stones and tactical confusion - How Guardiola is making life difficult for himself|
|Ozil and Sanchez can be persuaded to stay - Cech|
|Pogba: I rejected Barcelona and Real Madrid|
|Ghana v Uganda: Gyan dreams of first trophy since 1982|
|Chiellini: Juventus a work in progress|
|Robben agrees Bayern renewal until 2018|
|Hazard: Goals do not matter to me|
|Bennell pleads not guilty to eight child sex offences|
|Muller fed up with debate over Bayern role|
|Wenger glad Sanchez is not ´a Costa problem´|
|Flick resigns as DFB´s sporting director|
|Gomis ´can´t wait´ to welcome Payet to Marseille|
|Chinese FA changes foreign player rules after ´irrational´ spending|
|Like father, like son: Justin Kluivert follows in dad´s footsteps|
|´No reason to lose him´ - Marotta rubbishes talk of Allegri exit|
|Courtois: We don´t need Costa|
|Kane: Tottenham players won´t go to China|
|Noble ´angry and disappointed´ with Payet|
|Klopp furious over Matip uncertainty|
|Wenger surprised by tight Premier League|
|´Money is not everything´ - Conte issues warning amid China speculation|
|Fiorentina defeat a ´bad setback´ - Allegri|
|´This will elevate this group of players´ - Sampaoli revels in Sevilla late show|