High-saline wastewater treatment processes have a high energy demand, while microalgae-driven wastewater biotechnology is both economical and environmentally friendly, and the use of microalgae to treat high-saline wastewater can effectively reduce energy consumption. However, it is unclear whether the performance of microalgae reactor can be stable for a long time. In this study, an open continuous-flow biofilm photobioreactor using Dunaliella salina was innovatively constructed, and operated in combination with a membrane bioreactor (MBR) for high-saline wastewater treatment. The purpose of this study was to investigate the long-term performance of MBR, MBPBR alone and their combined operation for the removal of organic matter, phosphorus and nitrogen, explore the pathway and mechanism of nitrogen and phosphorus removal by MBPBR, and evaluate the feasibility of MBPBR-MBR integrated system for the treatment of saline wastewater. The MBR effectively removed most of the organic matter and converted ammonia nitrogen into nitrate nitrogen, which is a preferred nitrogen source for the growth of Dunaliella salina, thereby providing favorable water quality for Dunaliella salina in the subsequent MBPBR. The MBPBR, with a hydraulic retention time (HRT) of 72 h, achieved a NO3--N removal load of 74.9 g N/(m3∙d) and a removal efficiency of approximately 60 %, and the PO43--P removal load of 8.33 g P/(m3∙d) and removal efficiency of over 80 %. The MBR-MBPBR system demonstrated long-term stability, achieving removal efficiencies of 84.3 %, 81.6 %, and 91.0 % for COD, TN and PO43--P, respectively. Within the MBPBR, the growth of algae and their assimilation contributed 44.9 % and 38.7 % of the nitrogen and phosphorus removal, respectively. The abundance of Dunaliella salina in the MBPBR remained at approximately 90 % for over 40 days of operation, providing an opportunity for Dunaliella salina recovery. These findings provide valuable insights into the utilization of microalgae for the treatment of high-salinity wastewater, while also supporting the practical implementation of microalgae-based treatment methods for such wastewater.