The present invention relates to a method for producing an optical member, in which at least two optical substrates, of which at least either has a light shielding portion, are bonded to each other using an ultraviolet ray cured resin composition containing (A) a (meth)acrylate and (B) a photopolymerization initiator, the method having specific Process 1 to Process 3, an optical member obtained by the producing method, the use of an ultraviolet ray cured resin composition containing (A) a (meth)acrylate and (B) a photopolymerization initiator, and the ultraviolet ray cured resin composition. A bonded optical member causing little damage to an optical substrate, and exhibiting favorable productivity and excellent cure extent and adherence, for example, a touch panel or a display body unit having an optical substrate having a light shielding portion can be produced by the producing method of the present invention, and an optical member exhibiting high cure extent of resin at a light shielding portion and high r