Additive manufacturing technology is renowned for its ability to produce components on demand. Presently, the development of sustainable materials has been promoted by Green Chemistry, leading to an increase in the recycling of polymers and other materials for use in 3D printing. In this work, we proposed the construction of a 3D printed electrochemical device using a conductive paste made from 3D printing residues of acrylonitrile butadiene styrene (ABS) filaments and graphite to develop a sustainable sensor for acebutolol detection using square wave voltammetry method. The electrode was characterized using imaging and electrochemical techniques, demonstrating superior electrochemical performance compared to a commercial device. The method exhibited excellent analytical performance with a linear working range from 0.98 to 51.8 μmol L−1 and good detectability (detection limit) of 0.28 μmol L−1. Furthermore, the recycled sensor demonstrated good precision with a relative standard deviation of less than 8.4 % and good accuracy with recovery percentages ranging from 93 to 107 % for monitoring acebutolol in urine and tap water samples. Additionally, the device was free from interference from the matrix and other commonly used drugs, making it suitable for electroanalytical applications and extremely promising.