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
The Napier case provides yet another window into a dark period of our recent past in relation to child protection.
A builder has been ordered to pay £2,500 for opening a sluice gate on the Somerset Levels at the height of the floods.
George Ford booted 24 points as Bath kept the pressure on Northampton at the top of the Premiership with a 39-16 win at rivals Gloucester.