The invention pertains to a vaccine for use in protecting a pig against an infection with porcine endemic diarrhea virus (PEDV), the vaccine comprising non-live PEDV antigen and a non-metabolizable oil containing adjuvant, wherein the total amount of oil in the vaccine is less than 50% v/v, by administration of a dose of the antigen corresponding to at least 3.0E6 TCID50 killed whole PEDV. The invention also pertains to a method of protecting a pig against an infection with porcine endemic diarrhea virus.