The history of the Macedonian language refers to the developmental periods of current-day Macedonian, an Eastern South Slavic language spoken on the territory of North Macedonia. The Macedonian language developed during the Middle Ages from the Old Church Slavonic, the common language spoken by Slavic people.

In 1903 Krste Petkov Misirkov was the first to argue for the codification of a standard literary Macedonian language in his book Za makedonckite raboti (On Macedonian Matters). Standard Macedonian was formally proclaimed an official language on 2 August 1944 by the Anti-Fascist Assembly for the National Liberation of Macedonia (ASNOM). Its codification followed in the year after.

According to Macedonian scholars, the history of the Macedonian language can be divided into nine developmental stages. Blaže Koneski distinguishes two different periods in the development of the Macedonian language, namely, old from the 12th to the 15th century and modern after the 15th century. According to the Macedonian Academy of Sciences and Arts (MANU), the development of the Macedonian language involved two different scripts, namely the Glagolitic and Cyrillic scripts.

Overview of periods Medieval For many centuries, Slavic people who settled on the Balkans spoke their own dialects and used other dialects or languages to communicate with other people. The "canonical" Old Church Slavonic period of the development of Macedonian started in the 9th century and lasted until the first half of the 11th century. During this period common to all Slavic languages, Greek religious texts were translated to Old Church Slavonic (based on a dialect spoken in Thessaloniki). The Macedonian recension of Old Church Slavonic also appeared around that period in the First Bulgarian Empire and was referred to as such due to works of the Ohrid Literary School, with its seat in Ohrid, current-day North Macedonia.Horace Gray Lunt, Old Church Slavonic Grammar, Walter de Gruyter, 2001. , p. 4.

The 11th century saw the fall of the Proto-Slavic linguistic unity and the rise of Macedonian dialects, which were still within the borders of the Bulgarian-Macedonian dialect continuum. The Macedonian recension of Church Slavonic developed between the 11th and 13th century and during this period, in addition to translation of canonical texts, religious passages were created including praising texts and sermons (слова/беседи) of saints such as Saint Clement of Ohrid. These texts use linguistic features different from Church Slavonic and since the language was characteristic of the region of current-day North Macedonia, this variant can also be referred to as Old Macedonian Church Slavonic.

This period, whose span also included the Ottoman conquest, witnessed grammatical and linguistic changes that came to characterize Macedonian as a member of the Balkan sprachbund. This marked a dialectal differentiation of the Macedonian language in the 13th century that largely reflected Slavic and Balkan characteristics and saw the formation of dialects that are preserved in modern-day Macedonian. During the five centuries of Ottoman rule in Macedonia, loanwords from Turkish entered the Macedonian language, which by extension had an Arabo-Persian origin. While the written language remained static as a result of Turkish domination, the spoken dialects moved further apart. Only very slight traces of texts written in the Macedonian language survive from the 16th and 17th centuries. The first printed work that included written specimens of the Macedonian language was a multilingual "conversational manual", that was printed during the Ottoman era. It was published in 1793 and contained texts written by a priest in the dialect of the Ohrid region. In the Ottoman Empire, religion was the primary means of social differentiation, with Muslims forming the ruling class and non-Muslims the subordinate classes. In the period between the 14th and 18th century, the Serbian recension of Church Slavonic prevailed on the territory and elements of the vernacular language started entering the language of church literature from the 16th century.

The earliest lexicographic evidence of the Macedonian dialects, described as Bulgarian,"Bulgarians" were they called by the Greeks of Macedonia and "Bulgarian" was their dialect termed, as is shown by the 16th century "Macedonian Dictionary", a glossary of 301 Slavic words and phrases that were current in the region of Kastoria. For more see: Nikolaos P. Andriōtēs, The Federative Republic of Skopje and its language, Volume 77 of Macedonian Bibliotheca, Edition 2, Society for Macedonian Studies, 1991, p. 19.The dictionary presented in the monument includes words and expressions apparently collected for the purpose of direct communication. It is a manual drawn up by a Greek who has visited settlements where he had to communicate with the local population... The dictionary homepage states: ἀρхὴἐ ν βοσλγαρίοις ριμά τον εἰςκῑ νῆ γλόταἐ pointed out by Al.Nichev, kῑλῆ ὴγιῶηηα' (Nichev 1085, p. 8), i.e.,'koine language', common language in the sense of "national language". This heading of the dictionary Al. Nitchev translates as 'The beginning of words by the Bulgarians, which (words) refer to the vernacular'... The designation of the dictionary as "Bulgarian words" is written not in the original dialect but is in Greek language and should not have been transmitted as a title in Bulgarian. However, the designation "Bulgarian words" translates well the original Greek designation "Βουλγάρος ρήματα", because of which I accept and use this title, with the proviso that it is translated from Greek. For more see: Лилия Илиева, Българският език в предисторията на компаративната лингвистика и в езиковия свят на ранния европейски модернизъм, Университетско издателство „Неофит Рилски“, Благоевград; , 2011, стр. 53-55. Lilia Ilieva, Bulgarian in the Prehistory of Comparative Linguistics and in the Linguistic World of Early European Modernism, University Publishing House "Neofit Rilski", Blagoevgrad; , 2011, pp. 53-55.(in Bulgarian). can be found in a lexicon from the 16th century written in the Greek alphabet.'Un Lexique Macedonien Du XVIe Siecle', Giannelli, Ciro. Avec la collaboration de Andre Vaillant, 1958 The concept of the various Macedonian dialects as a part of the Bulgarian language can be seen also from early vernacular texts from Macedonia such as the four-language dictionary of Daniel Moscopolites, the works of Kiril Peichinovich and Yoakim Karchovski, and some vernacular gospels written in the Greek alphabet. These written works influenced by or completely written in the local Slavic vernacular appeared in Macedonia in the 18th and beginning of the 19th century and their authors referred to their language as Bulgarian.F. A. K. Yasamee "NATIONALITY IN THE BALKANS: THE CASE OF THE MACEDONIANS" in Balkans: A Mirror of the New World Order, Istanbul: EREN, 1995; pp. 121–132.

