In this work, the capacity of an electronic nose (E-nose, PEN2) to classify tea quality grades is investigated. Three tea groups with different quality grades were harvested at different times. Principal component analysis (PCA) and artificial neural network (ANN) were applied to identify the different tea samples. PCA provided perfect classification of tea quality grades. In the analysis of age, six groups of XinyangMaojian green tea were distinguished completely by PCA. The results of ANN analysis gave a high percentage of correct discrimination of green tea samples. The correct identification rates of the training and testing data were 98.6% and 83%, respectively, for three grades of green tea samples harvested in 2009. The correct identification rates of the training and testing data were 100% and 87.8%, respectively, for three grades of green tea samples harvested in 2010. In the analysis of age, the correct discrimination percentages for six groups of XinyangMaojian green tea were 99.4% and 88.9% for training and testing data, respectively. These results indicate that the electronic nose could be successfully used for the detection of teas of different quality grades and ages.