Skip to content
Minecraft

How to make a cake in Minecraft

Published on 3 October 2026

To make a cake in Minecraft, put three milk buckets, two sugar, one egg and three wheat on a crafting table. Place it down to eat it in seven slices, and add a candle and some flint and steel for a birthday cake.

We’re called CakeHosting, so we know this recipe by heart. Checked against Java 26.3 and Bedrock 26.52.

What is the cake recipe in Minecraft?

The cake recipe on a crafting table, row by row
RowLeftMiddleRight
TopMilk bucketMilk bucketMilk bucket
MiddleSugarEggSugar
BottomWheatWheatWheat
  1. Gather the ingredients. Where to find them is below.
  2. Open a crafting table. The recipe doesn’t fit in the small grid in your inventory.
  3. Lay everything out as in the table and take your cake.
  4. Keep your buckets. In Java the three empty buckets stay in the grid; in Bedrock they go to your inventory.

Any egg works, including the blue and brown eggs from chickens in cold and warm places. That’s been the case since Java 1.21.5 and Bedrock 1.21.70.

Where do you get milk, sugar, an egg and wheat?

  • Milk: craft a bucket from three iron ingots and use it on a cow, mooshroom or goat.
  • Sugar: from sugar cane, which grows next to water. One sugar cane gives one sugar, and a honey bottle gives three.
  • Egg: chickens lay one every five to ten minutes, no feeding needed.
  • Wheat: break grass for wheat seeds, plant them on farmland close to water and harvest when the crop turns golden brown. A hay bale also crafts back into nine wheat.

Not in the mood to bake? An Expert-level farmer villager sells cakes for emeralds. Getting villagers that far is covered in how to breed villagers in Minecraft.

How do you eat a cake?

You can’t eat cake from your hand. Place it on a block and use it: each bite removes one of its seven slices. Every slice fills one drumstick on your hunger bar, so the whole cake gives seven. It doesn’t keep you full for long, though, because cake has very little saturation.

  • Several players can eat from the same cake at once, which is perfect for a party.
  • Once it’s placed, you can’t pick it back up, not even with Silk Touch.
  • In Java a cake takes up a whole slot. In Bedrock you can stack 64.
  • A redstone comparator next to a full cake gives signal strength 14, and every missing slice takes off 2.

How do you put candles on a cake?

A candle is crafted from string with a honeycomb under it. Add a dye to give it one of sixteen colors.

  1. Place a whole cake. A candle won’t go on a cake that’s already been eaten from.
  2. Use the candle on the cake. One candle fits, and the game calls the result a cake with candle.
  3. Light it with flint and steel, a fire charge or a burning arrow. A lit candle gives off a little light.
  4. Blow it out by using the candle itself.

As soon as someone eats a slice, the candle pops off. The singing is up to you.

Cake ideas for your server

  • Birthday at spawn: place a cake with a lit candle at spawn. Everyone can grab a slice at the same time.
  • Cake alarm: put a redstone comparator next to the cake and a lamp further down the line. The less cake there is, the weaker the signal, and when it’s gone the lamp switches off.
  • Animals: pandas pick up a cake and eat it, foxes just carry it around. Read why in what foxes eat in Minecraft.

Need a cake right now for a party in your world? With commands on, /give @s minecraft:cake hands you one instantly. More shortcuts like that are in our list of useful Minecraft commands.

Looking for a real Minecraft cake for a kid’s birthday? We’ll leave that one to your local bakery. If you’d like your child to keep playing safely with their friends after the party, read how to set up a Minecraft server for your kids.

Pixel cake from the CakeHosting plan called Cake

Our plans are named after baked goods too, from Cookie all the way up to ExaCake. A bigger cake means more memory for your server.

Throwing a party on your own server? With your own Minecraft server the cake is ready for everyone, even if the birthday kid logs in late. See the Minecraft plans.

Frequently asked questions

What do you need to make a cake in Minecraft?

Three milk buckets, two sugar, one egg and three wheat, on a crafting table. Milk goes in the top row, sugar, egg and sugar in the middle and wheat at the bottom.

How many slices does a Minecraft cake have?

Seven. Each slice fills one drumstick on your hunger bar, and several players can eat from the same cake at the same time.

How do you put a candle on a cake in Minecraft?

Use a candle on a whole cake that nobody has eaten from yet, then light it with flint and steel. Only one candle fits on a cake.

Can you pick up a cake in Minecraft?

No. Once a cake is placed you can’t get it back, not even with Silk Touch, so put it somewhere everyone can reach.

Can you use a blue or brown egg for cake?

Yes. Since Java 1.21.5 and Bedrock 1.21.70 the recipe accepts any kind of egg.

More questions? See all frequently asked questions

Related articles