A sample was taken from the Australian during the Mallorca Open in June.
Nick Kyrgios says he "made a huge mistake", after being provisionally suspended from tennis for testing positive for cocaine.
A sample taken from the Australian during the Mallorca Open back in June was found to contain a metabolite of the substance.
The former Wimbledon finalist has been banned from tournaments since August 4th, pending the outcome of a tribunal.
Posting on Instagram, the 31-year-old added that he takes "full responsibility" for the positive test.

1.6Million People Tuned Into Final Round Of Katie Taylor's Retirement Fight
Moment's Silence To Mark Nepal Flood Victims At This Weeks Champions League Matches
Tyson Fury "Looking For New Opponent" Despite Contracted Fight With Anthony Joshua
The Fourth Round Continues At The US Open Today
Monday Morning Sports Update
Full Weekend SFC/IFC/JFC Results & Quarter Final Draws for IFC & JFC
Newbridge Town Beaten By Villa FC In Historic National League Home Opener