A multicore optical fiber with an integral diffractive element. The
multicore optical fiber includes: a first optical fiber core formed of a
non-photosensitive material having an initial index of refraction; and a
second optical fiber core including a second longitudinal core axis
substantially parallel to the first longitudinal axis. The first optical
fiber core includes: a first longitudinal core axis; and a number of
index-altered portions having an altered index of refraction which is
different from the initial index of refraction. The index-altered
portions are arranged within the non-photosensitive material of the first
optical fiber core to form a diffractive structure of the integral
diffractive element.