The invention provides an injection head and an injection mechanism of an injection molding machine. The injection head comprises a mounting pipe, a first feeding pipe, a second feeding pipe, a buffer pipe assembly, a buffer reset mechanism, a heating and cooling assembly, a cleaning assembly, a threaded pipe and an injection nozzle. During injection molding, a buffer pipe moves forward, the size of the buffer pipe assembly is reduced, after injection molding is finished, a reset spring drives the buffer pipe to reset, so that the internal volume of the buffer pipe assembly is enlarged, a small amount of raw materials are temporarily stored, the raw materials are prevented from still flowing out of the injection nozzle after injection is completed, and the phenomenon that the raw materials flowing out of the injection nozzle are solidified and block the injection nozzle can be effectively prevented, and when heating is needed, a heating wire is used for heating the injection head through the electromagnetic induction principle, a vapor chamber plays a good role in soaking so as to quickly heat the injection head, circulating cooling water is introduced into a heat dissipation water tank during maintenance, and at the moment, the vapor chamber can quickly take away heat on the surface of the injection head so as to quickly cool the injection head.