More than half of all American teenagers are getting vaccinated against human papillomavirus, and the rate is rising over time, according to a new report from the Centers for Disease Control and Prevention.

Sixty percent of adolescents received one or more doses of the HPV vaccine in 2016, an increase of 4 percentage points from 2015, researchers found. About a decade ago, the figure was less than 30 percent.

“We’re really encouraged to see this finding,” said Shannon Stokley, a co-author of the report and associate director for science at the Immunization Services Division of the C.D.C.

The vaccine protects against strains of HPV that can cause cancers of the cervix, penis, anus and back of the throat. Close to half of all Americans are infected at any given time, and nearly 32,000 get cancer from the virus each year.