Introduction. The electoral legislation of the Russian state at various stages of its development enshrines the open or secret ballot in elections to bodies of state authority and local self-government. Purpose. The main purpose is to analyze the development of the electoral legislation of the secret ballot in pre-revolutionary Russia and throughout the Soviet period. Results. Legal consolidation of the principle of the secret ballot took place in pre-revolutionary Russia.