Taniny, garbniki roślinne, garbniki naturalne (
E181) – grupa
organicznych związków chemicznych, pochodne
fenoli, naturalnie wytwarzane przez rośliny. Masa cząsteczkowa tanin mieści się w zakresie od kilkuset do kilku tysięcy
Da. Wyróżniane są taniny łatwo hydrolizujące oraz skondensowane. Pierwsza grupa to związki powstałe w wyniku polimeryzacji
kwasu galusowego lub innych kwasów fenolowych oraz cukrów, zwykle
glukozy. Grupa ta łatwo ulega hydrolizie kwasowej. Druga grupa ulega hydrolizie jedynie przy zastosowaniu silnych kwasów. Taniny skondensowane tworzone są przez łączenie
flawonoidów. Taniny nadają roślinom cierpki, nieprzyjemny smak, wykazują też działanie toksyczne w tym powodują
denaturację białek.
Polimeryzowane i przechowywane są w
tanosomach. W roślinie pełnią funkcję
obronną odstraszając zwierzęta roślinożerne. Taniny wydzielane przez rośliny wykazują także działanie
allelopatin. Zdolność denaturacji białek została wykorzystana przez człowieka w
garbarstwie. Denaturacja włókien
kolagenowych, obecnych w skórach zwierzęcych, powoduje, że białka te stają się trudno dostępne dla drobnoustrojów.