The invention discloses an anti-pulling environment-friendly oil gun capable of achieving self-hanging oil filling. The oil gun comprises an oil gun body, a brittle oil gun nozzle, a self-hanging hook, a switch handle and a blocking piece; the switch handle is installed in the oil gun body, and the self-hanging hook is installed at the upper end of an oil gun nozzle connector on the right end face of the oil gun body; and the self-hanging hook can be combined with or separated from the oil gun body, the brittle oil gun nozzle is installed on the right end face of the oil gun body and can be combined with or separated from the oil gun body, and the self-hanging hook and the brittle oil gun nozzle both comprise mechanisms capable of being connected with or separated from the oil gun body. The anti-pulling environment-friendly oil gun is simple in structure and convenient to use and maintain, the cost is saved, the oil gun can be automatically hung on an automobile oil tank opening during oil filling, and the oil gun cannot fall off from the oil tank opening in the oil filling process; and meanwhile, after oil filling is completed, if an automobile owner forgets to take down the oil gun and drives an automobile so as to pull the oil gun, an oil pipe and an oil filling machine, the oil gun nozzle made of a brittle material is broken under the pulling action of external force, so that the oil gun, the oil pipe and the oil filling machine are separated from the automobile, and accidents are further avoided; after the functions of the self-hanging hook and the brittle oil gun nozzle lose efficacy, the self-hanging hook and the brittle oil gun nozzle can be detached and replaced independently, the whole oil gun does not need to be replaced, and environmental protection is achieved.