After the revolution Berg served in the Red Navy 1918–22. In 1918 he participated in the Ice Cruise of the Baltic Fleet. In 1919 he was navigating officer on the submarine "Pantera" when it sank the British destroyer HMS "Vittoria". He subsequently commanded the submarines "Rys", "Volk" and "Zmeya". From 1925 Berg was based onshore and completed his education at the Saint Petersburg Polytechnical University. From 1927 he was assigned to the navy radio electronics department and from 1932 to 1937 he headed the Navy Communications Research Institute.