The invention discloses an automatic oiling machine. The machine comprises a controller, a rack, an oil applying device and an oil storage tank; the rear end of the oil storage tank is provided with amovable piston type tank bottom, the tank bottom is pushed, lubricating oil can be extruded from a conical oil outlet nozzle in the front end, a lubricating oil pushing mechanism and an oil storage tank support are arranged on the rack, an adapting pipe is arranged on the front end of the oil storage tank support, the oil applying device is connected with the front end of the adapting pipe, the oil storage tank is placed on an oil storage tank support, the conical oil outlet nozzle of the front end of the oil storage tank is inserted into the adapting pipe, the tank bottom on the rear end ofthe oil storage tank is in abut joint with a pushing disc, the pushing disc is connected with the work end of a lubricating oil pushing mechanism, during use, an oil distribution cavity in the oil applying device is aligned with the part, required to be charged with the lubricating oil, of a mechanical device, the lubricating oil pushing mechanism is started, the lubricating oil can be extruded into the oil distribution cavity, the lubricating oil can be automatically injected into the portion, required to be lubricated, of the machine, during filling, the manual lubricating repeated procedureis reduced, the automation degree is high, and the problems that the work is tedious, dirty, tired and dangerous can be solved.