To create facile external controlled drug delivery system, a magnetic porous carrier based on Tin oxide nanoparticles was synthesized by an inexpensive and versatile hydrothermal strategy and used for in vitro process. Magnetic nanocomposites were qualified by Fourier Transform Infrared (FTIR), Scanning Electron Microscopy (SEM), X-Ray Diffraction (XRD), Vibrational Sample Magnetometer (VSM) and Transmission Electron Microscopy (TEM). Results showed that nanoparticles were synthesized successfully with good dispersion of magnetic nanoparticles in cavity, uniform particle size distribution with average size of 65 nm and high magnetization of 33.75 emu/mg. Furthermore, the nano-porosity and magnetism allowed high efficiency and remote controlled drug release. In this study, anti-migraine Sumatriptan was used as drug sample and the effect of drug concentration, Fe/Sn ratio and loading time on drug absorption were investigated. The best result was checked for stability at body temperature and different body pH. The sample with drug concentration of 0.25(mg/ml), Fe/Sn = 0.22 and loading time of 1.5 h had the highest drug efficiency (70%). Finally, in order to simulate the in vivo process for in-vitro step, Amnion was used and drug diffusion rate was measured in different intervals and different pH values. The result illustrated that after 25 h, diffusion reached 65% at pH = 2 and 56% at pH = 7, and then became constant. Based on the above,mentioned results, the carrier has an acceptable in vitro yield and therefore could be chosen for future in vivo researches. (C) 2017 Elsevier B.V. All rights reserved.