Recently, a PCR-derived method for serotyping Streptococcus pneumoniae has been devised to substitute the conventional antiserum phenotypic method. The method initially used a multiplex PCR reaction, dividing the isolates into 6 different groups based on the detected PCR gel pattern. In order to optimise and refine this crucial step, the Taguchi technique was employed, which can evaluate the individual effect of six parameters (in this case: primers, MgCl2, nucleotide mix, polymerase and buffer), with only 18 experiments; varying the parameter levels in an orthogonal matrix which suppresses the interactions between them. With this method, clear and sharp bands were observed in 5 experiments out of the 18, while the PCR did not work reliably in the remaining cases. In addition, the PCR-based technique could be rendered more economic by the 10-fold lowering of the quantities of two primers. The modified reaction yielded identical results to those obtained with the original method. Furthermore, we have designed serotype-specific primers for 11 new serotypes. The most important ones are those that can distinguish the very closely related, but equally important serotypes 6A and 6B.