Photonic integrated circuit for interferometric sensor having: - a bottom layer called substrate; - a first coupling means suitable for coupling an incident light radiation (L in) to the photonic integrated circuit; - a directional splitter linked to the first coupling means and configured to split the light radiation (L in) coupled by the first coupling means to at least one pair of waveguides comprised in the photonic integrated circuit, each pair of waveguides having: - a first waveguide called sensitive arm in which a first portion of the light radiation is propagated, said sensitive arm being exposed to a first ambient medium and to at least one compound to be detected inducing a modification of the local refractive index perceived by the evanescent part of the electromagnetic field of the first portion of the light radiation, and - a second waveguide called reference arm in which a second portion of the light radiation is propagated, - a directional combiner configured to combine the first portion of the light radiation from said reference arm, called first transmitted portion, and the second portion of the light radiation from said sensitive arm, called second transmitted portion, to form a transmitted radiation; - a second coupling means suitable for coupling said transmitted radiation to a medium external to the photonic integrated circuit; - a top layer called superstrate covering at least the first and the second coupling means, the directional splitter and the directional combiner, and not covering the sensitive arm and the reference arm, the photonic integrated circuit being characterised by: - an encapsulation layer encapsulating the reference arm, said encapsulation layer being impermeable to the compound(s) to be detected, so that the reference arm is exposed only to a second ambient medium, substantially of the same nature as the first ambient medium and without said compound to be detected, said encapsulation layer being deposited on top of the superstrate. - a bottom layer called substrate; - a first coupling means suitable for coupling an incident light radiation (L in) to the photonic integrated circuit; - a directional splitter linked to the first coupling means and configured to split the light radiation (L in) coupled by the first coupling means to at least one pair of waveguides comprised in the photonic integrated circuit, each pair of waveguides having: - a first waveguide called sensitive arm in which a first portion of the light radiation is propagated, said sensitive arm being exposed to a first ambient medium and to at least one compound to be detected inducing a modification of the local refractive index perceived by the evanescent part of the electromagnetic field of the first portion of the light radiation, and - a second waveguide called reference arm in which a second portion of the light radiation is propagated, - a directional combiner configured to combine the first portion of the light radiation from said reference arm, called first transmitted portion, and the second portion of the light radiation from said sensitive arm, called second transmitted portion, to form a transmitted radiation; - a second coupling means suitable for coupling said transmitted radiation to a medium external to the photonic integrated circuit; - a top layer called superstrate covering at least the first and the second coupling means, the directional splitter and the directional combiner, and not covering the sensitive arm and the reference arm, the photonic integrated circuit being characterised by: - an encapsulation layer encapsulating the reference arm, said encapsulation layer being impermeable to the compound(s) to be detected, so that the reference arm is exposed only to a second ambient medium, substantially of the same nature as the first ambient medium and without said compound to be detected, said encapsulation layer being deposited on top of the superstrate.