The integration of nanomaterials with 3D printing can create biomedical devices with an unprecedented level of functional integration. My research focuses on the multiscale integration of nanomaterials in an extrusion-based 3D printing process, enabling the creation of bioelectronics that can address unmet clinical needs. As an example, I will first highlight the development of the 3D printing of active electronics, which extended the reach of 3D printing. In the second part of the talk, I will highlight the development of a 3D printed gastric resident electronics system, which leverages the significant space and immune-tolerant environment available within the gastrointestinal tract to circumvent the potential complications associated with surgically placed medical implants; and explore the possibility of integrating reinforcement learning algorithm to adapt to environmental changes. Ultimately, we strive to address unmet clinical needs by creating 3D printed biomedical electronics that can better interface with a broad range of three-dimensional systems.