This paper describes a recently developed averaging technique to robustify iterative learning and repetitive controllers. The robustified controllers are found by minimising cost functions that are averaged over either multiple analytical time-domain models or experimental frequency-domain data. The aim is to produce a technique that is simple and general, and can be applied to any iterative learning control (ILC) or repetitive control (RC) design that involves the minimisation of a cost function. Substantial improvement in convergence to zero tracking error in the presence of model uncertainties has been observed for both ILC and RC by this averaging technique.