ABSTRACT This study developed a nature-based pilot-scale technology for simultaneous piggery WW treatment and resource recovery potential. The technology comprised a two-stage vertical flow constructed wetland (2-VFCW) integrated with a microbial fuel cell (MFC) and microalgal photobioreactor. The first and second stage was an unsaturated and saturated type, respectively. The bioelectricity generation was optimised by investigating the suitable electrode zonation, hydraulic retention time (HRT) and WW loading rate. The 2-VFCW-MFC-treated effluent was studied to grow microalgae for biomass production. The 2-VFCW-MFC showed better treatment efficiency than the 2-VFCW, possibly due to enhanced microbial activity on the electrode surface, leading to improved organic matter degradation and electron transfer to the cathode, enhancing NO3− and PO43− reduction. The 2-VFCW-MFC with electrode zonation of 20 cm (cathode) and 60 cm (anode) and HRT of 76 h, 48 min showed the highest open-circuit voltage of 291.83+13.53 mV and WW treatment efficiency. The highest algal biomass of 21,323.34+8,316.26 mg/L (wet weight) was produced at HRT of 96 h, then entered the death phase. Comparatively, the 2-VFCW-MFC showed higher WW treatment efficiency than 2-VFCW at 2 L/day by 23.24% COD, 27.43% TOC, 33.05% PO43−, 13.51% NO3−, 8.14% TN, except TAN (22.71%).