One embodiment of the invention is an ophthalmic composition comprising an aqueous medium containing an effective amount of a non-steroidal anti-inflammatory agent, wherein at least about 80 mol. % of said agent is in the form of a precipitate, and at least about 0.5 equivalents of a pharmacologically acceptable divalent cation per mole of said non-steroidal anti-inflammatory agent; said aqueous m