A device for optically connecting an optical element, for example an end portion of an optical fibre (2), with a spherical lens (4), comprises a retainer (6) and a connector element (14). The retainer (6) fixes the optical element in a predeterment position in relation to an outer re