We compared multi-year monitoring of water temperature and dissolved elements with analyses of chemical proxies recorded in Porites coral skeletons to identify the divergent mechanisms driving environmental variation at inshore versus offshore reefs.