We identified human bocavirus (HBoV) DNA by PCR in cerebrospinal fluid from adults and children with encephalitis in Sri Lanka. HBoV types 1, 2, and 3 were identified among these cases. Phylogenetic analysis of HBoV1 strain sequences found no subclustering with strains previously identified among encephalitis cases in Bangladesh.