Why a Child’s Legs Hurt When Sick and When to Worry

Understand the nuances of leg pain in sick children, discerning typical causes from symptoms that require medical attention.

Most of the time, a sick child’s leg pain comes from a mild, temporary condition called benign acute childhood myositis, where a viral infection inflames the calf muscles and makes walking painful for a few days. It looks alarming when your child suddenly refuses to walk or starts tiptoeing around the house, but in the vast majority of cases the pain resolves on its own. The tricky part is that a small number of children with leg pain during illness have something more serious going on, and distinguishing harmless soreness from a genuine emergency depends on a handful of specific warning signs.

The Most Common Culprit Is Viral Myositis

When a child develops sudden leg pain during or just after a viral illness, the likely explanation is benign acute childhood myositis, or BACM. It typically strikes school-age children, with a median age of about seven, and boys outnumber girls by roughly three to one. The hallmark is symmetric bilateral calf pain, meaning both legs hurt in the same area, usually the calves. Children may walk on their toes, limp, or simply refuse to stand up. The pain tends to appear after the worst of the fever and congestion has already passed, during the recovery phase of the infection.

Influenza is the virus most strongly associated with BACM, identified in over 40% of cases in a large pediatric study, though SARS-CoV-2 and other respiratory viruses can trigger it too. The virus causes mild inflammation and damage to muscle fibers, which shows up on blood work as elevated creatine kinase (CK), an enzyme that leaks out of injured muscle cells. The good news is that the condition is self-limiting and typically resolves within about three days with nothing more than rest and pain relief.

Why the Hip Sometimes Hurts Instead

Not all post-viral leg pain originates in the muscles. Transient synovitis is a temporary inflammation of the hip joint that commonly follows a viral illness in children, and it can mimic myositis because the child limps, complains of thigh or leg pain, and may refuse to bear weight. It tends to present as one-sided hip or thigh discomfort lasting one to three days. Though the exact cause remains uncertain, it is widely believed to be viral in nature.

The distinguishing features of transient synovitis are useful precisely because they help rule out something scarier. A child with transient synovitis usually does not have a fever, and routine blood tests come back normal. If there is a high fever, the child looks very unwell, or inflammatory markers are elevated, the diagnosis shifts toward septic arthritis, which is a medical emergency. A well-known clinical prediction algorithm found that the probability of a true joint infection was under 0.2% when none of four key predictors were present (fever, inability to bear weight, elevated sedimentation rate, and high white blood cell count), but it jumped to 93% when three of the four were present. That algorithm works well in older children but is less reliable in toddlers under three, where a particular bacterium called Kingella kingae can cause a joint infection that looks deceptively mild.

When Muscle Pain Becomes Dangerous

BACM is reassuringly benign in most cases, but severe or prolonged muscle inflammation can occasionally tip into rhabdomyolysis, a condition where damaged muscle fibers release so much protein into the bloodstream that it overwhelms the kidneys. One large review found that viral myositis was actually the single most common cause of pediatric rhabdomyolysis, accounting for about 38% of cases. This does not mean that every child with BACM is at risk. Rhabdomyolysis is rare, and the progression from ordinary post-viral soreness to kidney trouble involves much higher levels of muscle breakdown than what most children experience. Signs that muscle damage is moving beyond the benign stage include dark brown or cola-colored urine, rapidly worsening pain that is not improving after two or three days, and severe weakness rather than just reluctance to walk.

When a doctor suspects BACM, they often check both CK levels and a urine sample. In straightforward cases, children can be safely sent home with instructions to stay hydrated, rest, take over-the-counter pain medication, and return if symptoms worsen. Most families never need to come back.

Red Flags That Mean You Should Not Wait

Leg pain during a common cold or flu is usually low-stakes, but certain features should prompt a same-day doctor visit or emergency department trip. The line between “keep an eye on it” and “go now” comes down to a cluster of signs rather than any single one.

The general pattern is that benign causes tend to produce bilateral, symmetric, muscular pain in a child who is otherwise recovering, while dangerous causes tend to produce one-sided, focal, worsening pain in a child who is getting sicker or not improving.

Septic Arthritis and Osteomyelitis

These are the two serious infections that every pediatrician is screening for when a feverish child comes in with leg pain. Septic arthritis is a bacterial infection inside a joint, and osteomyelitis is a bacterial infection in bone. Both are considered emergencies because delayed treatment can cause permanent damage.

Septic arthritis in children is typically spread through the bloodstream rather than from an external wound. It favors the large joints of the lower limbs, with the hip and knee being the most common sites. Joint tenderness and fever are the most important early signals. Staphylococcus aureus is the bacterium behind most cases, and early antibiotic treatment dramatically improves outcomes. In settings where treatment is prompt, uncomplicated recovery is the norm, but delay raises the risk of lasting joint damage including eventual arthritis and, in hip infections, loss of blood supply to the femoral head. Young age, certain aggressive bacteria, and simultaneous bone infection are the strongest risk factors for long-term complications.

Osteomyelitis follows a similar pattern: it reaches the bone via the bloodstream, most often affects the rapidly growing areas near growth plates, and is again usually caused by Staph aureus. The child typically has point tenderness over the affected bone rather than diffuse soreness in the muscles. Neonates and infants can be trickier to diagnose because they may not localize pain well or may just seem irritable and reluctant to move. Worryingly, the disease appears to have increased in both frequency and severity in recent years, with more soft-tissue involvement than in previous decades.

