In the 1805 campaign, Heudelet distinguished himself at Mariazell and Austerlitz while leading a III Corps brigade. Appointed general of division in December 1805, he was put in command of a VII Corps division in May 1806. In the War of the Fourth Coalition led his division at Jena, Kołoząb, Golymin, and Eylau. October 1808 found him in command of a VIII Corps division in Spain. His unit was soon transferred to the II Corps and fought in Nicolas Soult's invasion of Portugal at Oporto in 1809. Heudelet briefly led II Corps in January 1810 before returning to the command of his division. He participated in André Masséna's invasion of Portugal, fighting at Bussaco in 1810. His division was not engaged at Fuentes de Onoro and he was sent home soon afterward. In the 1812 campaign he commanded a reserve division in the X Corps. At the end of the lengthy Siege of Danzig he became an Allied prisoner in November 1813.