October DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsSlow PC?RecommendedPC slow today? Run a repair scan before it gets worseResolve common Windows issues and optimize system performance.Scan NowOctober DealsAmazon USDeal season is back - check today's better picksAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
VGSources
Blog

How to Enchant in Minecraft Using Commands

Hold the item you want to enchant and run /enchant with a player target, enchantment identifier, and optional level. Syntax and limits vary by edition.
WorldMinecraft Using Commands Length2 min Posted Quest giverVGSources Team
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Hold the item you want to enchant in your selected hotbar slot, then run /enchant <player> <enchantmentName> [level]. The command affects the selected item of the targeted player. In Bedrock Edition, for example, /enchant @p sharpness 5 targets the nearest player and requests Sharpness V. Cheats must be enabled in Bedrock.

How to use the command in Bedrock Edition

  1. Enable cheats in the world and make sure you have permission to run commands. Bedrock’s official command reference lists cheats as required and the permission level as Game Directors.
  2. Put the item you want to enchant in your selected hotbar slot.
  3. Open the chat or command interface for your platform.
  4. Enter /enchant <player> <enchantmentName> [level]. Replace the placeholders with a player name or target selector, an enchantment identifier, and—if needed—a level.
  5. For example, /enchant @p sharpness 5 targets the nearest player and requests Sharpness at level 5. The accepted level depends on the enchantment and game rules.

Microsoft’s Bedrock stable /enchant reference describes the command as adding an enchantment to a player’s selected item. It documents both a named enchantment argument and an integer ID form: /enchant <player: target> <enchantmentName: enchant> [level: int] or /enchant <player: target> <enchantmentId: int> [level: int].

Java and Bedrock syntax are not interchangeable

The syntax above is documented for Bedrock Edition; check the command suggestions in your own game if the identifier or level is rejected. Java Edition uses registered resource-location identifiers for enchantments, according to the available Minecraft Wiki /enchant reference. That reference also describes Java’s /enchant command as enforcing maximum levels and item compatibility. Those details can vary by game version, so verify them against a reference for the release you are playing.

Do not assume /enchant can put any enchantment on any item or ignore normal level limits. The cited Java reference describes compatibility and maximum-level checks; the Bedrock command reference documents an enchantment argument rather than an unrestricted item-editing command.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
#1 Best Overall
Minecraft | 1720 Minecoins Pack | Digital Code
  • Minecoins let you buy Minecraft content you can enjoy on your Android, iOS, Windows 10, Xbox One and Nintendo Switch devices*
  • Visit the in-game Minecraft marketplace, where you'll discover a constantly updating library of exciting new Minecraft content - from a community whose imagination knows no limits.
  • Once you've redeemed your Minecoins, they'll be linked with your Xbox Live account, so you can access your coins and purchases through all of your supported devices that run Minecraft.
  • Minecoins are a perfect gift for Minecraft players!

Fix common command errors

  • Unknown or invalid enchantment: Check the identifier format for your edition and version. Bedrock accepts a documented name or integer ID; Java uses registered resource locations.
  • The wrong item changes, or nothing happens: Check that the selector targets the intended player and that player has the desired item in their selected slot.
  • The command is unavailable: In Bedrock, enable cheats and confirm that your permission level allows commands.
  • Invalid level or incompatible item: Check the enchantment’s allowed maximum and whether it applies to the item. The Java /enchant command enforces these normal restrictions according to the cited reference.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Finding a valid enchantment identifier

The Bedrock command page documents the argument formats but does not provide a complete current list of enchantment names and levels. Use the in-game command suggestions for your edition and version, or consult a version-matched reference. Minecraft Help’s All Enchantments in Minecraft page is another place to check, though its current contents may not be available in every context.

Quick Recap

Bestseller No. 1
Minecraft | 1720 Minecoins Pack | Digital Code
Minecraft | 1720 Minecoins Pack | Digital Code
Minecoins are a perfect gift for Minecraft players!
$9.99
Rank #4
Minecraft | Standard Edition | XBOX Digital Code
  • CREATE YOUR WORLD — Build whatever you imagine in an infinite world that is unique in every playthrough.
  • EXPLORE AND CRAFT — Discover biomes, resources, and mobs, then craft your way through a sandbox world full of surprises.
  • SURVIVAL ADVENTURES — Face mysterious foes, travel across varied landscapes, and venture into perilous dimensions.
  • PLAY TOGETHER — Play solo or join friends in local split-screen and cross-platform play across console, mobile, and PC. Online multiplayer supports up to 8 players.
  • COMMUNITY PLAY — Connect with players on community servers, or subscribe to Realms Plus (sold separately) to play with up to 10 friends on a private server.
Rank #3
Minecraft | Java & Bedrock Ultimate Collection | Windows Digital Code
  • ULTIMATE COLLECTION — Includes Minecraft: Java & Bedrock Edition, five Bedrock add-ons, five exclusive Character Creator items, and 1000 Minecoins.
  • CREATE YOUR WORLD — Build whatever you imagine in an infinite world that’s unique in every playthrough.
  • EXPLORE AND CRAFT — Discover biomes, resources, and mobs, then craft your way through a sandbox world filled with surprises.
  • SURVIVE THE ADVENTURE — Face mysterious foes, travel across exciting landscapes, and venture into perilous dimensions.
  • PLAY TOGETHER — Play cross-platform with friends in Bedrock Edition on console, mobile, and PC, or join community servers in Java Edition on PC, Mac, and Linux. Online console multiplayer requires a platform-specific subscription (sold separately).
Rank #2
Minecraft | 8,800 Minecoins Pack | Digital Code
  • 8,800 MINECOINS — Get 8,800 Minecoins to spend on creator-made content in the Minecraft Marketplace.
  • MINECRAFT MARKETPLACE — Browse a constantly updating library of content from Minecraft creators, with new content available every week.
  • CREATOR-MADE CONTENT — Use Minecoins to get Marketplace content such as skin packs, mash-up packs, mini-games, and adventure maps.
  • ACCESS ACROSS DEVICES — Once redeemed and linked to your Microsoft account, your Minecoins and purchases are available on supported devices that run Minecraft, including Android, iOS, Windows, and Xbox.
  • A GIFT FOR PLAYERS — Give Minecraft players Minecoins to spend on content in the in-game Marketplace.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More quests from Patch Notes

  1. How to Turn On Vibrant Visuals in MinecraftMinecraftBlog3min
  2. Best Multiplayer Games for Low-End PCsBlog4min
  3. Minecraft: How To Use And Install OptiFineBlog5min
Recommended PC Tool
Recommended PC Tool
Windows Errors? Fix Them Before They SpreadFree repair scan
Outdated Drivers Are Slowing You DownFree scan - exact matches

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.