A driving device for a washing machine, comprising: a shaft comprising an inner shaft and an outer shaft that surrounds the inner shaft; a motor assembly comprising: a stator, a rotor that surrounds the stator and that is configured to rotate relative to the stator, a modulator that surrounds the rotor, and a magnetic gear rotating body that surrounds the modulator, wherein the modulator is configured to adjust a rotating speed of the magnetic gear rotating body and a torque of the magnetic gear rotating body; a first fixation body that connects the inner shaft to the magnetic gear rotating body; a second fixation body that is configured to fix the modulator to a tub of the washing machine, the second fixation body having a first end connected to the stator and a second end connectable to the tub; and an electronic clutch that is configured to, according to an operation mode of the washing machine, disconnect the outer shaft from the rotor or connect the inner shaft to the rotor, wherein the first fixation body has a first end fixed to the magnetic gear rotating body and a second end fixed to the inner shaft, wherein a distal end of the inner shaft is connectable to a pulsator of the washing machine, and the outer shaft is connectable to the tub, wherein the second fixation body comprises: a stator fixer that is connected and fixed to the stator; and a modulator fixer that extends from the stator fixer and that is configured to fix the modulator to the tub, wherein the modulator fixer extends from the stator fixer toward the tub and is inserted between the rotor and the magnetic gear rotating body, wherein the modulator fixer further includes a supporter that protrudes from a distal end of the modulator fixer to the tub. a shaft comprising an inner shaft and an outer shaft that surrounds the inner shaft; a motor assembly comprising: a stator, a rotor that surrounds the stator and that is configured to rotate relative to the stator, a modulator that surrounds the rotor, and a magnetic gear rotating body that surrounds the modulator, wherein the modulator is configured to adjust a rotating speed of the magnetic gear rotating body and a torque of the magnetic gear rotating body; a first fixation body that connects the inner shaft to the magnetic gear rotating body; a second fixation body that is configured to fix the modulator to a tub of the washing machine, the second fixation body having a first end connected to the stator and a second end connectable to the tub; and an electronic clutch that is configured to, according to an operation mode of the washing machine, disconnect the outer shaft from the rotor or connect the inner shaft to the rotor, wherein the first fixation body has a first end fixed to the magnetic gear rotating body and a second end fixed to the inner shaft, wherein a distal end of the inner shaft is connectable to a pulsator of the washing machine, and the outer shaft is connectable to the tub, wherein the second fixation body comprises: a stator fixer that is connected and fixed to the stator; and a modulator fixer that extends from the stator fixer and that is configured to fix the modulator to the tub, wherein the modulator fixer extends from the stator fixer toward the tub and is inserted between the rotor and the magnetic gear rotating body, wherein the modulator fixer further includes a supporter that protrudes from a distal end of the modulator fixer to the tub. a stator, a rotor that surrounds the stator and that is configured to rotate relative to the stator, a modulator that surrounds the rotor, and a magnetic gear rotating body that surrounds the modulator, wherein the modulator is configured to adjust a rotating speed of the magnetic gear rotating body and a torque of the magnetic gear rotating body; a first fixation body that connects the inner shaft to the magnetic gear rotating body; a second fixation body that is configured to fix the modulator to a tub of the washing machine, the second fixation body having a first end connected to the stator and a second end connectable to the tub; and an electronic clutch that is configured to, according to an operation mode of the washing machine, disconnect the outer shaft from the rotor or connect the inner shaft to the rotor, wherein the first fixation body has a first end fixed to the magnetic gear rotating body and a second end fixed to the inner shaft, wherein a distal end of the inner shaft is connectable to a pulsator of the washing machine, and the outer shaft is connectable to the tub, wherein the second fixation body comprises: a stator fixer that is connected and fixed to the stator; and a modulator fixer that extends from the stator fixer and that is configured to fix the modulator to the tub, wherein the modulator fixer extends from the stator fixer toward the tub and is inserted between the rotor and the magnetic gear rotating body, wherein the modulator fixer further includes a supporter that protrudes from a distal end of the modulator fixer to the tub. a stator fixer that is connected and fixed to the stator; and a modulator fixer that extends from the stator fixer and that is configured to fix the modulator to the tub, wherein the modulator fixer extends from the stator fixer toward the tub and is inserted between the rotor and the magnetic gear rotating body, wherein the modulator fixer further includes a supporter that protrudes from a distal end of the modulator fixer to the tub.