WASHINGTON—A State Department intelligence analyst has resigned in protest after the White House blocked portions of his written testimony to a congressional panel to exclude data and evidence on climate change and its threat to national security, State Department officials said.

The analyst, Rod Schoonover, prepared a written report citing peer-reviewed scientific journal articles and intelligence reports, which conclude that climate change could have wide-rangingnational security impacts by contributing to increased humanitarian...