Adams was born in Braintree, Massachusetts. He was the son of Lt. Col. John Adams, Sr. (1691-1761) and Susanna Boylston (1708-1797), and he was the cousin of the philosopher Samuel Adams. He went to Harvard College. He married Abigail Adams in 1764.