Anaerobic and membrane technologies are a promising combination to decrease the energy consumption associated with wastewater treatment, allowing the recovery of resources: organic matter as biomethane, nutrient assimilation by microalgae and reclaimed water. In this study, domestic wastewater was treated using a combination of an upflow anaerobic sludge blanket sludge reactor (UASB) and a membrane photobioreactor (MPBR). The outdoor facilities were operated continuously for three months under unfavourable environmental conditions such as lack of temperature control, winter season with lower solar irradiation and lower daylight hours which was a challenge for the present work, not previously described. The energetic valorisation of the organic matter present in the wastewater by biomethane produced in the UASB would contribute to reducing overall facilities’ energy requirements. The ultrafiltration (UF) membrane facilitated the harvesting of biomass, operating at 10 L·h−1·m−2 during the experimental period. Although the main contribution to fouling was irreversible, chemical cleanings were not necessary due to effective fouling control, which prevented the final TMP from exceeding 25 kPa. In addition, microalgae-bacterial consortium developed without prior inoculation were harvested from the MPBR using membrane assistance. The obtained biomass was also successfully tested as a biostimulant for corn germination/growth, as well as a biopesticide against Rhizoctonia solani and Fusarium oxysporum.Graphical abstract