A new DNA test for the virus that causes cervical cancer does so much better than current methods that some gynecologists hope it will eventually replace the Pap smear in wealthy countries and cruder tests in poor ones.

Not only could the new test for human papillomavirus, or HPV, save lives; scientists say that women over 30 could drop annual Pap smears and instead have the DNA test just once every 3, 5 or even 10 years, depending on which expert is asked.

Their optimism is based on an eight-year study of 130,000 women in India financed by the Bill and Melinda Gates Foundation and published last week in The New England Journal of Medicine. It is the first to show that a single screening with the DNA test beats all other methods at preventing advanced cancer and death.

The study is “another nail in the coffin” for Pap smears, which will “soon be of mainly historical interest,” said Dr. Paul D. Blumenthal, a professor of gynecology at Stanford medical school who has tested screening techniques in Africa and Asia and was not involved in the study.