An epoxy resin composition for printed wiring board characterized by containing (A) epoxy resin component containing epoxy resin (A-1) having a nitrogen atom and a bromine atom in each single molecule, (B) phenolic hardener component containing phenolic resin (B-1) and (C) hardening accelerator component containing imidazolesilane compound (C-1).