The 45-year-old, whose real name is Earl Simmons, stopped breathing and didn't have a pulse when police were called, reported TMZ.
The officers quickly administered CPR once arriving on the scene and gave the rapper Narcan which is usually used an antidote for narcotic drug overdoses.
His pulse returned a minute later. He was taken to hospital and is now in stable condition.
An eyewitness claimed DMX "ingested" a powder before he collapsed but the rapper later denied allegations that he took drugs.
He said he had shortness of breath after suffering bronchitis for a couple of days and asked for his inhaler before he fainted.