OBJECTIVE : Traditional methods to determine stress and anxiety in academic environments consist of the application of questionnaires, but the main disadvantage is that the results depend on the students' self-perception. Being able to detect anxiety-related stress levels in a simple and objective way contributes greatly to dealing with low performance and school drop-out by students. METHODS : The main contribution of this study is to identify the physiological features that could be used as predictors of stressful activities and states of anxiety in academic environments using an Arduino board and low-cost sensors. A test with 21 students was conducted, and a stress-inducing protocol was proposed and 21 physiological features of five signals were analyzed. In addition, the State-Trait Anxiety Inventory (STAI) was used to assess the level of anxiety for each student. Four classifiers were compared to find the physiological feature subset that provides the best accuracy to identify states of stress and anxiety. RESULTS : The stress due to activities performed by students can be identified with an accuracy greater than 90% (Kappa = 0.84) using the k-Nearest Neighbors classifier, using data from heart rate, skin temperature and oximetry signals and four physiological features. Meanwhile, the identification of anxiety was achieved with an accuracy greater than 95% (Kappa = 0.90) using the SVM classifier with data from the galvanic skin response (GSR) signal and three physiological features. CONCLUSIONS : The results provide a clue that anxiety detection in academic environments could be done using the analysis of physiological signals instead of STAI test scores. Besides, the results suggest that physiological features could be used to develop stress recognition systems to help teachers to identify the stressful tasks in an academic environment or to develop anxiety recognition systems to help students to control their level of anxiety when they are performing either academic tasks or exams.