The article considers the main problems raised by modern researchers concerning adolescent identity formation in the digital environment. The experience of forming the civic identity of schoolchildren in the digital space in educational institutions of the Ministry of Defense of the Russian Federation is briefly presented.