 His father was a first-generation nobleman of the church estate, and his older brother Alexander Ostrovsky became a noted playwright.Ostrovsky studied at the First Moscow Gymnasium and in 1848 was graduated from Moscow Imperial University.He entered government service in the office of the Civil Governor of Simbirsk, assisting Auditor General V. A. Tatarinov in the introduction of auditing reforms.