aftertaste

/ˈæftərˌteɪst/

noun

A taste, typically an unpleasant one, remaining in the mouth after eating or drinking something.

the wine had a bitter aftertaste