Abstract The solar assisted medium-deep geothermal heating (SAMGH) system is a novel kind of heating system that can combine the benefits of geothermal and solar energy. However, the variations in borehole heat exchanger (BHE) performance and the intermittency of solar energy pose challenges for predicting the overall performance of the coupled system and designing the operational strategies. To conduct simulation on the SAMGH system for performance prediction and analysis, a coaxial medium-deep borehole heat exchanger coupled with the solar energy heating system for an office building in Xi’an was developed. The TRNSYS software was employed to establish the model of the coupled system. A ground source heat pump (GSHP) heating system was used for comparison. The simulation results showed that with the introduction of the solar energy and heat storage modules, the annual operating time of the geothermal system only accounts for 32.06%. The energy consumption of the coupled system can be reduced from 63585 kW to 44586 kW, and the energy consumption proportion of the geothermal system in total value decreased from 69.10% to 40.58%. Therefore, the average coefficient of performance (COP) of the heat pump and the system were improved by 63.71% and 91.77%, respectively. Moreover, because the solar energy is beneficial to the ground heat recovery, the average ground temperature increased from 42.5 °C to 43.88 °C after ten years of operation. The proposed design method and simulation results can serve as a reference for design method and performance analysis of the geothermal and solar coupled system.