Modern namespaced IDs are recommended. This numerical form is only for old Java releases.
/give @p 17 1
Give command syntax by version
Java 1.13+
/give @p minecraft:oak_log 1
Namespaced ID (current format)
Java 1.8–1.12.2
/give @p 17 1 0
Numerical ID + data value
Bedrock Edition
/give @p minecraft:oak_log 1
Same namespaced ID (namespace optional)
Rows appear only when the underlying value is verified: the Java 1.8–1.12.2 row requires a reviewed historical numerical ID, and the Bedrock row appears only when this exact namespaced ID exists in the Bedrock registry.
How to Get Oak Log
Finding Oak Log
Mine Oak Log blocks.
More Ways to Get It
Oak Logs drop from the trunks of oak trees, which grow in forests, plains, swamps, and many other Overworld biomes; the wood also appears in plains villages, swamp huts, mineshafts, shipwrecks, and trial chambers. Break the trunk with any tool or bare hands—an axe is fastest—and every log block drops itself.
Find an oak tree; forests and plains are reliable places to look early in a world.
Chop the trunk with an axe for the fastest harvest, though any tool or bare hands still drops one Oak Log per block.
Replant an oak sapling on dirt or grass to grow a replacement tree and keep the supply renewable.
Oak Log in Minecraft: Farming, Stripping, and Uses
Quick answer: Use minecraft:oak_log in modern Java commands. Oak logs come from oak trees, craft into 4 oak planks each, and can be stripped with an axe or smelted into charcoal.
The most renewable wood in the game
Oak is usually the first tree you punch. Every log crafts into 4 planks, which is the foundation of tools, crafting tables, chests, and boats. Oak leaves also drop apples and saplings, so an oak farm gives you wood and emergency food at the same time.
Replanting is simple: oak leaves drop oak saplings, and a sapling grows into a full tree on its own or instantly with bone meal. Plant oaks with space between them to avoid the annoying branching variants that hide logs inside leaf clusters.
1 oak log → 4 oak planks → sticks, tools, and everything wooden.
Smelt an oak log to get charcoal, the early-game coal substitute.
Oak leaves drop apples — rare, but free.
Stripped logs and building variants
Right-click an oak log with an axe to strip the bark, giving the smooth-sided stripped oak log that builders use for beams and hut walls. Crafting three logs together makes oak wood, a six-sided bark block for log-pile textures.
Logs also smelt into charcoal, power furnaces as fuel, and feed campfires. If you are mass-farming for a big build, a 2×2 spruce or dark oak farm yields more per planting — but for pure convenience, oak remains the fastest tree to clear.
Build With Oak Log
minecraft:oak_log is in the reviewed block catalog. Open a command tool with this ID already selected, then adjust the coordinates in the tool.
Turn the first log into planks, then arrange four planks in a square to unlock 3x3 crafting.
Building and stripping
The bark texture works for log-cabin walls and pillars; use an axe on a placed log to strip it for a smoother brown finish.
Oak Log FAQ
What is the item ID for Oak Log?
The item ID for Oak Log is minecraft:oak_log. Java Edition commands such as /give, /clear, and /setblock use this namespaced ID.
What is the numerical ID for Oak Log?
Oak Log has the historical numerical ID 17, used in Java Edition 1.12.2 and earlier. Current versions use minecraft:oak_log instead.
How do I give myself Oak Log in Minecraft?
Open the chat window and run /give @p minecraft:oak_log 1 to give the nearest player one Oak Log. Replace @p with a player name to target someone else.
How many Oak Log can stack in one slot?
Oak Log stacks up to 64 per inventory slot.
How many planks does one oak log make?
Four oak planks per log, with no tools required — just put the log in any crafting grid.
How do you strip an oak log?
Hold any axe and right-click the log. Stripping is permanent and gives the smooth-barked variant used in building.
Can you turn an oak log into charcoal?
Yes. Smelt any log in a furnace to get charcoal, which works exactly like coal for torches and fuel.
Sources and Data Review
Item facts were reviewed for Java Edition 26.2 on .