The invention provides an on-board electronic cabinet applied to the technical field of aviation electronic products. A front panel (1), a rear cover plate (2), an upper cover plate (3), a base plate (4), a left side plate (5) and a right side plate (6) of the on-board electronic cabinet form a hollow square frame structure. The inner surfaces of the front panel (1), the rear cover plate (2), the upper cover plate (3), the base plate (4), the left side plate (5) and the right side plate (6) are respectively provided with an oxidation layer (7) which is formed through conductive oxidation treatment. The outer surfaces of the front panel (1), the rear cover plate (2), the upper cover plate (3), the base plate (4), the left side plate (5) and the right side plate (6) are respectively coated with an enamel paint layer (8). According to the on-board electronic cabinet, the structure is simple, the electromagnetic compatibility is guaranteed, the resistance to electromagnetic interference is improved, the heat dissipation effect is improved, it is guaranteed that the on-board electronic cabinet can be operated under severe flight conditions, and work reliability and the adaptability of the on-board electronic cabinet and an airplane where the on-board electronic cabinet is carried are improved.