The invention relates to a rust preventing device and particularly relates to a lubricating and rust preventing device for hardware products. The technical problem to be solved by the invention is to provide the lubricating and rust preventing device for hardware products, which is uniform in lubrication, high in work efficiency and simple in operation. In order to solve the technical problem, the invention provides the lubricating and rust preventing device for hardware products. The lubricating and rust preventing device comprises a rectangular-ambulatory-plane sliding rail, a second sliding block, a moving rod, a top plate, a first sliding rail, an electric push rod, a sponge brush, a first hose, a first one-way valve, a placing frame, a screen plate, a support frame, a bottom plate, a first connecting rod, a second connecting rod, a lifting rod, a piston, a motor, a turntable, a fixed seat, a left frame, a second hose, a water tank, a collecting frame, a supporting seat, a cylinder body, a first sliding block and a second one-way valve. The lubricating and rust preventing device has the effects of lubrication uniformity, high work efficiency and simplicity in operation. By using the lubricating and rust preventing device, the hardware products can be uniformly lubricated, the work efficiency can be increased, lubricating oil can be saved, and the working cost can be reduced.