I recommend spaying no later than 5 months. Neutering I think should be done no later than 8 months. Cats can be spayed/neutered as young as eight weeks though, and many vets are recommending this. Kittens are easier to perform surgery on and the recovery rate is incredibly faster and less discomforting than it would be on an older cat.