The invention discloses a composite electroplating solution with a good rust protection function for scaffolds. The composite electroplating solution is composed of, by weight, 6.8-9 parts of aniline, 0.1-0.2 part of ammonium persulfate, 50-60 parts of boric acid, 2-3 parts of sodium acetate, 220-250 parts of nickel sulfate, 40-50 parts of nickel chloride, 0.2-0.3 part of lauryl sodium sulfate, 50-60 parts of polytetrafluoroethylene emulsion, 3-4 parts of cationic surface active agents FC134, 2.2-3 parts of cerous nitrate, 1.4-1.8 parts of neodymium nitrate, 4.6-5 parts of aluminium nitride, an appropriate amount of concentrated ammonia water, an appropriate amount of absolute ethyl alcohol and an appropriate amount of deionized water. According to the electroplating solution, the electroplating technology is simple, the strength, the corrosion resistance, the toughness and the abrasive resistance of the scaffolds are improved, plating layers do not fall off easily, the cost is lowered, and the service life is long. Thus, the composite electroplating solution is worthy of popularization.