The police received reports that the artist, whose real name is Montero Hill, was walking around the streets in the Studio City neighborhood wearing only underwear and cowboy boots, writes Deadline.
"Upon arrival at the scene, the suspect attacked the police and was arrested", said police officer Charles Miller in Los Angeles to Deadline.
The artist was later taken to hospital for a possible overdose.
Lil Nas X made a big breakthrough in 2018 with the rap-country song "Old town road" and releases the album "Dreamboy" in 2025.