It is not illegal to walk out of the emergency room. For instance, patients are free to leave the ER before being seen by a medical professional. It typically happens when the waiting time is excessively long or when the hospital is unable to provide the level of care that the patient needs. In these situations, patients are within their rights to walk out of the emergency room and seek treatment elsewhere.