The role of electron cyclotron resonance heating (ECRH) on the toroidal rotation velocity profile has been investigated in the JT-60U tokamak device by separating the effects of the change in momentum transport, the intrinsic rotation by pressure gradient, and the intrinsic rotation by ECRH. It is found that ECRH increases the toroidal momentum diffusivity and the convection velocity. It is also found that ECRH drives the codirection (co) intrinsic rotation inside the EC deposition radius and the counterdirection (ctr) intrinsic rotation outside the EC deposition radius. This ctr rotation starts from the EC deposition radius and propagates to the edge region.