Schiff base {4-[(pyridine-3-ylmethylimino)-methyl] phenol} was prepared by reacting 4-hydroxybenzaldehyde with 3-aminomethylpyridine in ethanol for 6 h (85 % yield) followed by their esterification via reaction with fatty acids of varying chain lengths. The structure of these Schiff base esters were elucidated using chromatographic and spectroscopic techniques like GC–MS, 1H NMR, 13C NMR, and ESI–MS. Schiff base esters with shorter chain heptanoic (2a) and decanoic acid (2c) showed good activity against all the tested bacterial and fungal strains. The synthesized esters were also studied for cytotoxicity toward different human tumor cell lines like HeLa, HepG2, A549, MDA-MB-231, and MCF 7 and Neuro2a; however, Schiff base esters with shorter chain (2a, 2b) and medium chain fatty acids (2d, 2i) exhibited good anticancer activity and selectively toward MDA-MB-231 and MCF 7, while long chain fatty acid (2g) Schiff base ester exhibited good anticancer activity selectively toward MDA-MB-231 as compared to the parent molecule, Schiff base (1).