Generally, the surface wave of an antenna can be suppressed by integrating the electromagnetic band‐gap (EBG) structures. However, to achieve this effect, the EBG cells must be reasonably designed, otherwise it may lead to performance degradation instead. In this article, a dual‐band pinwheel‐shaped slot EBG structure is proposed. When applied to a patch antenna, defects are introduced into 3 rows of the EBG unit cells. The proposed antenna, incorporating EBGs designed with structural defects, to radiate at 4.9 and 5.4 GHz is simulated and tested. The measured results show that the −10‐dB bandwidth of the proposed EBG antenna is extended by 41% and 25.4% at low frequency and high frequency, respectively. In addition, the peak gain of the proposed EBG antenna is increased by 2.44 dB at 4.9 GHz and 2.86 dB at 5.4 GHz with >40% efficiency. When compared with the periodic EBG antenna, this antenna is more effective. Thus, these experimental results show that the performance of the EBG antenna can be improved by interrupting the periodicity of the EBGs structures.