Herein, we describe the utilization of an ionic liquid (IL)/Carbowax 20 M−functionalized sol–gel sorbent for the capsule phase microextraction of doxycycline in authentic human urine samples. This green sample preparation method combines stirring and filtration in a single, standalone sample preparation device, streamlining the sample preparation process. Additionally, it provides rapid extraction kinetics and high extraction efficiency. The experimental conditions (i.e. sorbent type, sample pH and volume, extraction time, ionic strength, elution solvent, and volume) affecting the extraction efficiency of the analyte were studied and optimized. The method was linear in the range of 0.1 – 5.0 μg/mL with a coefficient of determination higher than 0.995. The achieved LOD was found to be 0.02 μg/mL while the lower limit of quantitation (LLOQ) was 0.1 μg/mL. The IL/Carbowax 20 M−functionalized microextraction capsules were reusable at least 30 times for urine samples. The relative recoveries (% RR) ranged between 93.4 – 115.9 % while the precision (expressed as % RSD) was better than 8.1 % in all cases. The robustness of the microextraction procedure and the instrumental HPLC method were separately investigated using Plackett-Burman experimental designs. The analytical protocol demonstrated cost-effectiveness, ease of handling, and speed, leading to increased sample throughput. The green character of the developed method was evaluated using the Green Analytical Procedure Index (GAPI) and Blue Applicability Grade Index (BAGI). Finally, the method’s applicability was demonstrated by analyzing authentic human urine samples after oral administration of a doxycycline-containing pharmaceutical formulation.