The exact cause is unknown but it involves autoimmune destruction of the bile ducts. Genetic and environmental factors likely contribute.