This paper presents a universal magnetologic gate, the so-called magnetogate (mGate) for the design of energy efficient digital circuits. The mGate employs magnetic tunnel junction (MTJ) cells, which have valuable features such as non-volatility, lower power consumption, and higher integration density compared with transistor-based gates. mGate can be efficiently exploited to the design of different combinational and sequential logic circuits. HSPICE-based simulations have been carried out to verify the correct functionality of different mGate-based circuits. The simulation results reveal that the mGate provides low area, power consumption, and energy while also offering more flexibility as compared with previously proposed MTJ-based designs.