The accident occurred when The 127-metre-long Gelso M was bound for the Sicilian port of Augusta to take on fuel.
The coastguard said the tanker, listed as an oil/chemical tanker, was not carrying cargo at the time of the accident.
The ship had taken on water in its engine room and plans were being made to move it from the rocks, the coastguard said.