Education in Azerbaijan is regulated by the Ministry of Education of Azerbaijan.
In the pre-Soviet period, Azerbaijani education included intensive Islamic religious training that commenced in early childhood. Beginning at roughly age five and sometimes continuing until age twenty, children attended madrasahs, education institutions affiliated with mosques. In the seventeenth and eighteenth centuries, madrasahs were established as separate education institutions in major cities, but the religious component of education remained significant. In 1865 the first technical high school and the first women's high school were opened in Baku. In the late nineteenth century, secular elementary schools for Azerbaijanis began to appear (schools for ethnic Russians had been established earlier), but institutions of higher education and the use of the Azerbaijani language in secondary schools were forbidden in Transcaucasia throughout the tsarist period. The majority of ethnic Azerbaijani children received no education in this period, and the Azerbaijani literacy rate remained very low, especially among women. Few women were allowed to attend school.
In the Soviet era, literacy and average education levels rose dramatically from their very low starting point, despite two changes in the script, from Arabic to Latin in the 1920s and from Latin to Cyrillic in the 1930s. According to Soviet data, 100 percent of males and females (ages nine to forty-nine) were literate in 1970. According to the United Nations Development Program Report 2009, the literacy rate in Azerbaijan is 99.5 percent.
During the Soviet period, the Azerbaijani education system was based on the standard model imposed by Moscow, which featured state control of all education institutions and heavy doses of Marxist–Leninist ideology at all levels.