Wolfgang Amadeus Mozart wrote his first compositions—small keyboard pieces—at age 5 (1761). His father Leopold notated them (K. 1–5).
His prodigious output continued until his death at 35, leaving 600+ works across every genre of his time.