The exact cause of sarcoidosis is unknown, although it is thought that it might occur when your immune system overreacts to something such as an unknown toxin, drug or pathogen that enters your body through your airways.
Some doctors or researchers speculate that the bacterica may be something called nontuberculous mycobacterium which is one a noncontagious bacteria that causes tuberculosis. Other theories are that sarcoidosis is partly genetic, laying dormant until it is exposed to an unknown toxin.
A normal immune system usually protects the body from viruses and bacteria. With Sarcoidosis something called T-helper lymphocytes over respond to some perceived threat such as a virus and produce small areas of inflammation called granulomas.