A rail block that is easy to assemble and disassemble, characterized in that it comprises: a rail housing, wherein a groove is arranged on the outer surface of the rail housing, extending along the longitudinal direction of the rail housing, and a magnetic strip is arranged in the groove; a first connecting unit, wherein the first connecting unit is arranged longitudinally at one end of the rail housing, the first connecting unit protrudes from the rail housing, and a locking groove and several first rotary guide blocks are arranged on the circumferential side wall of the first connecting unit, wherein the first rotary guide blocks are arranged successively at a distance from one another in the circumferential direction of the first connecting unit, a separation area is formed between each two adjacent first rotary guide blocks, and a first guide chamfer is arranged on both sides of the first rotary guide blocks in the circumferential direction of the first connecting unit; a second connecting unit, wherein the second connecting unit is arranged longitudinally at the other end of the rail housing, the second connecting unit has a recess, an elastic
detent projection and several second rotary guide blocks are arranged on the inner wall of the recess, the second rotary guide blocks are arranged successively at a distance from one another in the circumferential direction of the recess, and a second guide chamfer is arranged on both sides of the second rotary guide blocks in the circumferential direction of the second connecting unit; When the first connecting unit of one of the two rail blocks is inserted into the recess of the other, the second rotary guide blocks are each located in the corresponding separation areas, and the first guide chamfer of the first rotary guide blocks rests against the corresponding second guide chamfer of the second rotary guide blocks, with the elastic
detent projections each engaging in the corresponding
detent grooves; When the first connecting unit and the second connecting unit are rotated relative to each other, the first guide chamfer and the second guide chamfer slide relative to each other, so that the first connecting unit and the second connecting unit separate from each other and the elastic detent projections are released from the detent grooves.