An intrauterine device (IUD) is a small, T-shaped piece of plastic about the size of a quarter that releases a hormone called progestin. It is placed inside the uterus to prevent pregnancy. Depending on the type of hormonal IUD you choose, it can work for between three to seven years.