We study the ballistic edge-channel transport in quantum wires with a magnetic quantum dot, which is formed by two different magnetic fields B * and B0 inside and outside the dot, respectively. We find that the electron states located near the dot and the scattering of edge channels by the dot strongly depend on whether B * is parallel or antiparallel to B0. For parallel fields, two-terminal conductance as a function of channel energy is quantized except for resonances, while, for antiparallel fields, it is not quantized and all channels can be completely reflected in some energy ranges. All these features are attributed to the characteristic magnetic confinements caused by nonuniform fields. [9,10] in the analogy with the conventional edge states [11] in quantum Hall systems, and their effects on magnetoresistance were reported experimentally [4].The electron transport through quantum wires in strong magnetic fields can be well described by edge channels. When a local electrostatic modulation is applied additionally inside the wires, conductances can be still quantized and resonant reflections appear [12,13]. These interesting features can be modified when such a modulation is replaced by a magnetic one such as a magnetic quantum dot (or magnetic antidot) [9,10], which is formed in 2DEG by nonuniform perpendicular magnetic fields; B = B * ẑ within a circular disk with radius r 0 , while B = B 0ẑ outside it. The classical electron trajectories (see Fig. 1) scattered by a magnetic dot with γ [= B * /B 0 ] < 0 are very different from those for γ > 0 and those by an electrostatic dot or antidot, indicating distinct edge-channel scatterings by local magnetic modulations from those by electrostatic ones. The study of such a scattering mechanism is important to understanding the electron transport in magnetic structures and to suggesting future device applications. However, to our knowledge, little attention has been paid to it [7].In this Letter, we study the ballistic transport of conventional edge channels through quantum wires with a magnetic quantum dot. The magnetic edge states near the dot and the two-terminal conductance G(E F ) of the wires in the zero bias limit are found to exhibit distinct features between two cases of γ > 0 and γ < 0, where E F is the Fermi energy. For γ > 0, G(E F ) is quantized and the dot behaves as a transmission barrier and a resonator, when the magnetic length inside the dot is smaller than r 0 . This feature results from the harmonic-potential-like magnetic confinements and is similar to that of electrostatic modulations. On the other hand, for γ < 0, G(E F ) is not quantized when incident channels are scattered by the dot. Moreover, for γ < −1, all incident channels can be completely reflected by the dot in some ranges of E F , resulting in the plateaus of G(E F ) = 0. These interesting features for γ < 0 are due to the double-well and merged-well magnetic confinements caused by the field reversal at the dot boundary. We also propose a calculational method for conductances, based...