In this study, we selected bacteremic Klebsiella pneumoniae isolates from the Taiwan Surveillance of Antimicrobial Resistance program. A total of 521 isolates were collected over a period of 2 decades, including 121 from 1998, 197 from 2008, and 203 from 2018. Seroepidemiology showed that the top five capsular polysaccharide types were serotypes K1, K2, K20, K54, and K62, constituting 48.5% of the total isolates, and the respective ratios at each time point have remained similar over the past 2 decades. The antibacterial susceptibility tests showed that K1, K2, K20, and K54 were susceptible to most antibiotics, while K62 was relatively resistant compared to other typeable and nontypeable strains. In addition, six virulence-associated genes, clbA, entB, iroN, rmpA, iutA, and iucA, were predominant in K1 and K2 isolates of K. pneumoniae. In conclusion, serotypes K1, K2, K20, K54, and K62 of K. pneumoniae are the most prevalent serotypes and carry more virulence determinants in bacteremia patients, which may indicate their invasiveness. If further serotype-specific vaccine development is performed, these five serotypes should be included. Since the antibiotic susceptibility profiles were stable over a long duration, empirical treatment may be predicted according to serotype if rapid diagnosis from direct clinical specimens is available, such as PCR or antigen serotyping for serotype K1 and K2. IMPORTANCE This is the first nationwide study to examine the seroepidemiology of Klebsiella pneumoniae using blood culture isolates collected over a period of 20 years. The study found that the prevalence of serotypes remained consistent over the 20-year period, with high-prevalence serotypes associated with invasive types. Nontypeable isolates had fewer virulence determinants than other serotypes. With the exception of serotype K62, the other high-prevalence serotypes were highly susceptible to antibiotics. If rapid diagnosis using direct clinical specimens, such as PCR or antigen serotyping, is available, empirical treatment can be predicted based on serotype, particularly for K1 and K2. The results of this seroepidemiology study could also help the development of future capsule polysaccharide vaccines.