Based on the theory of electromagnetic compatibility design, this paper discusses the electromagnetic compatibility design method of railway signal equipment from four aspects such as structure design, cable design, assembly design and grounding design, and puts forward the design improvement method based on actual test cases, so as to improve the electromagnetic compatibility performance of railway signal equipment.