Versed (midazolam) has a half-life of approximately 2 to 6 hours, meaning it takes that amount of time for half of the drug to be eliminated from the body. The drug is metabolized in the liver and excreted in the urine, with most of it leaving the body within 24 hours. However, the exact length of time that Versed stays in the system can vary depending on factors such as age, weight, liver function, and dose.