Statistical methods of optimization were applied to the enzymatic semisynthesis of ampicillin catalyzed by penicillin acylase. Since the traditional approach fails in determining both the presence of interactions between the variables and their magnitude, the reaction was reconsidered by means of chemometric techniques. In this work we determined the interaction between temperature and pH for the first time.