In the title compound, C20H29Br2NO8P2S, the pyrrole ring is essentially planar, with a maximum deviation of 0.013 (3) Å for a C atom. The pyrrole ring is almost orthogonal to the sulfonyl-bound phenyl ring, with a dihedral angle 88.5 (2)°. Both P atoms exhibit distorted tetrahedral configurations with O—P—O angles widened and O—P—C angles narrowed from the ideal tetrahedral value. In the crystal, molecules are linked into centrosymmetric dimers via C—H⋯O interactions, resulting in R
2
2(10) graph-set motifs which are further consolidated by R
2
2(13) graph-set ring motifs via C—H⋯O interactions, further resulting in chains of molecules running parallel to the c axis; a phosphono O atom is involved in bifurcated hydrogen bonding. All the ethoxy groups are disordered over two positions each with unequal site-occupancy factors