Millions of patients around the world are affected by neurological and psychiatric disorders. Deep brain stimulation (DBS) is a device-based therapy that could have fewer side-effects and higher efficiencies in drug-resistant patients compared to other therapeutic options such as pharmacological approaches. Thus far, several efforts have been made to incorporate a feedback loop into DBS devices to make them operate in a closed-loop manner. This paper presents a comprehensive investigation into the existing research-based and commercial closed-loop DBS devices. It describes a brief history of closed-loop DBS techniques, biomarkers and algorithms used for closing the feedback loop, components of the current research-based and commercial closed-loop DBS devices, and advancements and challenges in this field of research. This review also includes a comparison of the closed-loop DBS devices and provides the future directions of this area of research. Although we are in the early stages of the closed-loop DBS approach, there have been fruitful efforts in design and development of closed-loop DBS devices. To date, only one commercial closed-loop DBS device has been manufactured. However, this system does not have an intelligent and patient dependent control algorithm. A closed-loop DBS device requires a control algorithm to learn and optimize the stimulation parameters according to the brain clinical state. The promising clinical effects of open-loop DBS have been demonstrated, indicating DBS as a pioneer technology and treatment option to serve neurological patients. However, like other commercial devices, DBS needs to be automated and modernized.