Dilaudid (Hydromorphone Hydrochloride) 4mg is an opioid pain medication, sometimes called a narcotic. It is used to treat moderate to severe pain.