Disclosed are: an ophthalmic composition according to a non-conventional novel preparation, which has histamine release inhibitory action; and an ophthalmic composition for a silicone hydrogel contact lens, which is capable of suppressing adsorption of terpenoid to a silicone hydrogel contact lens. Specifically, the ophthalmic composition is prepared using (A) 0.001-2 w/v% of a polymer that has a phosphorylcholine analogous group in a side chain in combination with (B-1) 0.001-0.02 w/v% of menthol. Meanwhile, the ophthalmic composition for a silicone hydrogel contact lens is prepared using (A) a polymer that has a phosphorylcholine analogous group in a side chain in combination with (B-2) terpenoid.