thayer was born in mendon, massachusetts on june 11, 1819. he attended the local public school, then bellingham high school. he attended the academy of amherst and in 1840 graduated from worcester academy. in 1845 he graduated from brown university as salutatorian. thayer returned to his college prepatory school, worcester academy, to teach.