'''Symphony No. 13 in D major''' was written in 1763 for the orchestra of Haydn's patron, Prince Nikolaus Esterházy, in Eisenstadt.
The work can be precisely dated thanks to a dated score in Haydn's own hand in the National Library of Budapest. Two other Haydn symphonies are known to have been written in the same year: the Symphony No. 12 and the Symphony No. 40.