This paper presents a novel method for fabrication of a microwave filter based on a magnetic photonic band gap material. To achieve this purpose, the nickel nanowires are prepared using an electrodeposition method in anodic alumina template and, then, they are dispersed and aligned in polydimethylsiloxane matrix. Subsequently, polydimethylsiloxane is cured with and without nanowires and has been cut with a surgical blade in same dimensions, eventually, bonded together for the formation of magnetic photonic band gap structure with plasma bonding technique. The frequency response of the filter has been measured using a vector network analyzer in a frequency range from 1 to 40 GHz. Our results present a good microwave filter response based on these new classes of magnetic photonic band gap structures.