Hernia in children does not usually affect fertility. However, for boys, because the hernia is in the inguinal region, surrounded by blood vessels, vas deferens, scrotum and testicles, if parents know that the child has a hernia but do not go to the hospital in time to deal with it, once the child has an ingrown hernia, i.e., the small intestine or colon prolapses in the abdominal cavity and cannot be retracted, if the time is too long or the pressure of the ingrown object is high and compresses the spermatic vessels and vas deferens of the testicles, it will cause ischemia of the testicles or vas deferens If the object is embedded for a long time or the pressure is high, the pressure on the spermatic vessels and vas deferens will cause ischemia and necrosis of the testicle or vas deferens. If it causes necrosis of the vas deferens, it will cause the vas deferens to become inaccessible. If it causes testicular necrosis, the androgen and testicular function of the child will be abnormal, which will affect fertility. In girls, most of the hernias are embedded in the ovaries, and if the embedded time is too long or the pressure is too high, it will also cause necrosis of the ovaries and affect fertility. Therefore, it is important to seek prompt medical attention after an incarcerated hernia in children.