The invention discloses a geothermal heat exchanger capable of improving the heat transfer efficiency for prefab energy balls. A sphere framework is composed of structural ribs and stirrups which are mutually connected. The two or more sets of structural ribs are in a circle shape and form longitude lines of a sphere. The stirrups are in a regular polygon shape and form latitude lines of the sphere. Heat exchange tubes each composed of an inlet section, a spiral tube section and an outlet section are arranged in the sphere framework, and the inlet section, the spiral tube section and the outlet section of each heat exchange tube are connected. The inlet sections are arranged on the inner sides of the stirrups at the top, the spiral tube sections are spirally arranged along the sphere framework, the outlet sections are located in the centers of the stirrups, and the inlet sections and the outlet sections vertically and upwards extend out of the top of the sphere framework by a certain distance. The sphere framework is filled with a backfill material. According to the heat exchanger, the heat exchange tubes are spirally arranged along the spherical surface, the spiral heat exchange tubes are arranged in a staggered mode in the horizontal direction, and thermal interference of adjacent spiral tubes in the vertical direction is weakened, so that the heat transfer capacity of the spiral tubes in the vertical direction is improved, and the heat exchange capacity between the heat exchanger and a soil body is further improved through 360-degree heat exchange between the heat exchanger and the soil body.