Clerical celibacy is the requirement in certain religions that some or all members of the clergy be unmarried. Clerical celibacy also requires abstention from deliberately indulging in sexual thoughts and behavior outside of marriage, because these impulses are regarded as sinful. Vows of celibacy are generally required for monks and nuns in Christianity, Buddhism, Hinduism, Jainism and other religions, but often not for other clergy.
Within the Catholic Church, clerical celibacy is mandated for all clergy in the Latin Church except in the permanent diaconate. Exceptions are sometimes admitted for ordination to transitional diaconate and priesthood on a case-by-case basis for married clergymen of other churches or communities who become Catholics, but ordination of married men to the episcopacy is excluded (see Personal ordinariate). Clerical marriage is not allowed and therefore, if those for whom in some particular church celibacy is optional (such as permanent deacons in the Latin Church) wish to marry, they must do so before ordination. Eastern Catholic Churches either follow the same rules as the Latin Church or require celibacy for bishops while allowing priestly ordination of married men.