Staal was born in March 1822 at Reval, Estonia, the son of a land-owner. He was educated privately and then at the University of Moscow. After the Crimean War, he married a daughter of Prince Michael Gortschakoff.