Methyl 3-hydroxybenzoate is a benzoate ester resulting from the formal condensation of the carboxy group of 3-hydroxybenzoic acid with methanol. It has a role as an antibacterial agent. It is a methyl ester, a member of phenols and a benzoate ester. It is functionally related to a 3-hydroxybenzoic acid.