Jump onto the nearest horse
/ride @s mount @e[type=minecraft:horse,limit=1,sort=nearest]Puts you on the closest Horse without having to click it.

/ride puts an entity on top of another one as a passenger, or makes it dismount. It works for players and mobs alike, so you can build jockeys, seat a player on any mob or stack entities for a map.
/ride <target> (dismount|mount)| Argument | Expects | What it does |
|---|---|---|
| target | Entity selectorone | The single entity that mounts or dismounts, such as @s or @e[type=minecraft:skeleton,limit=1,sort=nearest]. |
| vehicle | Entity selectorone | The single entity to ride, after mount. It cannot be a player or one of the target's passengers. |
/ride @s mount @e[type=minecraft:horse,limit=1,sort=nearest]Puts you on the closest Horse without having to click it.
/ride @e[type=minecraft:skeleton,limit=1,sort=nearest] mount @e[type=minecraft:spider,limit=1,sort=nearest]The nearest skeleton climbs onto the nearest spider.
/ride @s dismountYou leave whatever entity you are riding.
Fill in the fields, then copy the command.
Command generatorPlayers can't be ridden: a player can ride, but cannot be the vehicle.Can't mount entity on itself or any of its passengers.Can't mount entity in different dimension: both entities must be in the same dimension.Riding does not give control: a Pig still needs a Saddle and a Carrot on a Stick to be steered. A Skeleton on a Spider makes a classic jockey. To create the pair in one go, spawn both with /summon.
✓ Checked in Java Edition 26.3 · updated 2 November 2026
No. Players can ride other entities, but the game refuses to use a player as the vehicle.
Only if it can normally be steered. A pig, for example, still needs a saddle and a carrot on a stick.
Type it in the chat with cheats on: /ride <target> (dismount|mount).
Cheats on, or operator level 2.
It is in the official command tree since Java Edition 1.19.4.