A motor having a structure capable of achieving a reduction in magnetic flux leakage occurring at a rotor and a washing machine, to which the motor is applied. The motor includes a stator including a plurality of stator cores arranged in a circumferential direction, and coils respectively wound around the stator cores, and a rotor rotatably arranged inside the stator. The rotor includes a plurality of rotor cores arranged in a circumferential direction of the rotor, a plurality of magnets each disposed between neighboring ones of the rotor cores such that the magnet extends in an axial direction of the rotor outwardly of upper and lower surfaces of the neighboring rotor cores, and a molded body to support the plurality of rotor cores and the plurality of magnets. The molding body includes a shaft hole, to which a motor shaft is coupled.