The use of magnetic particles has recently expanded for a process known as detoxification, in which different toxins and microorganisms are captured from the bloodstream of septic patients. Due to the magnetic properties of the particles, once the capture of the pathogens is complete, their separation from the patient’s blood can be performed in a continuous process using an external magnetic field. In this work, we introduce a design for a two-phase continuous-flow microseparator and present an optimization study for the separation of magnetic beads using state-of-the-art computational modeling. The developed numerical method includes a combination of magnetic and fluidic computational models that accurately describe the magnetophoretic motion of the beads. To the best of our knowledge, this is the first computational study of the interaction between two different fluids flowing simultaneously in the device (blood–water) that takes into account two-way coupled particle–fluid interactions in the flow fiel...