Whether an open marriage is with the knowledge, consent or encouragement of the partners, the practice may still be regarded as extramarital sex or adultery, which may be illegal in some jurisdictions.