The earliest texts showing specifically Macedonian phonetic features are Old Church Slavonic classical texts written in Glagolitic which date from the 10th to 11th centuries (Codex Zographensis, Codex Assemanianus, Psalterium Sinaiticum). By the 12th century the Church Slavonic Cyrillic become the main alphabet. Texts reflecting vernacular Macedonian language features appear in the second half of the 16th century (translations of the sermons of the Greek writer Damascene Studite).

Modern era

The latter half of the 18th century saw the rise of modern literary Macedonian. Macedonian dialects started being used during this period for ecclesiastical and didactic works although the vernacular used was referred to as "Bulgarian" by writers. Writers of that period, namely Joakim Krchovski and Kiril Pejchinovik opted for writing in their dialects since they wanted to make the language of the first printed books understandable to the people. The southern half of the Macedonian dialectal territory in Aegean Macedonia used the Greek alphabet. The first half of the 19th century saw the rise of nationalism among South Slavs under the Ottoman Empire. Bulgarian and Macedonian Slavs wanted to create their own Church and schools, which would use a common modern Macedono-Bulgarian literary standard. The national elites active at that time used mainly ethnolinguistic principles to differentiate between Slavic-Bulgarian and Greek groups.Theodora Dragostinova, From Rum Millet to Greek and Bulgarian Nations: Religious and National Debates in the Borderlands of the Ottoman Empire, 1870–1913. Ohio State University, 2011, Columbus, OH. Initially, every ethnographic subgroup in the Macedonian-Bulgarian linguistic area wrote in its own local dialect and choosing a "base dialect" for the new standard was not an issue.

During the period between 1840 and 1870, there was a struggle to define a dialectal base of the vernacular used, with two different literary centers arising – one in current-day northeastern Bulgaria and one in current-day southwestern North Macedonia. The two centers had opposing views concerning the dialectal basis that should be used as the new common standard language for the Macedonian and Bulgarian Slavic people due to the vast differences between western Macedonian and eastern Bulgarian dialects. During this period, Macedonian intellectuals who proposed the creation of a Bulgarian literary language based on Macedonian dialects emerged.

By the early 1870s, an independent Bulgarian autocepholous church and a separate Bulgarian ethnic community was recognized by the Ottoman authorities. Linguistic proposals for a common language were rejected by the Bulgarian Movement, proclaiming Macedonian a "degenerate dialect" and stating that Macedonian Slavs should learn standard Bulgarian. The same period also saw the rise of the "Macedonists" who argued that the Macedonian language should be used for the Macedonian Slavs, who they saw as a distinct people on the Balkans. Poetry written in the Struga dialect with elements from Russian also appeared. At that time, textbooks were also published and they used either spoken dialectal forms of the language or a mixed Bulgarian-Macedonian language.

Revival era

In 1875, Gjorgji Pulevski, in Belgrade published a book called Dictionary of Three Languages (Rečnik od tri jezika, Речник од три језика) which was a phrasebook composed in a "question-and-answer" style in Macedonian, Albanian and Turkish, all three spelled in Cyrillic. Pulevski wrote in his native eastern Tarnovo dialect and his language was an attempt at creating a supra-dialectal Macedonian norm, based on his own native local Galičnik dialect. This marked the first pro-Macedonian views expressed in print.

Between 1892 and 1894 the magazine Loza, which was run by IMRO revolutionaries, used a distinct style of writing for their monthly magazine: they dropped the usage of the letter ya (Я) and big yus (Ѫ) and instead used the letter i for je (J), while also taking some inspiration from Serbian grammar.Loza Magazines between 1892 and 1894

Krste Petkov Misirkov's book Za makedonckite raboti (On Macedonian Matters) published in 1903, is the first attempt to create a separate literary language. With the book, the author proposed a Macedonian grammar and expressed the goal of codifying the language and using it in schools. The author postulated the principle that the Prilep-Bitola dialect be used as a dialectal basis for the formation of the Macedonian standard language; his idea however was not adopted until the 1940s. The book was met with opposition and initial prints at the printing press in Sofia were destroyed.