A covalent organic framework (COF) based on imine was synthesized using 2,5-dihexoxyterephthalaldehyde (DHT) and 1,3,5-tris(4-aminophenyl) benzene (TAPB) as starting materials. The TAPB-DHT-COF exhibited satisfactory chemical stability, making it a promising adsorbing material for stir bar sorptive extraction (SBSE) of four estrogens, including estrone (E1), β-estradiol (E2), hexestrol (HES), and mestranol (MeEE2), in ambient water samples. The extracted analytes were subsequently analyzed using a high-performance liquid chromatography-diode array detector (HPLC-DAD). A series of parameters affecting the SBSE process, such as solution pH, ionic strength, extraction time, and desorption solvent, were investigated by the controlled variable method. Under optimal conditions, the limit of detection (LODs) for the four targeted estrogens ranged from 0.06 to 0.15 µg/L, with a linear range from 0.2 to 100 µg/L. The observed enrichment factor (EF) ranged from 39 to 49, while the theoretical EF was estimated to be 50-fold. This methodology can be applied to the identification of estrogens in three environmental water samples.