A male chastity device utilizes sensors to detect sexual arousal, sexual activity, and/or attempts to tamper with or remove the device. It reports sensed data and/or employs an aversive electric stimulus to discourage the detected unwanted behaviors. The male chastity apparatus includes a structural element wearable on male genital anatomy, and at least one sensor for detecting unwanted activity relating to the male genital anatomy. The apparatus can also include at least two electrodes capable of delivering aversive stimulation to the male genital anatomy. The at least two electrodes can also be capable of delivering pleasurable stimulation to the male genital anatomy. The structural element can also include electrodes for electrically preventing or electrically inhibiting removal of the structural element from the male anatomy.