Minecraft Enchant Command Guide

Applies a valid vanilla or modded enchantment to the item currently held in the target player's main hand, respecting survival compatibility and max-level caps.

Syntax Reference

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

Working Magic Examples

/enchant @p minecraft:sharpness 5
/enchant @p minecraft:mending 1
/enchant @s minecraft:looting 3

Technical Notes

Unlike /give, /enchant enforces survival item compatibility and maximum level limits (for example, Sharpness caps at 5). To exceed level caps or bypass conflicts on Java Edition, use /give with the enchantments item component.

Build full commands interactively in our Magic Command Generator or view the full syntax sheet on 9Minecraft Commands.

Related On 9Minecraft

9Minecraft Magic Updates — New magic mods, spells & Bedrock add-ons

Explore 9Minecraft Network →