Infinity Enchantment Command
Copy the /enchant command for Infinity in Minecraft Java 26.2 and Bedrock 26.32. All levels and a pre-enchanted /give variant are shown below.
/enchant command — all levels
Hold a compatible item before running. /enchant cannot exceed the enchantment's normal max level.
Java
/enchant @p minecraft:infinity 1Bedrock
/enchant @p infinity 1/give equivalent — Bow with Infinity
Java
/give @p minecraft:bow[enchantments={infinity:1}] 1Uses the 1.21.5+ flat component syntax. For Bedrock, give the item first then use /enchant @p infinity 1 while holding it.
Works on
Items listed here are covered by the site's give pages. Some additional items (hoes, turtle helmet, etc.) also accept this enchantment but are not listed.
What Infinity does
Prevents arrows from being consumed when shooting. You need only one arrow in your inventory. Mutually exclusive with Mending.
Frequently asked questions
- How do I get Infinity in Minecraft?
- Hold a compatible item and run /enchant @p minecraft:infinity 1 (Java) or /enchant @p infinity 1 (Bedrock). Alternatively, use the /give command above to spawn a pre-enchanted item directly into your inventory.
- What is the max level of Infinity?
- Infinity only has one level — it's either present on an item or it isn't.
- Does the Infinity command work in Bedrock Edition?
- Yes. On Bedrock use /enchant @p infinity 1 while holding a compatible item. Bedrock omits the "minecraft:" namespace prefix.