In 1842, Horatio entered the Chelsea Grammar School. He was a good student. His father had money troubles about this time. He took a better paying job in Marlborough, Massachusetts, a farming community about 25 miles west of Boston. The Alger family moved there in December 1844.