The invention describes a method and compounds for the prevention of immune responses towards allofactors, towards viral vectors used for gene therapy and gene vaccination, towards proteins to which subjects are naturally exposed, towards genetically-modified organisms and towards undesirable effects related to vaccine administration for allergic or infectious diseases.