Can You Legally Keep a Pig in Your Backyard?
12 September 2026
This is a genuinely high-consequence question, so this guide is built differently from our other pig guides: every claim below links to the government source behind it, broken down by country and region rather than generalised. If a claim here isn't linked, treat it as general context, not a legal fact to rely on.
The short version: it depends entirely on where you live. In some places, keeping even one pet pig makes you a legal “pig keeper” with real registration duties — not optional paperwork for farms only. In others there's no national system at all, and it's a local zoning and state question throughout. The sections below cover each.
England
Per DEFRA and APHA's own guidance, “Keeping a pet pig or ‘micropig’” , anyone who keeps a pig — including one pet “micropig” — is legally a pig keeper and must follow the same traceability rules as a commercial farm. Before getting a pig, you need:
- A county parish holding (CPH) number from the Rural Payments Agency for the land where the pig will live.
- Registration as a pig keeper with APHA, which gives you a herd mark to identify the pig before it ever moves.
- A walking licence from APHA if you plan to walk your pig anywhere outside your own premises — renewed annually, with an approved route that avoids livestock markets, pig farms, and fast food restaurants specifically.
- Movement reporting via the electronic animal movement licensing service (eAML2), and a holding register with an annual inventory.
None of this is about herd size — it applies from pig number one. It's also separate from local planning permission, covered below.
Scotland
Scotland runs its own legal regime, the Pigs (Records, Identification and Movement) (Scotland) Order 2011, implementing the same EU-derived traceability principle as England but through different bodies. Per the Scottish Government's pig identification and registration guidance, keepers must register their pigs and holding with their local Rural Payments and Inspections Directorate (RPID) office within 30 days of first keeping them, and follow the same holding-register and movement-reporting duties as England's system, under Scotland's own Order rather than APHA's.
Wales
Wales has its own guidance too, administered separately from England and Scotland. Per the Welsh Government's pig identification and movement guidance, the identification and movement rules explicitly “apply to commercial herds and pet pigs” alike — there's no pet-pig exemption built into the Welsh system any more than there is in England's.
Northern Ireland
Northern Ireland's animal health and welfare rules, including pig keeping, sit with the Department of Agriculture, Environment and Rural Affairs (DAERA), a separate authority from APHA, RPID or the Welsh Government. We haven't identified a single pet-pig-specific guidance page as clean as England's, so start at DAERA's Animal Health, Welfare and Trade section — a general department landing page, not a specific procedure — and confirm the exact registration process directly with DAERA before getting a pig, rather than assuming it mirrors GB.
United States: there is no national answer
Unlike the UK, the US has no single federal registration system a backyard pig keeper needs to go through. Three separate layers apply, and none of them is a one-time national check:
- Local zoning (county or city) decides whether you can keep a pig on your land at all, and this is where most backyard keepers actually get tripped up — it varies block by block, not state by state.
- State department of agriculture rules on animal health, movement and premises identification vary by state.
- USDA APHIS handles federal-level animal disease control and interstate movement rules, which can apply even when local zoning already permits keeping a pig.
There is no shortcut here: contact your specific county or city zoning office directly and ask about pigs by name, not “livestock” in general.
Beyond registration: local planning still applies separately
Registering as a keeper (UK) or complying with state/federal animal-health rules (US) doesn't grant permission to actually build and keep a pig on your land — that's a separate, local check in every country:
- Planning permission or zoning — residential land often needs a specific exception or minimum plot size before livestock is allowed at all.
- Noise and odour ordinances — general nuisance rules that apply regardless of what animal is generating them.
- Setback rules — a minimum distance your housing must be from your property boundary or a neighbouring dwelling.
- Homeowners' association (HOA) or restrictive-covenant rules — a private restriction on your property's deed that can be stricter than what your local authority actually permits.
Once you've confirmed both the registration duty and the local planning question, the next practical step is working out how much space you'll actually need.
Common questions
- Do I need to register a single pet pig in the UK?
- Yes, in every UK nation, even for one pig kept purely as a pet. You're legally a pig keeper the moment you have one, with the same traceability duties as a farmer — a holding number, registration with the relevant authority, and a movement/holding record. This isn't a grey area or a small-numbers exemption.
- Do I need a licence just to walk my pet pig?
- In England, yes — a specific APHA walking licence, renewed annually, with an approved route that avoids livestock markets, pig farms and (unusually) fast food restaurants. Check the equivalent requirement for Scotland, Wales or Northern Ireland directly, since procedures differ by nation.
- Is there a US equivalent to the UK's pig registration system?
- Not a single national one. Whether you can keep a pig at all is a local zoning question (county or city), while animal-health rules (like interstate movement) sit with your state department of agriculture and USDA APHIS — three separate layers, none of which is a single call you can make once nationally.
- Does registering as a keeper mean I'm allowed to build a pig enclosure on my land?
- No — they're separate questions. Registering as a keeper is an animal-health/traceability duty and doesn't grant planning permission. Your local planning authority (UK) or zoning department (US) is a separate check, and both apply independently.
Sources checked: September 2026.
Work out the exact figure for your pigs
Enter your group size to get a straight answer, sourced from your region's standards.
Want to see what keeping pigs is actually like?
Try My Backyard — a simple interactive simulation. Adopt one, feed it, play with it, keep its bedding clean, and see how it gets on.
Play My Backyard →