A comprehensive method for meldonium analysis, based on a combination of magnetic solid-phase concentration of the analyte on magnetite nanoparticles modified with cetylammonium bromide (CTAB) cations and its subsequent analysis by thin-layer chromatography (TLC) were developed in the process of study. The influence of a number of factors on meldonium sorption was studied, namely: pH, sorbent mass, sorption and mixing times; optimal extraction conditions were determined.