The rotary filling and capping machine is automated from filling, capping and bottle retreating, with simple operation and fast packaging speed. It can also change the template and capping head according to different bottles and lids at any time, and it is convenient to load and unload. The machine adopts integrated design, electricity and gas with compact and reasonable structure, convenient operation and maintenance, stable and reliable performance, and is widely used in various industries such as food and beverage.