Mycotoxins food contamination represents a serious risk for consumers health. They are secondary metabolites of fungi that can be present in a wide range of foodstuffs. Ochratoxin A (OTA) is one of the most toxic compound and it is classified as a possible carcinogenic molecule. The harmful effects of OTA on human and animal health lead to a big boost to develop and optimize highly sensitive and accurate methods for OTA detection. An innovative and rapid detection method based on microcantilever resonators for ochratoxin A identification in food matrix has been developed. This work demonstrates the possibility to apply microcantilever technology in food safety field, showing for the first time in literature the successful detection of one of the most dangerous mycotoxin in different food matrixes both solids and liquids, such as green coffee, grape juice and wine. Sensing performances are discussed in terms of calibration plot and limit of detection.