Building integrated photovoltaic thermal (BIPV/T)-energy pile ground source heat pump (GSHP) system effectively maintains the soil thermal balance and improves the photovoltaic efficiency by recovering the waste solar heat from the BIPV/T collector to charge the ground. However, due to the strict carbon emission restriction and economic consideration for system application, multi-objective optimization should be implemented for the system design to further enhance its overall performance. Therefore, a complete optimization framework is proposed in this paper, which is based on the NSGA-II algorithm and functions by coupling TRNSYS and jEPlus+EA. Using the proposed optimization frame, a comprehensive optimization is conducted for the system, which optimizes five main design variables and adopts the total power consumption (TPC), life cycle climate performance (LCCP), and life cycle cost (LCC) to reflect the system's energetic, environmental, and economic performances. Seven optimization cases are included in the optimization project to identify design schemes that meet all possible proposed performance requirements for the system application. The optimized results show that the system optimization improves its performance greatly compared to the design condition, with a range of 38.03% ∼ 50.05% for the TPC, 24.52% ∼ 25.86% for LCCP, and 56.74% ∼ 61.66% for LCC. The energetic, environmental and economic performances of the system can be maximized by minimizing the TPC to 357.29 MWh in Case 1, LCCP to 596.15 tCO2 in Case 2, and LCC to 17.03 × 104 CNY in Case 3. By breaking down the objective functions, it is found that the heat pump unit holds paramount importance in all aspects of system performance, and the BIPV/T collector proves advantageous in enhancing the system's long-term performance due to its massive electricity generation. Accordingly, one important finding is that it is advisable to incorporate as many BIPV/T collectors as feasible while maintaining soil heat balance. The optimal energy pile number varies among the seven optimization cases, resulting in different heating capacities for the heat pump unit. Research outcomes in this work offer references for designing the energy-pile GSHP system to enhance the penetration of renewable energy into buildings.