The Songhay, Songhai or Ayneha languages (sõʁaj, soŋaj or soŋoj) are a group of closely related languages/dialects centred on the middle stretches of the Niger River in the West African countries of Mali, Niger, Benin, Burkina Faso and Nigeria. In particular, they are spoken in the cities of Timbuktu, Djenné, Niamey and Gao. They have been widely used as a lingua franca in that region ever since the era of the Songhai Empire. In Mali, the government has officially adopted the dialect of Gao (east of Timbuktu) as the dialect to be used as a medium of primary education.
Some Songhay languages have little to no mutual intelligibility between each other. For example, Koyraboro Senni, spoken in Gao, is unintelligible to speakers of Zarma in Niger, according to Ethnologue. However, Songhoyboro Ciine, Zarma, and Dendi have high mutual intelligibility within Niger.
For linguists, a major point of interest in the Songhay languages has been the difficulty of determining their genetic affiliation; they are commonly taken to be Nilo-Saharan, as defined by Joseph Greenberg in 1963, but this classification remains controversial. Linguist Gerrit Dimmendaal (2008) believes that for now it is best considered an independent language family. Roger Blench argues that the Songhay and Saharan languages form a Songhay-Saharan branch with each other within the wider Nilo-Saharan linguistic phylum.
Historically, the name Songhay was neither an ethnic nor a linguistic designation for all, but a name for the ruling caste of the Songhai Empire which are the Songhai proper. The term used by the natives to address the languages and people collectively is "Ayneha". Aside the Songhai proper, some speakers in Mali have also adopted the name Songhay as an ethnic designation, while other Songhay-speaking groups identify themselves with other ethnic terms, such as Zarma (Djerma) or Isawaghen (Sawaq).
A few precolonial poems and letters composed in Songhay and written in the Arabic script exist in Timbuktu. However, Songhay is currently written in the Latin script.