Manchester United were beaten by Bayern Munich at Old Trafford to finish bottom of their Champions League group after a bitterly disappointing campaign.
United knew they had to beat Bayern, who were already through as Group A winners, for a chance of progressing.
Bayern's Kingsley Coman scored the only goal in the 70th minute when he was played in by England captain Harry Kane.
Erik ten Hag's side won just one of their six group games.
Defeat means United also missed the chance to drop into the Europa League by finishing third.
Reaction to Tuesday's Champions LeagueMore to follow.
How to play
Rate players out of 10 throughout or after the game. The rater will close 30 minutes after the final whistle.
Rating range key1 = Give it up10 = Pure perfection
Manchester United
Squad number24Player nameOnana
Squad number20Player nameDiogo Dalot
Squad number5Player nameMaguire
Squad number19Player nameVarane
Squad number23Player nameShaw
Squad number39Player nameMcTominay
Squad number4Player nameS Amrabat
Squad number21Player nameAntony
Squad number8Player nameBruno Fernandes
Squad number17Player nameGarnacho
Squad number11Player nameHøjlund
Squad number28Player namePellistri
Squad number29Player nameWan-Bissaka
Squad number35Player nameEvans
Squad number37Player nameMainoo
Squad number46Player nameMejbri
Bayern Munich
Squad number1Player nameNeuer
Squad number40Player nameMazraoui
Squad number2Player nameUpamecano
Squad number3Player nameKim Min-jae
Squad number19Player nameDavies
Squad number6Player nameKimmich
Squad number8Player nameGoretzka
Squad number11Player nameComan
Squad number42Player nameMusiala
Squad number10Player nameSané
Squad number9Player nameKane
Squad number22Player nameRaphaël Guerreiro
Squad number25Player nameMüller
Squad number27Player nameLaimer
Squad number39Player nameTel
Line-ups
Man Utd
Formation 4-2-3-1
24Onana20Dalot5MaguireSubstituted forEvansat 40'minutes19VaraneSubstituted forMainooat 80'minutes23ShawSubstituted forWan-Bissakaat 45'minutes39McTominay4S AmrabatBooked at 61mins21AntonyBooked at 53minsSubstituted forPellistriat 75'minutes8Bruno Fernandes17GarnachoSubstituted forMejbriat 74'minutes11HøjlundSubstitutes
1Bayindir15Reguilón22Heaton28Pellistri29Wan-Bissaka35Evans37Mainoo44Gore46Mejbri52HugillBayern Munich
Formation 4-2-3-1
1Neuer40MazraouiSubstituted forLaimerat 45'minutes2Upamecano3Kim Min-jae19Davies6Kimmich8GoretzkaBooked at 88mins11ComanSubstituted forTelat 77'minutes42MusialaSubstituted forMüllerat 67'minutes10SanéSubstituted forGuerreiroat 90'minutes9KaneSubstitutes
13Choupo-Moting18Peretz22Guerreiro25Müller27Laimer39Tel41Krätzig45PavlovicLive Text
Match ends, Manchester United 0, FC Bayern München 1.
Second Half ends, Manchester United 0, FC Bayern München 1.
Foul by Konrad Laimer (FC Bayern München).
Hannibal Mejbri (Manchester United) wins a free kick on the left wing.
Corner, Manchester United. Conceded by Mathys Tel.
Substitution, FC Bayern München. Raphaël Guerreiro replaces Leroy Sané.
Leon Goretzka (FC Bayern München) is shown the yellow card for a bad foul.
Foul by Leon Goretzka (FC Bayern München).
Facundo Pellistri (Manchester United) wins a free kick in the attacking half.
Foul by Leon Goretzka (FC Bayern München).
Scott McTominay (Manchester United) wins a free kick in the attacking half.
Foul by Leon Goretzka (FC Bayern München).
Aaron Wan-Bissaka (Manchester United) wins a free kick on the right wing.
Attempt missed. Harry Kane (FC Bayern München) header from the centre of the box is close, but misses to the right. Assisted by Joshua Kimmich with a cross following a corner.
Corner, FC Bayern München. Conceded by Jonny Evans.
Attempt blocked. Kim Min-Jae (FC Bayern München) left footed shot from the right side of the box is blocked.
Attempt blocked. Leon Goretzka (FC Bayern München) right footed shot from the centre of the box is blocked.
Thomas Müller (FC Bayern München) wins a free kick on the right wing.
Foul by Diogo Dalot (Manchester United).
Substitution, Manchester United. Kobbie Mainoo replaces Raphaël Varane.