God may influence Australians' attitudes towards sex but religion plays little role in what they actually do in bed, a landmark survey has found.

The study of almost 20,000 Australians has revealed that most who hold religious beliefs have strong negative attitudes towards watching X-rated films, cheating and sex before marriage.

However, unless they were very strong believers, their attitudes didn't appear to stop them doing these things themselves, the researchers found.