<p>A resin composition containing a polyphenylene ether.polyamide copolymer obtained by reacting an epoxidized polyphenylene ether and a polyamide is described. Also, another resin composition containing the aforesaid polyphenylene ether.polyamide copolymer further added with polyphenylene ether and polyamide is described. These compositions are excellent in water absorption resistance, solvent resistance, and dimensional stability.</p>