 Porphyria is diagnosed through biochemical analysis of blood, urine, and stool.In general, urine estimation of porphobilinogen (PBG) is the first step if acute porphyria is suspected.As a result of feedback, the decreased production of heme leads to increased production of precursors, PBG being one of the first substances in the porphyrin synthesis pathway.