London - Britain's Dan Evans was hit with a one-year suspension on Tuesday after testing positive for cocaine in April.
Evans, ranked 108th, failed the drug test at the Barcelona Open in April and went public with the result at an emotional press conference in June.
The 27-year-old's ban has been backdated and he will be eligible to play again on April 24 next year.
"A sample was found to contain cocaine and its metabolite," a statement from the International Tennis Federation read.
"A decision has been issued under the Tennis Anti-Doping Programme that Daniel Evans has committed an Anti-Doping Rule Violation under Article 2.1 of the Programme. It was agreed that a period of one year's ineligibility should be imposed, commencing on 24 April 2017.
"The ITF accepted Mr. Evans' account of how the cocaine got into his system and that he bears no significant fault or negligence for the violation."
Evans had accepted the ITF's anti-doping charge, saying in June: "I made a mistake and I must face up to it."
Cocaine is only banned in competition and Evans insisted he didn't take it during the tournament.
He said it had got into his system via permitted medication that he had stored in the same pocket of his washbag in which he had previously kept the cocaine.
Evans' expert, Dr Pascal Kintz, argued the very small amount of the drug present in Evans' test was consistent with inadvertent contamination.
That explanation, coupled with Evans' prompt acceptance that he had taken the drug, resulted in a more lenient ban that might have been expected.
Martina Hingis received a two-year suspension for a similar offence in 2007, when she failed a drugs test at Wimbledon.
Birmingham-born Evans had enjoyed his best run at a Grand Slam earlier this year when he defeated former US Open champion Marin Cilic en route to the last 16 at the Australian Open.
He also helped Britain win the Davis Cup in 2015 and was ranked a career-high 41 in the world earlier this year.
However, the talented but volatile British number four, who hasn't played since a Challenger event in Surbiton in June, has struggled to fulfil his potential after several other off-court incidents.
In the past, Evans has had his funding stripped twice by the Lawn Tennis Association for attitude and behaviour problems.
His rebellious tendencies played a major role in his ranking dropping to 772 in April 2015 before his resurgence earlier this year.