A fast and sample preparation free methodology was used to determine coffee origin. SVM model is successful to predict geographic origin. The genetic algorithm is efficient for optimization of SVM parameters. Infrared spectroscopy in tandem with SVM is a reliable tool for food control.