The invention relates to rail maintenance equipment with rail rust removal and crack repair functions. The rail maintenance equipment comprises a cross beam, two work boxes and at least two movable wheels, a clamping mechanism is arranged in the cross beam, and a first groove, a second groove and a third groove are formed in each work box, and a rust removal mechanism, a flaw detection mechanism and a repairing mechanism are arranged in each work box. The clamping mechanism comprises a first motor, a gear, two racks and two movable plates, and each rust removal mechanism comprises a second motor, a rotating rod, a sliding block, a sliding groove, a swing rod and a rust remover. According to the rail maintenance equipment with the rail rust removal and crack repair functions, through the rust removal mechanisms, iron rust on rail webs can be effectively removed, the situation that due to rail web rusting, force bearing of different positions of the rail webs is uneven is avoided, additionally, through cooperation of the flaw detection mechanisms and the repairing mechanisms, the rail maintenance equipment can detect whether cracks exist in rails or not and further can repair the cracks in time, thus the rail maintenance time is shortened, and the manpower is saved.