The article examines the development of pedagogical science and education during the 17th-18th centuries. The article examines the state of education on the eve of the reforms of Peter I and his activities to create a system of professional education. The article analyzes the reforms of Catherine II, which created the preconditions for the transition to mass education. The authors of the article pay special attention to the development of higher education in this period and the influence of reforms in the 17th-18th centuries on the further formation of the educational system in Russia. © 2021, Rossiiskaya Akademiya Nauk, Institut Istorii (Russian Academy of Sciences, Institute of General Hist. All rights reserved.