The invention discloses a switchgear door interlocking mechanism which comprises a front isolation board, a grounding operation shaft which rotates relative to the front isolation board, a first interlocking device having a locking state and an unlocking state, a second interlocking device movably arranged on the front isolation board, and a limiting plate arranged on the grounding operation shaft, when the grounding switch opens, the limiting plate abuts against the second interlocking device to limit the first interlocking device to the locking state, and when the grounding switch closes, the second interlocking device moves upward to allow the first interlocking device to be in an unlocking state. The switchgear comprises the switchgear door interlocking mechanism. Rotation of the grounding operation shaft drives the grounding switch to open and close, and the limiting plate also rotates. When the grounding switch opens, the first interlocking device is under the locking state, and the door can not be opened. When the grounding switch closes, the first interlocking device is under the unlocking state, and the door can be opened. The switchgear door interlocking mechanism and the switchgear have the advantages of simple structure, easy processing, assembly and operation, lower cost, reliable interlocking and maintenance convenience.