The invention discloses a nickel-free hole sealing agent for an easy-to-film antibacterial aluminum alloy anodic oxide film. The nickel-free hole sealing agent is prepared from, by weight, 8-8.5 parts of magnesium acetate, 19-20 parts of triethanolamine, 3-3.2 parts of ammonium acetate, an appropriate amount of deionized water, 0.6-0.7 part of triethanolamine dilaurate, 0.3-0.4 part of cobalt lactate, 0.3-0.4 part of sodium tripolyphosphate, 0.8-1 part of silica sol, 0.4-0.5 part of lithium metasilicate, 2.6-2.8 parts of dodecafluoroheptyl-propyl-trimethoxysilane, 1-1.2 parts of tetrabutyl titanate, 45-48 parts of ethyl alcohol, 8.6-9 parts of ammonia water and 0.3-0.4 part of fluorine-containing surfactant. According to the nickel-free hole sealing agent, the triethanolamine dilaurate, the cobalt lactate, the sodium tripolyphosphate and the silica sol are used, so that the film-forming property of the sealing agent is improved, films can be formed quickly, and the sealing agent can be permeated in the films; the hole sealing speed is high, and the air isolation effect is good; besides, the antibacterial effect is achieved, and the corrosion resistance is improved.