/enchant Command in Minecraft Bedrock Edition

Add Enchantments to Selected Player Items

Bedrock EditionItems & InventoryPermission: Game DirectorsCheats: YesJava version →

The /enchant command lets you add an enchantment directly to a player's currently selected item in Minecraft Bedrock Edition. You can pick the enchantment you want by typing its name or by entering its integer ID number.

Players use this command to quickly upgrade held items without finding an enchanting table or books. Since it is a Game Directors level command, you must turn on cheats in your world settings before it will work.

Syntax (2 forms)

  1. /enchant <player: target> <enchantmentName: Enchant> [level: int]

    Enchant player using enum

  2. /enchant <player: target> <enchantmentId: int> [level: int]

    Enchant player using integer ID

Arguments

ArgumentTypeWhat it means
enchantmentIdintAn integer ID number for the enchantment that is applied to the selected item.
enchantmentNameEnchantThe enum name for the specific enchantment that is applied to the selected item.
levelintAn optional integer that sets the strength level of the enchantment.
playertargetA player name string or target selector used to identify who gets the enchantment.

Examples

Tips

Common mistakes

Bedrock vs Java

In Minecraft Java Edition, the equivalent command is /enchant <targets> <enchantment> [<level>], which uses enchantment names rather than the integer ID form available in Bedrock Edition.

See /enchant in Java Edition →

FAQ

Why do I need cheats enabled to use /enchant?

The /enchant command has a Game Directors permission level, which means Minecraft requires cheats to be turned on in the world before anyone can run it.

Can I enchant an item using a number instead of its name?

Yes, Bedrock Edition lets you use an integer ID in the enchantmentId argument instead of typing out the enchantment name.

Do I always have to type the enchantment level at the end?

No, the level argument is optional, so you can leave it out if you only want the basic level applied to the selected item.

Related commands

/clear/give/loot/recipe/replaceitem