Topically applied nonsteroidal anti-inflammatory drugs (NSAIDs) are commonly used in the management and prevention of ocular inflammation and cystoid macular edema related to cataract surgery and the maintenance of mydriasis during cataract surgery. Other common uses are the reduction of discomfort after refractive surgery or in allergic conjunctivitis. NSAIDs primarily act as cyclooxygenase inhibitors and thus reduce the formation of endogenous PGs. Today, several NSAIDs are commercially available: diclofenac, flurbiprofen, indomethacin, ketorolac and suprofen. At present the ophthalmologist has to make a decision between the use of topical corticosteroids, with their potential adverse effects, or of topical NSAIDs, with their possibly increased benefit, unknown effect on ocular pressure, wound healing and corneal tissue, higher costs and limited track record. However, the improvement of surgical techniques might support an increasing use of NSAIDs in the future. Preoperative anti-inflammatory treatment should be considered in eyes at a higher risk of developing severe postoperative inflammatory reactions. This decision has to be made carefully and has to be guided by the clinical circumstances, the spectrum of diagnosis and the individual benefit-risk ratio of each patient.