The earliest surviving written music is a Hurrian hymn which dates to approximately 1400 BC.

Fact source