One of the most important themes in the development of foods and drinks is the accurate evaluation of taste properties. In general, a sensory evaluation system is frequently used for evaluating food and drink. This method, which is dependent on human senses, is highly sensitive but is influenced by the eating experience and food palatability of individuals, leading to subjective results. Therefore, a more effective method for objectively estimating taste properties is required. Here we show that salivary hemodynamic signals, as measured by near-infrared spectroscopy, are a useful objective indicator for evaluating sour taste stimulus. In addition, the hemodynamic responses of the parotid gland are closely correlated to the salivary secretion volume of the parotid gland in response to basic taste stimuli and respond to stimuli independently of the hedonic aspect. Moreover, we examined the hemodynamic responses to complex taste stimuli in food-based solutions and demonstrated for the first time that the complicated phenomenon of the "masking effect," which decreases taste intensity despite the additional taste components, can be successfully detected by near-infrared spectroscopy. In summary, this study is the first to demonstrate near-infrared spectroscopy as a novel tool for objectively evaluating complex sour taste properties in foods and drinks.