A sliding unit for a vehicle includes: a rail including a first extension part, a second extension part, and a bending part connecting the first extension part and the second extension part; a movable part slidably disposed on the rail, and including a magnetic part configured to be locked with or unlocked from the rail; a power supply part disposed in the rail, having a shape extending in a lengthwise direction along the rail, and electrically connected to a power source of the vehicle; and a first contact part and a second contact part disposed in the movable part, and electrically connecting the power supply part and the magnetic part when contacting the power supply part.