To differentiate pigs infected with porcine parvovirus (PPV) from those vaccinated with inactivated whole-virus vaccine, an enzyme-linked immunosorbent assay (ELISA) based on detection of a nonstructural polyprotein 1 (NS1) was developed. A threshold of 0.23 optical density units was established and the assay had high specificity (100), sensitivity (88), accuracy (90) and positive predictive value (100) using haemagglutination inhibition as the standard method. A reproducibility test revealed that the coefficients of variation of sera within-plates and between-run were less than 10%. The assay showed no cross-reactivity with antibodies to porcine reproductive respiratory syndrome virus, pseudorabies virus, foot and mouth disease virus, Actinobacillus pleuropneumoniae, Toxoplasma or Chlamydia. Sera obtained from pigs infected with PPV reacted with recombinant NS1 protein in the ELISA. Sera from pigs vaccinated with inactivated whole virus did not recognize this protein in the ELISA. In contrast, antibodies against PPV whole virus were present in both PPV-infected and vaccinated animals. Serum conversion against NS1 was first detected 10 days after infection and NS1-specific antibodies were detectable up to half a year post infection. In conclusion, the PPV-NS1 ELISA can differentiate PPV-infected versus inactivated PPV-vaccinated pigs and could be applied in disease diagnosis and surveillance.