Pilocarpine is a medication used to reduce pressure inside the eye and treat dry mouth. As eye drops it is used to manage angle closure glaucoma until surgery can be performed, ocular hypertension, primary open angle glaucoma, and to bring about constriction of the pupil following its dilation. However, due to its side effects it is no longer typically used in the long term management. Onset of effects with the drops is typically within an hour and lasts for up to a day. By mouth it is used for dry mouth as a result of Sjögren syndrome or radiation therapy.
Read article on Wikipedia