A bolt and nut for a train track that utilizes the principle of a connector to realize self-locking, including a bolt, a slot, an inner nut, a spring, a block, a self-locking slot, an outer nut, a crooked ring groove, a piston rod, and a top block , spring two, piston rod two, spring three, inclined block, spring four, limit block, spring five and self-locking block. The bolts and nuts used for the self-locking train track using the principle of the connector, through the cooperation of the top block and the self-locking block, the inner nut and the bolt are relatively fixed, so as to achieve the effect of self-locking. Due to the principle of the connector, the self-locking The block moves to the right under the action of spring five, and finally the self-locking block is plugged into the self-locking groove, so that the outer nut and the inner nut are relatively fixed, so as to achieve a relatively fixed effect, making the connection between the inner nut and the bolt more stable and not easy to loose , so that the self-locking effect is more stable, the train operation is safer and more secure, and the workload of maintenance personnel is reduced.