Sodium thiopental (STL) is an ultrashort-acting barbiturate that acts quickly on the brain, reduces levels of adrenaline, noradrenaline, and dopamine, and has neuroprotective properties. However, its side effects, especially in high doses, can be severe, including respiratory failure and cardiac complications. Molecularly imprinted polymers (MIPs) are three-dimensional polymeric networks that mimic the structure and functionality of target molecules. MIPs include benefits such as stability, selectivity, and cost-effectiveness. Combination with magnetic nanoparticles (MNPs) not only enhances their stability and biocompatibility but also provides magnetic separation capabilities. This research introduces the design and synthesis of pH-sensitive MIPs as targeted nanocarriers for the selective uptake and controlled release of STL molecules. The MIPs were synthesized in various forms, including magnetic core MIPs (MMIPs), standard MIPs (MIPs), and fiber-shaped MIPs (MIP