Imperial Japanese Naval Academy
Ogura was born to a "samurai" family serving the Tokugawa shogunate in Edo. He entered the 5th class of the Imperial Japanese Naval Academy in July 1878 and was commissioned as a second lieutenant in January 1881. His classmates included Ijuin Gorō and Dewa Shigetō.