During his time at White Plans Hospital in Westchester, fans surrounded the building and held prayer vigils.
After his death, his family's released a statement saying that DMX died with relatives by his side after several days on life support.
"Earl was a warrior who fought till the very end. He loved his family with all of his heart, and we cherish the times we spent with him," the family said, adding that his music "inspired countless fans across the world".
DMX — who rapped with a trademark raspy delivery that was often paired with growls, barks and "What!" as an ad-lib — built a multiplatinum career in the late 1990s and early 2000s, but he also struggled with drug addiction and legal problems that repeatedly put him behind bars.
- Additional reporting, AP