Michael Haydn's Symphony No. 40 in F major, Perger 32, Sherman 40, MH 507, written in Salzburg in 1789, was the last symphony in F major that he wrote.
The symphony is scored for 2 oboes, 2 bassoons, 2 horns, and strings, and in three movements:
- Allegro molto
- Adagio mà non troppo
- Rondeau, Vivace