An optical element manufacturing method according to the present invention includes: disposing a mask on a transparent photosensitive resin; patterning said transparent resin by applying an exposure light to said transparent photosensitive resin through said mask to form a transparent layer; forming a light absorbing layer by filling a gap in the transparent layer with a black curable resin; and illuminating a mask surface of the mask with the exposure light at an angle.