Myalgia is the medical term for muscle pain. It comes from the Greek words “myo” (muscle) and “algos” (pain), and it covers everything from a dull ache after a hard workout to the widespread soreness you feel during a bout of the flu. In clinical coding systems, myalgia is classified under ICD-10 code M79.10, which stands for “myalgia, unspecified site.” It is a symptom, not a disease on its own, meaning doctors treat it as a signal to look for an underlying cause.
How Muscle Pain Works in the Body
When muscle tissue is stressed, damaged, or inflamed, the cells release signaling molecules called inflammatory cytokines. Two of the most important ones are interleukin-1 (IL-1) and interleukin-6 (IL-6). These molecules activate pain-sensing nerve endings inside the muscle, making the tissue feel sore, tender, or achy to the touch. This process is sometimes called mechanical hypersensitivity, where normal pressure on a muscle suddenly registers as painful.
A drop in tissue pH, meaning the tissue becomes more acidic, is a common trigger. This happens during intense exercise, when muscles produce lactic acid faster than the body can clear it. It also happens during inflammation, reduced blood flow, and muscle spasm. The acidic environment ramps up IL-1 and IL-6 production inside the muscle, which is why so many different conditions produce a similar aching sensation.
Common Causes of Myalgia
The most familiar cause is simple overuse or strain. Lifting something heavy, starting a new exercise routine, or holding an awkward posture for hours can all produce localized muscle pain that resolves on its own within a few days.
Viral infections are another major trigger. Influenza, the common cold, and HIV can all cause widespread myalgia because the immune response floods the bloodstream with inflammatory molecules that reach muscles throughout the body. This is why “body aches” are such a hallmark of the flu: your immune system, not the virus itself, is making your muscles hurt.
Stress and tension also play a role. Chronic psychological stress keeps muscles in a partially contracted state, especially in the neck, shoulders, and jaw. Over time, this sustained tension creates soreness that can feel constant.
Medications That Cause Muscle Pain
Cholesterol-lowering drugs known as statins are the most well-known pharmaceutical cause of myalgia. Observational studies and patient registries report muscle symptoms in 10 to 29 percent of people taking statins, though it’s difficult to pin down exact numbers because many people on a placebo report muscle pain too. The discomfort usually shows up as a generalized aching or heaviness, most often in the thighs, calves, or upper arms.
Statins aren’t the only medications linked to muscle pain. Certain antibiotics in the fluoroquinolone class, such as levofloxacin and ciprofloxacin (commonly prescribed for sinus infections and pneumonia), cause muscle pain and inflammation in about 14 percent of users, with higher rates in people over 60. Bisphosphonates, used to treat osteoporosis, can occasionally cause bone or muscle discomfort, and in rare cases, changes to bone biology that lead to thigh pain requiring prompt evaluation.
Myalgia vs. Myositis vs. Myofascial Pain
These three terms sound similar but describe different things. Myalgia is purely a symptom: you feel muscle pain. It says nothing about why. Myositis, on the other hand, refers to actual inflammation of the muscle tissue itself. Myositis involves immune cells attacking muscle fibers, and it can cause weakness along with pain. In medical coding, myositis is specifically excluded from the myalgia category because it’s considered a distinct condition.
Myofascial pain syndrome is a chronic condition involving tight knots in muscles, called trigger points, that produce deep aching pain. A key feature is referred pain, where pressing on a trigger point in your shoulder blade sends pain up into your neck or head. This is different from general myalgia because the pain follows predictable patterns tied to specific trigger points, and it tends to persist or worsen rather than resolve on its own. People with myofascial pain syndrome often also report trouble sleeping, fatigue, and a general sense of feeling unwell.
How Doctors Assess Muscle Pain
There’s no single blood test that diagnoses myalgia. Since it’s a symptom rather than a disease, doctors focus on identifying what’s behind it. A typical evaluation starts with questions about when the pain started, where it is, what makes it better or worse, and whether you’re taking any medications known to cause muscle symptoms.
To measure severity, clinicians often use a visual analog scale: a simple 10-centimeter line where 0 means no pain and 10 means the worst pain you’ve ever experienced. You mark where your pain falls, which gives the doctor a baseline to track whether treatment is helping over time. This is especially useful for people who have difficulty putting their pain into numbers.
Blood work comes into play when there’s concern about muscle damage or an autoimmune process. The most important blood marker is creatine kinase (CK), a protein that leaks into the bloodstream when muscle cells break down. Elevated CK levels can indicate anything from a particularly intense workout to a serious condition called rhabdomyolysis, where rapid muscle breakdown overwhelms the kidneys.
Warning Signs of Serious Muscle Damage
Most myalgia is uncomfortable but harmless. Rhabdomyolysis is the exception. This is a medical emergency where muscle tissue breaks down rapidly and releases its contents into the blood, potentially causing kidney failure. The CDC identifies three key warning signs:
- Pain that’s disproportionate. Muscle cramps or aches that are far more severe than you’d expect from the activity you did.
- Dark urine. Tea-colored or cola-colored urine is a hallmark sign, caused by a muscle protein called myoglobin flooding the kidneys.
- Unusual weakness or fatigue. Being unable to finish a workout or complete physical tasks you could handle before.
If you notice these symptoms together, particularly the dark urine, a blood test for CK levels is the most reliable way to confirm rhabdomyolysis. Urine dipstick tests are not dependable for this purpose because myoglobin clears from the body quickly and may not show up, while elevated CK in the blood can persist for days after the injury.
Managing Everyday Muscle Pain
For garden-variety myalgia from overuse or a mild illness, the approach is straightforward: rest the affected muscles, apply heat or ice (whichever feels better), stay hydrated, and give it time. Most acute muscle pain resolves within a few days to a week.
When myalgia is tied to a medication, the solution usually involves working with your prescriber to adjust the dose, switch to a different drug, or weigh the muscle discomfort against the benefit of the treatment. For statin-related muscle symptoms specifically, this conversation happens frequently, because the cholesterol-lowering benefit of statins is significant and not every alternative provides the same protection.
Chronic myalgia that persists for weeks or months without a clear cause deserves a more thorough workup. Conditions like fibromyalgia (which is classified separately from myalgia in medical coding), autoimmune diseases, thyroid disorders, and vitamin D deficiency can all produce long-lasting muscle pain that won’t improve with rest alone.

