A photocurable resin composition for sealing an organic EL device is provided, which can seal the organic EL device without exerting any bad influence on the device, thereby suppress the formation and growth of dark spots positively, and which can ensure a high transmittance of light, thereby maintain a stable light emitting characteristic over a long period of time. The composition comprises (A) an epoxy resin containing at least two glycidyl groups in each molecule thereof and having a molecular weight of 200 to 7000, (B) an epoxy resin containing at least one glycidyl group in each molecule thereof and having a molecular weight of 20000 to 100000, (C) a latent acid photo catalyst adapted to be activated and produce an acid upon being irradiated with energy beam, and (D) a silane coupling agent containing a glycidyl group in each molecule thereof, the composition exhibiting non-fluidity at 25° C., but exhibiting fluidity in a temperature range of 50° to 100° C.