The invention discloses a hub bearing with a spline structure, which comprises a rotary joint, a flange inner ring, a flange outer ring and a connection inner ring, and a first rolling groove is formed between the flange inner ring and the flange outer ring , a second rolling groove is formed between the inner ring of the connection and the outer ring of the flange, steel balls are arranged in the first rolling groove and the second rolling groove, and a snap-fit groove is formed on the inner ring of the flange, and the connection The inner ring is divided into a first ring body and a second ring body, and a number of guide grooves and guide blocks are arranged between the first ring body and the second ring body. , the first ring body is clamped and arranged in the clamping groove, the first ring body and the second ring body are respectively provided with a first slideway and a second slideway at the positions corresponding to the steel balls, and the second ring body faces outwards from the flange. A shielding platform extends from the ring, and the second ring body extends toward the rotary joint to form a shielding platform. Its structure is reasonable, it has a good sealing effect, and at the same time, it is convenient for oil replenishment and disassembly, and improves the use effect of the overall structure.