Lorazepam, sold under the brand name Ativan among others, is a benzodiazepine medication. It is used to treat anxiety disorders, trouble sleeping, active seizures including status epilepticus, alcohol withdrawal, and chemotherapy induced nausea and vomiting, as well as for surgery to interfere with memory formation and to sedate those who are being mechanically ventilated. While it can be used for severe agitation, midazolam is usually preferred. It is also used, along with other treatments, for acute coronary syndrome due to cocaine use. It can be given by mouth or as an injection into a muscle or vein. When given by injection onset of effects is between one and thirty minutes and effects last for up to a day.