The synergistic treatment of oily wastewater containing organic hazards and emulsified oils remains a big challenge for membrane separation technology. Herein, the photocatalytic membrane, which combined the physical barrier and catalytic oxidation-driven degradation functionality, was fabricated via anchoring a nanoflower-branched CoAl-LDH@ PANI Z-scheme heterojunction onto a porous polyacrylonitrile mat and using tannic acid as an adhesive. The assembly of such a Z-scheme heterojunction offered the superior photocatalytic degradation performance of soluble dyes and tetracycline (up to 94.3%) to the membrane with the improved photocatalytic activity of 2.33 times compared with the CoAl-LDH@pPAN membrane. Quenching experiments suggested that the • O 2 − was the most reactive oxygen species in the catalytic reaction system of the composite membrane. The greatly enhanced photocatalytic activity was attributed to the effective inhibition of photogenerated hole− electron combination using PANI as a carrier, with charge transferring from LDH to PANI. The possible photocatalytic degradation mechanism was proposed based on VB-XPS, electron spin resonance spectroscopy, and DRS technologies, which was confirmed by density functional theory calculation. Meanwhile, benefiting from the superhydrophilic/oleophobic feature and low oil adhesion, the membrane exhibited high permeability for isooctane emulsion (3990.39 L•m −2 •h −1 ), high structure stability, and satisfactory cycling performance. This work provided a strategy to develop superwetting and photocatalytic composite membranes for treating complex multicomponent pollutants in the chemical industry.