George Michael has been sentenced to 100 hours of community service and banned from driving for two years at Brent Magistrates court, north London.
The 43-year-old had pleaded guilty to driving while unfit, blaming "tiredness and prescribed drugs" for the offence.
He was arrested in October last year after being found slumped at the steering wheel of his car.
The pop star, who performs at Wembley Stadium this weekend, has expressed regret over the incident.
"I was ashamed I had done something really wrong in putting other people at risk," he told the court.
Following sentencing, the singer was in a bullish mood outside the court, smiling and laughing with fans.
Reading from a prepared statement, he called the media coverage of the case "farcical" and said reporters had concentrated on the prosecution's case.
"I'm glad to put this behind me," he added. "Now I'm off to do the biggest show of my life."