Born in Orleans, Massachusetts in 1829, he attended Brown University, but transferred after one year to Yale University, where he obtained a degree in Engineering. Rogers served with the U.S. Cavalry during the Indian Wars, attaining the rank of major during the 1862 Dakota Sioux uprising.