The present invention relates to new macrolide derivatives, in particular new tylosin derivatives of the formula (IIa), a pharmaceutical or veterinary composition comprising the derivatives; a method for preparation thereof; a method for treating and/or preventing bacterial infections in an animal, wherein the method comprises administering the derivatives or the composition; and a use of the derivatives for the manufacture of medicaments for treating and/or preventing bacterial infections in an animal.