machine for applying threaded caps to containers , comprising : gripping means configured to hold the respective containers , at least one screwing head including a respective gripping member configured to hold a respective cap ; at least one electric motor associated with said screwing head and configured to control a rotational movement of said gripping member about a longitudinal axis and a translational movement of said gripping member along said longitudinal axis , the translational movement and the rotational movement being synchronized with each other so as to move said gripping member along a screwing path .