How does sarcoidosis differ from prolactinoma?

Almost not. Sarcoidosis is a systemic problem in which the body forms inflammatory granules in a variety of organs. A prolactinoma is a tumor leading to excess production of the hormone prolactin. A few conditions have both problems, but it's rather rare.