The invention discloses a hub type brake. The hub type brake comprises a casing, a rocker arm, a torsion spring, a left friction sheet, a right friction sheet, a rocker arm shaft and a sliding shaft, wherein the left friction sheet and the right friction sheet are movably arranged on the casing. The rocker arm penetrates into a through hole which is formed in the casing and matched with the rocker arm shaft, a spline ratchet wheel pocking device is arranged at the upper end of the rocker arm shaft, the lower end of the rocker arm shaft is connected with the rocker arm, the rocker arm is connected with the casing through the torsion spring, the left end of a spline nut butts against the rocker arm shaft, a sliding groove matched with the front end of the left friction sheet is formed in the rocker arm shaft, a convex block is arranged on the rocker arm, a limiting block is arranged on the edge of the casing, the limiting block is used for blocking the convex block arranged on the rocker arm, a sliding shaft hole matched with the sliding shaft is formed in a rear fixing base, a left sliding groove matched with the rear end of the left friction sheet is formed in the left end of the sliding shaft, a right sliding groove matched with the rear end of the right friction sheet is formed in the right end of the sliding shaft, and the bottom face of the left sliding groove and the bottom face of the right sliding groove are respectively an arc face.