Both hypothyroidism and hyperthyroidism can affect pregnancy outcomes. Hypothyroidism can increase the risk of miscarriage, preterm birth, and developmental issues in the baby. Hyperthyroidism may lead to preeclampsia, heart failure, and low birth weight. Proper prenatal care and thyroid management are essential for a healthy pregnancy.