How to use the Enchant command in Minecraft

We have developed one of the most useful guides to improve your game in survival mode in Minecraft. With this guide you will learn Minecraft enchantment command, all the secrets and all the IDs behind enchantment commands in Minecraft.

We prepare a list with all the possible enchantments for each object and each version of Minecraft, it is at the end of the article. For now let’s learn how to use the commands.

The first thing you need to know to learn how to enchant in Minecraft is how to activate the chat window. This window is the easiest method to use any enchant command.

How to open chat window in Minecraft?

It can be achieved in different ways according to the version of the game you have and where you are playing it, on which platform. As always, in Talking about Gamers we did the homework for you and got the commands to open the chat window from any device with Minecaft, here it goes:

    • For Java Edition: (PC / Mac): Press T to open the chat.
    • In Pocket Edition (PE): Click the  at the top of the screen.
    • If you are on an Xbox One: press  D-Pad (right) in the control.
    • On PS4: Same, D-Pad (right)  in the control.
    • For Nintendo Switch: Press the right arrow and the Botón para abrir chat de minacraft en nintendo
    • In Windows 10 Edition: the T key will open the chat bar.
    • Also in Education Edition: The letter T.

If you are not yet part of this community, remember to subscribe to our page to receive the best Minecraft guides fresh from the oven. At HD Gamers we create tutorials and how-to guides like this every week. Subscribe!

How to use the enchant command in Minecraft


Let’s start with the basics, the command to enchant armor tools or weapons that you will use as a base is like this:

/ enchant player Enchantment ID enchantment level

This is how the command works:

rther/enchant It is the command to enchant , the one you want to execute in this case.

“Player” In this part you must put to whom the enchantment will be directed . You can put your username, or the following codes: “@p” To target the closest user. “@A” To enchant and affect all players in range.

< Enchantment ID Here is the number that indicates which enchantment you are using (We will leave you a list at the end with all enchantment IDs, depending on items). Enchantments must correspond and be valid for the objects you are applying them to.

“Enchantment level” Finally you can set the enchantment level you want to use. This part of the command is optional , if you don’t put anything on enchantment will be level 1 by default. If you place a 4 the enchantment will be therefore level 4.

* To use any enchantment you must have the object in hand when using the command.


Step 1:

Open the chat box with the diamond sword in hand and write the following enchantment:

/ enchant DigMinecraft knockback 2

You will see what you write at the bottom left of the screen, like so:

Como utilizar el comando encantar en Minecraft

Then you just hit the enter button. This command uses the level two knockback name charm.

When you press enter you should see the weapon glow purple.

If everything went well you will see the message “Enchanting successful” appear in the lower left corner of the game window.

We have enchanted our diamond sword with Knockback II (DigMinecraft, is the username)


/ enchant DigMinecraft < strong> knockback 2

/ enchant: Command to enchant.

DigMinecraft: Username.

Knockback: Charm to use, you can replace it with its ID which would be (19). See table at the end.

2: Enchantment level, remember this is optional.

If you used it with the ID, it would look like this:

/ enchant 19 knockback 2

Enchantment IDs and commands in Minecraft

This is a list we made that you can use to easily enchant any object, whether you want to enchant a sword, enchant a stick, an ax, or even a bow.

Our list of commands is updated to 2020, so we also tell you which commands to use to make enchantments in version 1.14 and in all the versions available so far.

Without further ado, we present you the only definitive guide to enchantments.

Ready! With this you should have learned how to use the enchant command in Minecraft in your favor, regardless of your version or your device. If an enchantment command worked for you leave us a comment Which one did you use? We strive to make everything as clear as possible.

More about Minecraft:

We talk about Gamers