The invention discloses a sliding block mechanism of a die-casting die. According to the technical scheme, the sliding block mechanism comprises a sliding block, an inclined guide column, limiting blocks and pressing strips; an inclined hole is formed in the sliding block, the inclined guide column penetrates through the inclined hole, and the sliding block is connected between the pressing stripsin a sliding mode; the limiting blocks are arranged between the pressing strips, a spring is arranged between the limiting blocks and the sliding block, and bead shifting mechanisms are arranged on the pressing strips; the bead shifting mechanisms comprise bead sleeves, shifting beads and pressure springs, and the shifting beads and the pressure springs are arranged in the bead sleeves correspondingly; the shifting beads are connected with one ends of the pressure springs, the bead sleeves are arranged on the pressing strips, and bead holes are formed in the two sides of the sliding block; and the bead holes correspond to the shifting beads. When the die is opened, the sliding block is pulled by the spring, so that the sliding block is fixed so as to prevent the condition that due to thefact that the spring loses effect when the die is closed, the sliding block moves to cause the die to be damaged, and in the process that the sliding block moves outwards, the bead shifting mechanismis used for carrying out the limitation, so that the safety coefficient of the sliding block during die closing is improved.