Minecraft /enchant command

Java EditionBedrock EditionSince 1.4.2

Quick answer: Enchants the item a player is holding. Syntax: /enchant <target> <enchantment> [level]

/enchant applies an enchantment to the item in the target player's main hand, respecting normal compatibility rules - you cannot add Silk Touch to a Fortune pick or Sharpness to a bow. It works beyond normal levels in Java only if the enchantment allows it.

Syntax

EditionSyntax
Java/enchant <target> <enchantment> [level]
Bedrock/enchant <player: target> <enchantmentName: Enchant> [level: int]

Targets / arguments: players holding an enchantable item. Requires: Cheats enabled / operator level 2.

Examples

/enchant @s minecraft:sharpness 5

Add Sharpness V to the sword in your hand

/enchant @p minecraft:unbreaking 3

Unbreaking III on the held item

/enchant Steve minecraft:mending

Mending on Steve's held item (level defaults to 1)

Tips

Related commands

/give/xp