An intrauterine device (IUD) is a small, T-shaped contraceptive device that is inserted into the uterus to prevent pregnancy. It can be made of copper or contain hormones, and can be left in place for several years. The IUD works by preventing fertilization or implantation of a fertilized egg.