Homo- or heterodimeric compounds that affect dimeric protein function through interaction between monomeric moieties and protein subunits can serve as valuable sources of potent and selective drug candidates. Here, we screened an in-house dimeric natural product collection, and panepocyclinol A (PecA) emerged as a selective and potent STAT3 inhibitor with profound anti-tumor efficacy. Through cross-linking C712/C718 residues in separate STAT3 monomers with two distinct Michael receptors, PecA inhibits STAT3 DNA binding affinity and transcription activity. Molecular dynamics simulation reveals the key conformation changes of STAT3 dimers upon the di-covalent binding with PecA that abolishes its DNA interactions. Furthermore, PecA exhibits high efficacy against anaplastic large T cell lymphoma in vitro and in vivo, especially those with constitutively activated STAT3 or STAT3Y640F. In summary, our study describes a distinct and effective di-covalent modification for the dimeric compound PecA to disrupt STAT3 function.