Joseph Haydn's Keyboard Concerto in D major, Hob. XVIII:11, was written between 1780 and 1783 and published in 1784, his last concerto for keyboard. He composed it for harpsichord or fortepiano, scoring for orchestra in the relatively undeveloped galant style of his earlier works, but, being a somewhat late composition, the work has similarities to Mozart's piano concertos; Haydn and Mozart had probably become acquainted by 1783 and the friendship had a deep impact on both composers.