this article presents socio-cultural life in Turkestan and Bukhara in the late 19th and early 20th centuries, pedagogical views of Sadriddin Ayni on madrasa education, scientific-theoretical analysis on the content and methods of the lesson in madrasas.