Children get worms primarily by swallowing microscopic parasite eggs, usually after touching contaminated surfaces, soil, or objects and then putting their hands in their mouths. The specific route depends on the type of worm, but nearly all infections trace back to a simple chain: eggs or larvae from feces end up somewhere a child’s hands or bare skin make contact. Globally, an estimated 450 million children between ages 1 and 14 are affected by parasitic infections, making this one of the most common childhood health issues worldwide.
Pinworms: The Most Common Route
Pinworm is the infection parents in developed countries are most likely to encounter. The cycle starts when a child swallows tiny pinworm eggs, which are invisible to the naked eye. The eggs hatch in the intestine, and adult female worms migrate to the skin around the anus at night to lay new eggs. This causes intense itching, and when a child scratches, eggs collect under their fingernails. Those eggs then transfer to anything the child touches: toys, doorknobs, bedding, towels, toilet seats, clothing.
What makes pinworms so persistent is the survival of those eggs. On unwashed surfaces, pinworm eggs remain infectious for 2 to 3 weeks. A child who touches a contaminated toy, blanket, or countertop and then touches their mouth completes the cycle. Children also re-infect themselves by scratching and then eating or biting their nails. There is no soil phase required, no animal host needed. This is a purely human-to-human parasite, and it thrives wherever kids share space.
Picking Up Worms From Soil
Soil-transmitted worms, including large roundworms and whipworms, follow a different path. Infected people pass eggs in their stool. In areas without adequate sanitation, those eggs end up in the soil, where they need about three weeks to mature before they can infect someone new. Fresh feces aren’t actually infectious for these parasites. The eggs need time in warm, moist soil to develop.
Children then pick up infections in a few ways: eating vegetables that weren’t thoroughly washed, cooked, or peeled; drinking contaminated water; or, most commonly for young kids, playing in contaminated dirt and then putting their hands in their mouths without washing. These worms don’t multiply inside the body. Every worm present came from a separate egg swallowed from the environment, which means repeated exposure to contaminated soil leads to heavier infections over time.
Hookworms: Through the Skin
Hookworms are unusual because they don’t need to be swallowed. Instead, young hookworm larvae in contaminated soil or sand burrow directly through unprotected skin. This typically happens when children walk barefoot or sit on ground contaminated with animal or human feces. The larvae are too small to see or feel entering the skin.
Cases are most common in tropical and subtropical regions where the warm, moist conditions allow larvae to survive in soil. Dogs and cats can also carry hookworm species, so sandy play areas frequented by pets pose a risk. Once larvae penetrate the skin, they migrate through the body and eventually reach the intestine.
Worms From Pets
Dogs and cats, especially puppies and kittens, are a meaningful source of roundworm infections in children. Puppies often get roundworms from their mother before birth or during nursing. By the time a puppy is 3 to 4 weeks old, the worms begin producing eggs, which pass into the environment through the animal’s feces.
The eggs need 2 to 4 weeks in soil to become infectious, but once mature, they’re remarkably durable. Their tough outer shell allows them to survive for months or even years under the right conditions. Children get infected by accidentally swallowing contaminated dirt or putting dirty hands in their mouths after playing in areas where pets have defecated. Once inside a person, the eggs hatch and the parasites spread through the body, sometimes migrating to the eyes or organs rather than staying in the gut.
Tapeworms: Undercooked Meat
Tapeworm infections come from eating raw or undercooked beef or pork that contains tapeworm larvae. This is less of a playground risk and more of a food safety issue, but children in regions where undercooked meat is common or sanitation is poor can be affected. The larvae survive in meat that hasn’t reached a high enough internal temperature during cooking, and once swallowed, they develop into adult tapeworms in the intestine.
Why Daycare and School Spread Infections
Shared environments amplify every transmission route. In daycare settings, infection spreads most often when children put dirty toys in their mouths. Young children are less likely to wash their hands after using the toilet, and caregivers who don’t wash thoroughly after diaper changes can transfer eggs to food and surfaces. A single infected child can contaminate shared toys, play mats, and bathroom surfaces, exposing an entire room of children.
The combination of frequent hand-to-mouth behavior, close physical contact, shared objects, and inconsistent hygiene makes group childcare settings especially efficient at spreading pinworms and other fecal-oral parasites. Schools face similar dynamics, particularly with shared bathrooms and lunchrooms.
What to Watch For
The symptoms depend on the type of worm, but a few signs appear across most infections. Pinworms cause itching around the anus, especially at night, and may disrupt sleep. You might notice your child scratching frequently or complaining of discomfort in that area. Soil-transmitted worms in heavier infections can cause abdominal pain, diarrhea, fatigue, and poor appetite. Hookworms can cause a visible red, winding rash where larvae entered the skin, along with fatigue from blood loss in more serious cases.
Many mild infections cause no obvious symptoms at all, which is part of why they spread so easily. A child can carry and shed pinworm eggs for weeks before anyone notices the itching. For pinworms specifically, the classic detection method involves pressing a piece of clear tape to the skin around the anus first thing in the morning, before bathing, and checking it for eggs under light.
Reducing the Risk
Handwashing is the single most effective prevention tool. Teaching children to wash with soap and water after using the toilet, before eating, and after playing outside or with pets interrupts the most common transmission routes. Keeping fingernails short reduces the number of eggs that can hide underneath them.
For pinworms specifically, washing bedding, towels, and pajamas in hot water during an active infection helps clear eggs from the home. Discouraging nail-biting and thumb-sucking removes another entry point. If one family member is infected, the eggs have likely spread to shared surfaces, and your household will typically be treated together.
For soil-transmitted worms, wearing shoes outdoors is a simple barrier against hookworm larvae. Washing fruits and vegetables thoroughly before eating, especially produce grown in or near soil, removes eggs that may be clinging to surfaces. Cleaning up pet waste promptly and deworming dogs and cats on a regular schedule reduces the roundworm eggs accumulating in yards and play areas. In regions where soil-transmitted infections are common, the World Health Organization recommends annual or twice-yearly deworming treatment for children ages 1 through 12 living in areas where at least 20% of children are affected.