Abstract-Magic tee is a widely used component in microwave systems; the four arms of a conventional magic tee direct at four different directions, which occupy much space and give inconveniences to the assemblage of a system. In this paper, a waveguide narrow-wall slot directional coupler and an E-plane dielectric loaded waveguide phase shifter are used to make up of a magic tee with four arms in the same H-plane. The narrow-wall slot directional coupler is analyzed with mode matching method and optimized with simulated annealing method, and the dielectric loaded waveguide phase shifter is designed with edge based finite element method. Numerical results of the magic tee are presented, which show that the performance of the designed magic tee is good.