He resigned from the army in 1849 and became Professor of Mathematics at Washington College (now Washington and Lee University). In 1854 Hill became a professor at Davidson College. In 1859 he resigned his chair position to become the superintendent of the North Carolina Military Institute.