Midazolam is used before surgery or a procedure. It helps to cause drowsiness, decrease anxiety, and to decrease your memory of the surgery or procedure. This medication may also be used to help with anesthesia or to sedate people who need a tube or machine to help with breathing. Midazolam works by calming the brain and nerves. Available in injectable grade in 5mg/ml, 1ml, 3ml and 10ml amp.