President Bush joined the debate on Aug. 2, telling reporters that both evolution and the theory of intelligent design should be taught in schools "so people can understand what the debate is about."

Senator Bill Frist of Tennessee, the Republican leader, took the same position a few weeks later.

Intelligent design, a descendant of creationism, is the belief that life is so intricate that only a supreme being could have designed it.

The poll showed 41 percent of respondents wanted parents to have the primary say over how evolution is taught, compared with 28 percent who said teachers and scientists should decide and 21 percent who said school boards should. Asked whether they believed creationism should be taught instead of evolution, 38 percent were in favor, and 49 percent were opposed.

More of those who believe in creationism said they were "very certain" of their views (63 percent), compared with those who believe in evolution (32 percent).

The poll also asked about religion and politics, government financing of religious charities, and gay men and lesbians in the military. Most of these questions were asked of a smaller pool of 1,000 respondents, and the margin of error was 2.5 percentage points, Pew researchers said.

The public's impression of the Democratic Party has changed in the last year, the survey found. Only 29 percent of respondents said they viewed Democrats as being "friendly toward religion," down from 40 percent in August of 2004. Meanwhile, 55 percent said the Republican Party was friendly toward religion.

Luis E. Lugo, the director of the Pew Forum on Religion and Public Life, said: "I think this is a continuation of the Republican Party's very successful use of the values issue in the 2004 election, and the Democrats not being able up until now to answer that successfully. Some of the more visible leaders, such as Howard Dean and others, have reinforced that image of a secular party. Of course, if you look at the Democratic Party, there's a large religious constituency there."