The invention discloses a geothermal power generation device with an anti-blocking function. The geothermal power generation device comprises a pipeline body. Connecting sheets are fixedly connected with the left side and the right side of the pipeline body, connecting holes are formed in the tops and the bottoms of two opposite sides of the two connecting sheets, a filter plate is fixedly connected onto the inner wall of the pipeline body, filter holes are equidistantly formed in the surfaces of the filter plate, and the portions, which are positioned on the right side of the filter plate, ofthe top and the bottom of the inner wall of the pipeline body are fixedly connected with each other by a fixing rod. The geothermal power generation device has the advantages that the geothermal power generation device is provided with the filter plate, the filter holes, the fixing rod, connecting springs, a movable plate, first anti-blocking rods, through holes, slide bars, a residue outlet, a hinge, a sealing plate, a sealing ring, a first buckle and a second buckle, and accordingly pipeline blocking can be prevented by the geothermal power generation device; impurities in a pipeline can beeffectively cleared up in actual operation procedures, accordingly, pipeline blocking can be prevented, the maintenance cost can be reduced, and the work efficiency can be improved.