Wakhi, an Eastern Iranian minority language in the Pamir area, spread across Tajikistan, Afghanistan,Pakistan, and China, has been classified as an unwritten endangered language. The degree of endangerment varies depending on the country and on the method of evaluation. This paper briefly outlines the history of Wakhi language documentation and the attempts to set up a writing system preceding the creation of the Wakhi alphabet in Tajikistan in 2011. It discusses in detail the key questions related to the creation of the alphabet, such as the phonetic and phonological complexity of the Wakhi language, arguments for choosing the Cyrillic script, and definition of the basic orthography rules. These topics were discussed at length with the principal Wakhi linguists (Wakhi native speakers) in Tajikistan, and the resulting alphabet proposal was tested during a field trip through the Wakhan area in the summer of 2011. The final form of the alphabet and basic orthography rules is therefore the result of detailed phonological analysis, grammar study, sociolinguistic factors, linguistic observations and advice by Wakhi scholars, and intuitions of non-linguist Wakhi native speakers. These activities followed by the first publications in the Wakhi language in Tajikistan represent a hopeful step towards reversing language shift of this endangered language.