When Leg Pain Is Not Really About the Legs

One of the diagnostic pitfalls with children’s leg pain is that the problem may actually originate somewhere else entirely. The hip is a prime example. A condition called slipped capital femoral epiphysis (SCFE), where the growth plate at the top of the thighbone shifts out of position, typically affects adolescents and often shows up as knee pain or vague thigh discomfort rather than obvious hip trouble. In one study, about two-thirds of children with SCFE reported hip or groin pain, but over a quarter reported knee pain as a primary complaint, and more than a third had thigh or leg pain. This mismatch between where the pain is felt and where the problem actually lives can lead to missed or delayed diagnoses, especially if the child happens to also be sick with something else at the time.

Leukemia is another condition that can masquerade as musculoskeletal pain during what seems like an ordinary illness. In one series, musculoskeletal complaints were the presenting feature in over a third of children with acute leukemia, with pain, limping, and functional impairment being the most common. This is not meant to frighten parents every time a child says their legs hurt, because leukemia is still rare. But it underlines why doctors take persistent, unexplained, or worsening bone and joint pain seriously, especially when combined with other systemic features like pallor, unusual bruising, fatigue that is out of proportion to the illness, or swollen lymph nodes.

Infections That Cause Delayed Joint Problems

Some infections produce leg or joint pain not during the acute illness but days to weeks afterward, through an immune-mediated reaction rather than direct tissue invasion. Post-streptococcal reactive arthritis is a well-described example: following a strep throat infection, the child’s immune system attacks joint tissue, leading to arthritis that may involve the knees, ankles, or other large joints. Unlike rheumatic fever, this reactive arthritis tends not to migrate from joint to joint and is not typically accompanied by heart inflammation.

Lyme disease, transmitted by ticks, is another infection that can cause joint symptoms on a delayed timeline. Weeks to months after the initial tick bite, many patients develop intermittent bouts of arthritis, which in severe cases can erode cartilage and bone. The knee is by far the most common joint affected. In areas where Lyme disease is endemic, a child who develops a swollen, painful knee weeks after an outdoor season should have the possibility of Lyme arthritis considered, even if no one remembers a tick bite or a characteristic rash.

How Age Changes the Picture

The likely cause of a limping, leg-hurting child shifts substantially depending on age. A toddler between one and three who limps is most commonly dealing with transient synovitis or, in the concerning cases, septic arthritis, congenital hip problems, or juvenile arthritis. School-age children from about four to ten are in the prime window for BACM, growing pains, Legg-Calvé-Perthes disease (a condition where blood supply to the hip temporarily fails), and limb-length differences. Adolescents between eleven and fifteen add slipped capital femoral epiphysis and overuse injuries from sports to the list.

Age also affects how worried you should be about specific dangerous diagnoses. Septic arthritis in very young children and neonates carries the highest risk of lasting consequences, and the presentation in infants can be frustratingly subtle: just fussiness, decreased movement of a limb, or an unexplained fever. Meanwhile, the predictive tools that help clinicians distinguish transient synovitis from septic arthritis in older children are less reliable in those under three because of the Kingella kingae issue mentioned earlier. The practical takeaway is that limping or leg pain in a very young child generally deserves a lower threshold for medical evaluation than the same symptoms in an eight-year-old recovering from the flu.

Growing Pains Versus Illness-Related Pain

Parents often wonder whether the leg pain is just growing pains that happen to coincide with a cold. Growing pains are real, affecting a substantial proportion of school-age children, but they have a specific pattern. They tend to occur in the evening or at night, affect both legs, involve the muscles of the thighs or calves rather than the joints, and by morning the child is completely fine. There is no limp, no swelling, no warmth, and no fever. A workup is warranted when the pain deviates from this pattern, especially if there is focal tenderness over a bone, joint swelling, decreased range of motion, or if the pain is present during the day and affects how the child moves.

Growing pains remain a diagnosis of exclusion, meaning doctors arrive at that label only after ruling out other causes. Inappropriately reassuring a family that a child’s bone pain is “just growing pains” without adequate assessment can delay diagnosis of serious conditions. If your child’s leg pain fits the classic growing-pains description and happens to overlap with an illness, it is probably coincidental. If it started with the illness, is present during the day, and involves limping or refusal to walk, it is more likely illness-related and worth evaluating on its own terms.

Limb Soreness After Vaccination

Occasionally the “sickness” triggering leg pain is not a natural infection but a vaccine. Mild limb soreness at the injection site is common and expected with many childhood immunizations, but some vaccines can produce joint and limb symptoms beyond the injection arm. A study of the measles-mumps-rubella (MMR) vaccine found a small but real increase in joint and limb symptoms in immunized children compared with unimmunized controls. The increased risk was most pronounced in girls and in children under five, though the vast majority of episodes were mild and resolved on their own. The rubella component of the vaccine is the usual suspect, as the rubella virus itself is known to cause transient joint inflammation. For parents who notice their toddler limping or complaining of leg pain a week or two after MMR, this is a recognized and transient phenomenon, not a sign that something has gone wrong with the vaccine or with the child’s joints.