This test is most useful if any of these apply to you.
Some people spend years going to the emergency room with bouts of severe abdominal pain while scans show no explanation. For a small number, acute hepatic porphyria is the cause. In a 2026 study of people being evaluated for familial Mediterranean fever, five were found to have acute hepatic porphyria. Those five had waited an average of about 16 years for the diagnosis.
Urinary porphobilinogen, usually shortened to PBG, is an established marker used to investigate these attacks. It can also remain elevated when you feel well. That makes the reason for testing important: identifying a possible attack, establishing your usual level and following treatment are different uses of the same measurement.
Heme is the iron-containing molecule that helps red blood cells carry oxygen and allows many liver enzymes to work. Your body builds it in eight steps. PBG forms at the second step when two molecules of delta-aminolevulinic acid, abbreviated ALA, join together. During acute hepatic porphyria, the liver is the main source of excess ALA and PBG.
An enzyme called porphobilinogen deaminase handles the next step. Acute intermittent porphyria results from inherited reduced activity of this enzyme. Other acute porphyrias involve different enzymes in the same process. When the liver increases heme production, a partial block can cause precursors to accumulate and pass into urine.
Acute attacks can cause severe abdominal pain, muscle weakness, nerve damage and changes in mood or thinking. ALA is strongly implicated in the nerve injury; PBG's direct contribution remains uncertain. Porphyrins formed later in heme production can cause sensitivity to sunlight in hereditary coproporphyria and variegate porphyria. Acute intermittent porphyria does not usually cause those skin symptoms.
Urinary PBG rises markedly during attacks of acute intermittent porphyria, hereditary coproporphyria and variegate porphyria. In a Finnish study, it was elevated in all 35 people with acute intermittent porphyria tested during an attack. That finding supports its diagnostic value, but it isn't a guarantee that every sample, at every stage of illness or treatment, will identify an attack.
The initial assessment combines quantitative urine PBG, ALA and creatinine. ALA matters because the extremely rare ALAD-deficiency porphyria can cause attacks without raising PBG. Creatinine helps account for how dilute the urine is. Markedly elevated PBG supports a diagnosis of one of the other acute porphyrias, while additional biochemical and genetic testing identifies the type.
In someone with established porphyria, an elevated result alone doesn't establish that current symptoms are an attack. PBG may already be high between episodes. In the Finnish study, the increase during an attack was only 1.6 to 4 times the person's remission level. Symptoms, previous results and other possible causes of pain still matter.
Many people with an inherited acute porphyria variant never have an attack. Some have elevated PBG without symptoms, while others have normal urine results. More sensitive laboratory methods can detect smaller elevations, but urine testing cannot reliably establish or exclude inherited carrier status.
A blinded study tested 149 previously untested relatives of people with acute hepatic porphyria; 79 carried a disease-associated variant. Urine measurements were available for 118 participants. Among those tested, carriers averaged about seven times the PBG level of non-carriers. Female carriers averaged about four times the level of male carriers, and nearly a third of carriers with urine measurements had high excretion without symptoms. These findings describe a selected family group, not the likelihood that an unrelated person with abdominal pain has porphyria.
A Danish study of 129 people with acute hepatic porphyria also found that symptoms were more common in those with higher baseline PBG excretion. Neither study established a PBG level that predicts whether you will have an attack.
After an attack of acute intermittent porphyria, urinary PBG can decline very slowly. A study of 20 people estimated that excretion took about 11 years to fall by half, and elevations could persist more than 20 years after the last attack. This describes the long-term pattern of production and excretion, not how long an individual PBG molecule stays in your body.
The strongest long-term association is with primary liver cancer. A Swedish study followed 1,244 people with acute hepatic porphyria for a median of about 19.5 years and compared them with matched people from the general population. The porphyria group had about 38 times the risk of primary liver cancer.
Within the acute intermittent porphyria group, cancer risk was concentrated among people with a history of elevated PBG. Those with the highest recorded excretion had about twice the risk of those with smaller elevations. Among people over 50 with previously elevated PBG, liver cancer occurred at about 1.8% a year. No cases occurred in the subgroup whose recorded PBG had never been elevated, but that observation does not establish zero lifetime risk.
A separate Swedish analysis compared 48 people with acute intermittent porphyria who developed liver cancer with 140 who did not. Before diagnosis, the cancer group had roughly twice the median urinary PBG level. Their levels also tended to rise later in life, while levels in the comparison group tended to decline. This pattern has not been validated as a way to detect cancer or decide how often you need imaging.
These studies make persistent precursor elevation relevant to long-term risk assessment. They don't prove that PBG itself causes liver cancer, or that lowering the urine result prevents it.
In another analysis of the Swedish population, acute hepatic porphyria was associated with about five times the risk of advanced chronic kidney disease. The risk was about seven times higher in the subgroup with acute intermittent porphyria and elevated PBG. These comparisons were with the general population; they do not describe the risk from an isolated abnormal urine result in someone without confirmed porphyria.
A French study also found substantial kidney disease in symptomatic acute intermittent porphyria. Although the original cohort contained 415 people, only 136 participated in the later assessment. Chronic kidney disease was present in 59% of the symptomatic participants who returned. That follow-up rate limits how confidently the percentage can be applied to everyone with the condition.
In a Norwegian study of 50 people with acute intermittent porphyria and 50 matched controls, higher urinary PBG was associated with certain urine proteins released during kidney tubule injury. These were exploratory findings. They do not establish that PBG can diagnose early kidney damage or replace kidney function testing.
The Swedish cohort also had more high blood pressure, kidney cancer and deaths than its matched comparison group. People with acute intermittent porphyria and elevated PBG had about 40% higher risk of disease affecting blood vessels in the brain. The study did not find a general increase in cardiovascular disease or most other cancers. These are associations with the disease and its activity, not proof that urinary PBG causes each outcome.
PBG varies even during clinically stable periods. A small study involving 15 people with acute intermittent porphyria found within-person variation of roughly 16 to 20% over weeks and about 25% over two years. Its estimates of how large a change exceeds expected variation were specific to that study and its methods. They are not validated rules for diagnosing an attack.
Your usual level while well provides useful context for a later result. A substantial rise can support concern about increased disease activity, but a high baseline can persist without symptoms. Treatment can also suppress PBG, so the urine number needs to be considered alongside symptoms, attack frequency and treatment history.
Evidence-backed interventions that affect your Porphobilinogen level
Porphobilinogen is best interpreted alongside these tests.