The type of porphyria a person has depends on which enzyme the body is lacking. Most types of porphyria are inherited. Less often, porphyria may be caused by other disorders or exposure to chemicals.