A pyridine-based diamine as a building block for the preparation of heat resistant polyimides was prepared. Reaction of 1,5-dihydroxy naphthalene with 4-nitrobenzoyl chloride resulted in preparation of 5-hydroxy-1-naphthyl-4-nitrobenzoate (HNNB). 5-Hydroxyl-1-naphthyl-4-aminobenzoate (HNAB) was prepared via reduction of nitro group of HNNB. The diamine with built-in ether and ester groups was synthesized by nucleophilic substitution reaction of HNAB with 2,6-dichloropyridine in the presence of K 2CO 3. The obtained diamine was fully characterized and its polycondensation reaction with different aromatic dianhydrides led to preparation of novel heat resistant poly (ether ester imide)s. All the polymers were characterized and their physical and thermal properties were studied.