The invention relates to polymer nanoparticle based vaccine compositions and methods for preparation thereof More particularly the invention relates to vaccine composition comprising an antigen or nucleic acid sequence encoding the antigen encapsulated in polymeric nanoparticle adjuvant comprising of at least one biodegradable polymer and at least one surfactant.