Intrauterine insemination (IUI) is a fertility treatment that gives sperm a better chance at fertilizing an egg. This treatment can improve pregnancy chances for some couples and individuals. During intercourse, only a few hundred sperm reach the egg under ideal conditions.