Microalgae are a promising feedstock for the production of triacylglycerol (TAG) for a variety of potential applications, ranging from food and human health to biofuels and green chemistry. However, obtaining high TAG yields is challenging. A phenotypic assay for accumulation of oil droplets was developed to screen a library of 1,200 drugs, annotated with pharmacology information, to select compounds that trigger TAG accumulation in the diatom Phaeodactylum. Using this screen, we identified 34 molecules acting in a dose-dependent manner. Previously characterized targets of these compounds include cell division and cell signaling effectors, membrane receptors and transporters, and sterol metabolism. Among the five compounds possibly acting on sterol metabolism, we focused our study on ethynylestradiol a synthetic form of estrogen that is used in contraceptive pills and known for its ecological impact as an endocrine disruptor. Ethynylestradiol impaired the production of very-long chain polyunsaturated fatty acids (VLC-PUFA), destabilized the galactolipid vs. phospholipid balance, and triggered recycling of fatty acids (FA) from membrane lipids to TAG. The Phaeodactylum transcriptomic response to treatment with ethynylestradiol was consistent with reallocation of carbon from sterols to acetyl-CoA and TAG. The mode of action and catabolism of ethynylestradiol is unknown but might involve several upregulated cytochrome P450 proteins. A FA elongase, Delta6-ELO-B1, might be involved in the impairment of VLC-PUFA and FA turnover. This phenotypic screen opens new perspectives for the exploration of novel bioactive molecules, potential target genes, and pathways controlling TAG biosynthesis. It also unraveled the sensitivity of diatoms to endocrine disruptors, highlighting an impact of anthropogenic pollution on phytoplankton.