Cleaning symbiosis is an apparently mutualistic relationship, occurring in diverse taxa, in which cleaners remove ectoparasites from the body of their clients. Here its evolution is explored with a simple game theory model in which both participants play against each other using either honest or cheating strategies. Honest clients pose for cleaners and have their ectoparasites removed, cheating clients eat the cleaners. Honest cleaners eat their clients’ ectoparasites, cheating cleaners feed mainly on client tissues. The conditions that favour either strategy are obtained when the game is resolved: (i) the cost of being cleaned by a cheat and the proportion of cheats in the cleaner population determine the relative value of honesty in clients, and (ii) the advantages of being an honest cleaner depend on the relative fitness value of ectoparasites as food versus client tissues. A scenario for the origin of the cleaning symbiosis can also be derived from the model, in which the specialization of both participants need not be simultaneous. The model is based on the relationship between specialized cleaner fish and their client fish on coral reefs, but its conclusions are used in an examination of other cleaning associations.