It is used as an immunosuppressive drug, given by injection in the treatment of severe allergic reactions such as anaphylaxis and angioedema, in place of prednisolone in patients needing steroid treatment but unable to take oral medication, and perioperatively in patients on long-term steroid treatment to prevent an adrenal crisis.