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
A couple from Bristol are completing their final preparations for a 75 metre-long high-wire wedding
100-year-old tourist mugged by stranger after he fell getting off a bus as he returned to Gloucester where he used to live.
A new film celebrating life in Somerset will have its premiere in Taunton tonight. It was shot on film which was developed using cider.