One embodiment of the present invention provides an anti-I-type allergy agent that contains p-coumaric acid as an active ingredient. Further, another embodiment of the present invention provides an anti-dementia agent that contains p-coumaric acid as an active ingredient.