"The long-dreaded moment has arrived: the moment of saying goodbye to the French national team," Giroud wrote on Instagram.
Giroud played 137 times for Les Bleus and scored 57 goals, more than any other player for France.
The 37-year-old Giroud leaves as a big fan favourite and will be remembered in particular for scoring key goals in Milan's 2022 Serie A triumph, the only trophy he won in his three years in Italy.
Olivier Giroud confirmed on Monday that he will leave AC Milan at the end of the season to end his long career in Major League Soccer.
France's record goal scorer Olivier Giroud has reached agreement with Los Angeles FC to join the Major League Soccer club this summer, sources close to the player confirmed on Tuesday.
AC Milan strolled past 10-man Lecce 3-0 on Saturday to consolidate second place in Serie A and take another step towards Champions League qualification.
The Euro 2024 favourites were left reeling after conceding just eight seconds into their game against Germany in Lyon last weekend, which they went on to lose 2-0.
Giroud will now miss home matches against Fiorentina and Frosinone after the international break.
Giroud guided home a brilliant header from Davide Calabria's cross in the 40th minute to guarantee Milan at least fourth place and complete Italy's line-up in Europe's top club competition next season
The 2022 FIFA World Cup in Qatar has entered the knockout phase, and one of the top honours players will be competing for is the Golden Boot, awarded to the player with the most goals in the tournament.
Olivier Giroud became France's joint all-time top scorer when his double helped the holders start the defence of their World Cup title in style with a 4-1 comeback Group D win against Australia on Tuesday.
An Olivier Giroud hat-trick helps France brush aside Paraguay 5-0 in an international friendly at Rennes.
Arsenal were again indebted to Olivier Giroud after the Frenchman's 89th-minute strike secured a 2-1 victory at second-tier Preston North End in the FA Cup third round on Saturday.
Olivier Giroud's stoppage-time header earned Arsenal an unlikely 3-3 draw at Bournemouth after they had looked down and out when trailing 3-0 after 70 minutes of a rivetting Premier League clash on the south coast on Tuesday.
Arsene Wenger hailed Olivier Giroud's stunning strike against Crystal Palace as a work of art and one of the top five Arsenal goals in his 20-year reign.
Olivier Giroud is hoping for a run of starts for Arsenal after the French striker scored the late winner in Monday's 1-0 win over West Bromwich Albion at the Emirates Stadium.
Olivier Giroud proved the difference for Arsenal in a typically hard-fought 1-0 win over West Bromwich Albion on Monday, again demonstrating his worth to manager Arsene Wenger after spending the majority of the season on the substitutes' bench.
Arsene Wenger is sweating on the fitness of Olivier Giroud and Mathieu Debuchy after the France stars suffered injuries in Arsenal's 3-1 Premier League win against Bournemouth on Sunday.
Arsenal have a gilt-edged opportunity to kick a self-destructive Champions League habit when they host Paris St Germain on Wednesday knowing victory will seal top spot in Group A.