A lutein-containing ophthalmic composition, wherein the ophthalmic composition is mainly consisting of a natural anti-inflammatory substance, a substance with increasing liquid viscosity, and an artificial tear. The substance with increasing liquid viscosity could apply the ophthalmic composition to elongate the retention time on the ocular surface, thereby increasing the retention time of anti-inflammatory substance on the ocular surface for treating dry eye syndrome and inhibiting ocular surface inflammation.