Using removable silica templates, protein nanocapsules comprising the A subunit of Helicobacter pylori urease (UreA) were synthesised. The templates were of two sizes, with solid core mesoporous shell (SC/MS) silica templates giving rise to nanocapsules of average diameter 510 nm and mesoporous (MS) silica templates giving rise to nanocapsules of average diameter 47 nm. Both were shown to be highly monodispersed and relatively homogenous in structure. Various combinations of the nanocapsules in formulation were assessed as vaccines in a mouse model of H. pylori infection. Immune responses were evaluated and protective efficacy assessed. It was demonstrated that vaccination of mice with the larger nanocapsules combined with an adjuvant was able to significantly reduce colonisation.