Highlights•Hexadecane-Onion-like carbon (OLC) lubricant further increases the triboelectricity.•The wear resistance of TENG is further improved by using hexadecane-OLC.•OLC doped hexadecane further inhibits material transfer during friction.•Hexadecane-OLC lubrication greatly extends the service life of TENG.Triboelectric nanogenerators (TENGs) with sliding-mode have developed rapidly in the field of energy harvesting and sensing. However, its surface wear and low electric output performance usually limit its applicability. Herein, a mixture of hexadecane with onion-like carbon (OLC) lubricant is added to the interface between polytetrafluoroethylene (PTFE) film and steel to enhance the triboelectrical and tribological performance. During dry friction, the friction pair is severely worn and the current output decreases gradually with the transfer of a large amount of PTFE debris in a short period. The introduction of hexadecane partly resolves the problems such as friction and wear with the reduction in the transfer of PTFE material. However, the current output decreases gradually during the friction process because there is still some slight material transfer in the interface. The electrical output of TENG is further enhanced with the addition of OLC, and its tribological properties are comparable or better than oil-based TENG. The short-circuit currents (Isc) of the oil-based TENG and the oil-OLC-based TENG are 1.5 times and 5 times that of the TENG in the dry friction state, respectively. Also, the coefficient of friction (COF) of oil-OLC-based TENG is reduced by about 75.3% compared with dry friction state. The oil-OLC-based lubricant reduces the transfer film formation, increases the effective contact area, and squeezes the air at the interface. Also, part of the OLC rolls between the two friction layers, forming a "micro-bearing", further reducing the generation of transfer film. This study provides a novel way to improve the output efficiency and prolong the service life of TENG.