slaney was the eldest son of robert slaney (1764–1834) of hatton grange, shropshire, and his wife, mary, daughter of thomas mason of shrewsbury. he was educated at trinity college, cambridge, and was called to the bar in 1817 at lincoln's inn.