Aims: The present work aims to predict sensory astringency from wine chemical composition using machine learning algorithms.Material and results: Moristel grapes from different vineblocks and at different stages of ripening were collected. Eleven different wines were produced in 75 L tanks in triplicate, and further sensory factors were described by the rate-all-that-apply method with a trained panel of participants. The polyphenolic composition was characterised in wines by measuring the concentration and activity of tannins using UHPLC-UV/VIS, the mean degree of polymerisation (mDP. and the composition of tannins using thiolysis followed by UHPLC-MS. Conventional oenological parameters were analysed using FTIR and UV-Vis. Machine learning was applied to build models for predicting a wines astringency from its chemical composition. The best model was obtained using the support vector regressor (radial kernel) algorithm presenting a root-mean-square error (RMSE) value of 0.190.Conclusions: The main variables of the astringency model were the % of procyanidins constituting tannins and ethanol content, followed by other eight variables related to tannin structure and acidity.Significance of the study: These results increase the knowledge of chemical variables related to the perception of wine astringency and provide tools to control and optimise grape and wine production stages to modulate astringency and maximise quality and the consumer appeal of wines.