The invention discloses a data-driven design method integrating an active interlayer microstrip antenna structure and electromagnetism and an antenna, and solves the problem that the prior art can not realize the integrated design of the structure and electromagnetism. The method comprises the following steps: firstly, fixing the material, size, panel and cellular size of a radio frequency function layer according to electrical property indexes, secondly, obtaining front deformation data and stress data of the antenna structure through mechanical analysis, thirdly, preprocessing the front deformation data, so as to obtain the position error of each radiating element, fourthly, calculating a far-field pattern of an interlayer microstrip antenna according to a data-driven coupling model, fifthly, calculating and considering the wave-transparent performance influenced by the panel and cellular, sixthly, establishing an optimization design model integrating the interlayer microstrip antenna structure and electromagnetism, and seventhly, solving the optimization design model, so as to obtain an optimal integrating result. The method can realize the simultaneous optimal design of the active interlayer microstrip antenna structure and electromagnetism, shortens the development period, and improves force-electricity properties of products.