Intrauterine insemination (IUI) — a type of artificial insemination — is a procedure for treating infertility. Sperm that have been washed and concentrated are placed directly in your uterus around the time your ovary releases one or more eggs to be fertilized.