The invention provides a disinfection system (1) for disinfecting a nipple of livestock, more in particular a nipple of a cow, after milking, said disinfection system comprising a disinfection controller (19), that is adapted for operationally coupling to a milking system that comprises at least one set of teat cups (2) coupled to a source of a pulsating vacuum, wherein said disinfection controller is adapted for operationally coupling to a source of pressurized fluid (AIR), and for operationally coupling to a source of disinfectant (DIP) for providing at least one dose of disinfectant, said disinfection controller adapted for activating said source of disinfectant for providing a dose of disinfectant into a conduit system of said disinfection system, and for activating said source of pressurized fluid for forcing said dose of disinfectant via said conduit system out of at least one spray nozzle (22) of said conduit system in response to a signal that said milking system stops said pulsating vacuum but before said teat cups leave teats of an animal of said livestock, said spray nozzles arranged for providing a spray of disinfectant onto nipples in said teat cups.