Sandiford, 56, was sentenced after being found guilty of violating the country's strict drug laws by the Denpasar District Court today.
In the court's verdict, a judge panel headed by Amser Simanjuntak, concluded that Sandiford has damaged the image of Bali as a tourism destination and weakened the government's programme of drug annihilation.
The cocaine she smuggled was worth around 2.5 million US dollars, the Associated Press reported.
Prosecutors had said during the trial last month that they were seeking a 15-year prison term, and not pursuing the maximum penalty for drug trafficking which is death.
More top news
Extra spending on the NHS, cutting net migration and adding grammar schools to every town were just some of UKIP's manifesto pledges.
Another hot and sticky day lined up for tomorrow. Clear skies and plenty of sunshine, feeling warm and high UV levels.
Temperatures not dropping, barely a cloud in the sky and wall to wall sunshine tomorrow. But high UV levels to contended with.