The female body produces something called luteinizing hormone (LH.) It is present in the urine almost all the time, but increases significantly-- surges-- about 12-36 hours before ovulation. An OPK detects LH in your urine and gives you a positive result when it detects this surge