Yes, both hypothyroidism and hyperthyroidism can impact fertility. Hypothyroidism can lead to ovulatory dysfunction and luteal phase defects, making it difficult to conceive. Hyperthyroidism can disrupt the menstrual cycle and impair ovulation, thereby affecting fertility. Addressing thyroid imbalances often helps in restoring normal ovulation and improving fertility outcomes.