Minecraft pig farm

This build is in Java edition 1.21.8.

These are the instructions for a Minecraft pig farm. This is a very simple build for a pig farm. This makes this an ideal early build to get food in Minecraft especially when you are still trying to find resources like iron. The player will have to completely control this farm with feeding, breeding and killing.

Pigs can be used for the following things:

  1. Food source – pork is an ideal food source.
  2. Breeding – pork can be used to breed and heal wolves.
  3. Growth – pork can be used to speed up wolf puppy growth.
  4. Trading – can be traded with butchers.

Pork is mainly gained from pigs in Minecraft. However it can sometimes found in either a generic chest or a hoglin stable chest in a Bastian Remnant in the Nether.


These are the ingredients and recipes that you will need to make this Minecraft pig farm. Please ensure that you have all of the ingredients before you start your build.

ItemPictureAmount
FenceHow to craft a fence23
GateHow to craft a gate1
CarrotCarrotStack

Here we will explain in detail how to build a Minecraft pig farm. Please follow the instructions carefully.

  1. First lets build an enclosure using the fences. Please ensure that you leave a gap for the gate. This enclosure can be as big or as small as you like depending on how many pigs you would like to keep or breed.
  1. Next you will need to add the gate so you can get into and out of the enclosure.
  1. Now lets get some pigs into the enclosure.
  2. You will need to use the carrots to lure the pigs into your enclosure. If you hold the carrot in your hand the pigs will follow you.
  1. After feeding the pigs carrots (potatoes and beetroot will also work) they will start to breed. The hearts above the pigs mean that they are breeding and then a baby pig will appear.

Additions to the build –

  • A nice addition to this build is to place a carpet tile on top of a fence post. This will enable you to jump in and out of the pen without opening the gate. This can stop the pigs getting out and mobs getting in.