Back ground: Endometrium contraction following intra-uterine insemination(IUI) was considered one of implantation failure causes.Aim of the study: The primary purpose of the study was to ascertain the effect of piroxicam treatment on pregnancy outcome following six days of intrauterine insemination. Materials and Methods: The study was accomplished in the High Institute for Infertility Diagnosis and Assisted Reproductive Technologies, Al-Nahrain University through the period from Nov. 2020 till Oct. 2021 .Forty infertile couples were selected randomly for IUI and divided into 20 couple treated with piroxicam and other 20 couples were not treated with piroxicam. The semen samples were prepared by discontinuous density gradient. Results: There was no significant differences regarding mean FSH level (p=0.769), LH level(p=0.79) prolactin level (p=0.299), E2 level (p=0.348) and TSH level (p=0.950)between the studied groups. There was no significant difference in dominant follicles counts, follicular sizes or endothelial thickness between the two groups. The results showed a significant improvement in sperm motility and morphology (p < 0.05) after in vitro activation by density gradient technique compared to before activation. In the piroxicam group ,4 out of 20 women became pregnant while in non-piroxicam group ,3 spouses were pregnant 15%when density gradient activation technique was used.