Solid-phase extraction (SPE) coupled with capillary electrophoresis (CE) for the determination of macrolide antibiotics (azithromycin, clarithromycin, roxithromycin, tylosin) and tiamulin in water samples was described in this article. These compounds were extracted with different types of sorbents ( Oasis HLB, C18, C8, SDB, and Strata-X) and different masses of sorbents (60 mg, 200 mg, and 500 mg) using different organic solvents (methanol, ethanol, and acetonitrile) and different pH values of water samples (pH 7.00, 8.00, and 9.00). It was found that the highest extraction efficiency of the studied compounds was obtained with 200 mg/3 mL C18 cartridges with methanol as eluent at pH 9.00 of the water sample. The developed SPE-CE method for macrolide antibiotics and tiamulin was validated for linearity, precision, repeatability, the limit of detection (