The 'Baby' singer was taken into custody in Miami in the early hours of Thursday morning (23 January) after a police officer saw two cars drag racing on a Miami Beach residential street.
He appeared in court this afternoon via video link from Miami-Dade jail. He was wearing an orange jumpsuit. His bail was set at $2,500. Shortly after his appearance he left the jail.
Miami Beach police chief Raymond Martinez said Justin, 19, was stopped in his yellow Lamborghini around 4am by an officer who "smelled a strong odour of alcoholic beverage" in the car.
He failed a field sobriety test.
"Mr Bieber at that point was not cooperating with the officer's instructions," said Mr Martinez, of the moment Justin was pulled over.
"The officer asked him to exit the vehicle. He was questioning why he was being stopped.
"Ultimately he did step out of the vehicle but he would not follow the officer's instructions. At that time the officer placed Mr Bieber under arrest for resisting without violence."
The spokesperson said the officer suspected Justin of "being impaired" so he was brought to the police station where a DUI investigation was conducted.
"It was determined that he was impaired," said the spokesperson. "During the investigation Mr Bieber made statements that he had consumed some alcohol and had been smoking marijuana and had consumed prescription medication."
In his arresting report, the officer wrote: "The driver had slow, deliberate movements and a stupor look on his face. These are all the indicators of an impaired driver."
The arrest report claims Justin asked the officer, 'Why the f**k are you doing this?" when it was requested he exit the vehicle, later saying, "What the f**k did I do?" when asked to place his hands on the vehicle.
The pop star is then quoted as saying: "I ain't got no f**king weapons. Why do you have to search me? What the f**k is this about?"
Mr Martinez said Justin had been fully cooperative once he arrived at the station.
A friend of Justin's was also arrested.
Justin has been in Miami since Monday after enjoying a snowboarding holiday with his friends.
Last week, the Canadian pop star's home in Calabasas, California was searched by police as part of an investigation into alleged vandalism, following the egging of his neighbour's home.