Adultery isn't just a crime in the eyes of your spouse. In 21 states, cheating in a marriage is against the law, punishable by a fine or even jail time.States with anti-cheating laws generally define adultery as a married person having sexual intercourse with someone other than their spouse.