The law of chastity is a moral code defined by The Church of Jesus Christ of Latter-day Saints (LDS Church). According to the church, chastity means that "sexual relations are proper only between a man and a woman who are legally and lawfully wedded as husband and wife." Therefore, abstinence from sexual relations before marriage, and complete fidelity to one's spouse during marriage, are required. As part of the law of chastity, the church teaches its members not only to abstain from adultery and fornication, but also to refrain from masturbation and to avoid sexually inappropriate thoughts. The law of chastity is taught to church members of all ages, and is especially emphasized to adolescents.
Within the LDS Church, chastity means more than abstinence from sex. It means to be morally clean in "thoughts, words, and actions." It also means sexual relations are only permitted between a husband and wife. The church teaches its members that "no one, male or female, is to have sexual relations before marriage. After marriage, sexual relations are permitted only with our spouse."
Mormons believe that sexuality between man and woman lawfully married is divinely appointed and has two purposes: to "multiply, and replenish the Earth" (Genesis 1:28) as commanded by God to Adam and Eve, and to strengthen the bond between man and woman that they might "become one flesh" (Mark 10:8). A church handbook for leaders states that married couples should be made aware "that sexual relations within marriage are divinely approved not only for the purpose of procreation, but also as a way of expressing love and strengthening emotional and spiritual bonds between husband and wife."
The church has made its views clear in many publications and in recent news releases that "marriage between a man and a woman is ordained of God". While opposing homosexual behavior, the church advises its leaders and members to reach out with understanding and respect to individuals who are attracted to those of the same gender.