# Pig Fencing Options: Permanent, Portable, and Electric Systems


## Key Takeaways

- Permanent fencing, typically woven wire or hog panel (36-48 inches high), offers high durability for long-term confinement and perimeter security but incurs significant initial installation costs and lacks relocation flexibility.
- Portable fencing systems, such as polywire or netting (30-36 inches high), are cost-effective and adaptable for rotational grazing, but necessitate daily voltage checks and are less robust against large boars.
- Electric fencing, with multiple strands (24-36 inches high), provides flexible containment across all pig stages when pigs are properly trained, but requires a consistent power source and diligent maintenance to prevent voltage loss from vegetation or poor grounding.
- Biosecurity is significantly enhanced by robust fencing, particularly in regions with wild boar populations, where a minimum 4-foot height with ground anchoring is crucial to prevent disease transmission, such as African Swine Fever (ASF) and Classical Swine Fever (CSF).
- Fence design must prioritize pig welfare by avoiding sharp edges and entrapment hazards, while worker safety is paramount, necessitating training for electric fence handling and the avoidance of barbed wire.
- Common failure patterns include rooting under fences, which can be mitigated by buried aprons or low-lying electric wires, and voltage loss in electric fences, primarily due to vegetation contact and inadequate grounding.

---

Selecting the right fencing for pigs requires matching the system to pig size, production stage, and management goals. Permanent fencing suits long-term confinement or perimeter boundaries. Portable fencing supports rotational grazing on pasture. Electric fencing provides flexible containment for groups of pigs when properly designed and maintained. Each option has specific construction requirements, cost profiles, and limitations that affect pig welfare, worker safety, and biosecurity. This article compares permanent, portable, and electric fencing systems for pig farmers, covering practical decisions for both indoor pens and outdoor pastures.

## At a Glance

| Fencing Type | Best For | Typical Height | Key Strength | Primary Limitation | Relative Cost |
|---|---|---|---|---|---|
| Permanent woven wire or hog panel | Long-term confinement, perimeter boundaries, breeding stock | 36-48 inches | High durability, low daily maintenance | High initial installation cost, difficult to relocate | High |
| Portable polywire or netting | Rotational grazing, wean-to-finish on pasture | 30-36 inches | Easy to move, supports pasture management | Requires daily voltage checks, less robust against large boars | Low to moderate |
| Electric (permanent or temporary) | All pig stages when properly trained | 24-36 inches (multiple strands) | Effective containment with lower material cost | Requires consistent power source, training period for pigs | Moderate |

## Permanent Fencing Systems

### Construction Materials and Specifications

Permanent fencing for pigs typically uses woven wire mesh, welded wire panels, or heavy-gauge hog panels. The United States Department of Agriculture Agricultural Research Service (ARS) provides general guidance on animal production and protection infrastructure, including fencing considerations for livestock containment (www.ars.usda.gov/animal-production-and-protection). For pigs, the bottom of the fence must contact the ground to prevent rooting underneath. A buried apron of wire extending 12 to 18 inches outward along the base reduces escape risk.

Hog panels with 4-inch by 4-inch openings work for most grower and finisher pigs. For farrowing areas or small piglets, panels with 2-inch by 4-inch openings prevent piglets from squeezing through. Permanent fence posts should be set in concrete or driven deep enough to resist pushing from large breeding animals. Wooden posts treated for ground contact or heavy steel T-posts spaced 8 to 10 feet apart provide adequate support.

### Installation Decisions

Before installing permanent fencing, survey the site for drainage, soil type, and existing vegetation. Wet areas require deeper post setting or alternative drainage measures to prevent fence sagging. Rocky soil may require mechanical post drivers or concrete footings. The fence line should be cleared of brush and debris to allow inspection and maintenance.

Gate placement affects daily workflow. Position gates near feeding areas, water sources, and handling facilities to minimize pig movement distance. Gate width should accommodate equipment such as tractors or feed wagons. A minimum 4-foot gate works for most operations, but 6 to 8 feet is better for machinery access.

### Limitations of Permanent Fencing

Permanent fencing cannot be easily adjusted when pasture rotation or pen reconfiguration is needed. Once installed, the fence location is fixed. This limits flexibility for managing soil health, parasite burdens, or seasonal changes in forage availability. Permanent fencing also requires significant capital investment. Repairs to damaged sections involve cutting and splicing wire or replacing panels, which takes time and materials.

## Portable Fencing Systems

### Types of Portable Fencing

Portable fencing for pigs includes polywire, polytape, and electrified netting. These systems are designed to be moved frequently, supporting rotational grazing and pasture-based production. The ARS notes that pasture-based livestock systems benefit from [precision livestock farming technologies](/knowledge/animal-farming/farm-management/precision-livestock-farming-technologies-a-decision-framework-for-adoption), which can include portable fencing for controlled grazing (www.ars.usda.gov/animal-production-and-protection). Portable fencing allows farmers to allocate fresh paddocks regularly, reducing soil compaction and parasite buildup.

Electrified netting is common for pigs because the vertical strands and horizontal stays create a visible barrier. Netting heights of 30 to 36 inches are typical for grower and finisher pigs. For sows or large boars, taller netting or multiple strands may be needed. Portable netting comes in rolls of 50 to 150 feet and can be connected to create larger enclosures.

### Moving and Setup Procedures

Portable fencing should be moved before pigs damage the existing paddock or escape becomes likely. A typical rotation schedule moves pigs every 7 to 14 days depending on stocking density, forage growth, and weather. The fencing is rolled up, transported to the new paddock, and re-established. Posts on portable netting are pushed into the ground by hand or with a foot stomp. In hard or frozen soil, a rubber mallet or post driver may be needed.

The new paddock should have fresh water access, either through portable water tanks or a mobile watering system. Shade or shelter must be provided in each paddock. For hot climates, portable shade structures or tree cover reduce heat stress. For cold or wet conditions, a dry lying area with bedding is necessary.

### Records for Portable Fencing Management

Keep records of paddock use dates, pig group identification, and any fence damage or escape events. A simple logbook or spreadsheet with the following fields supports management decisions:

- Paddock number or name
- Date pigs entered
- Date pigs moved out
- Number and weight of pigs
- Fence voltage readings (if electric)
- Observations of fence condition
- Any escapes or repairs needed

These records help identify patterns such as repeated escape attempts in certain paddocks, voltage drops during wet weather, or fence damage from rooting.

## Electric Fencing Systems

### Components and Setup

Electric fencing for pigs requires a properly grounded energizer, conductive wire or tape, insulated posts or standoffs, and a grounding rod system. The energizer must be sized for the total fence length and vegetation contact. For pigs, a minimum output of 1 joule per mile of fence is recommended, though specific requirements depend on local conditions and pig behavior.

The Merck Veterinary Manual provides management and nutrition guidance for swine operations, including facility considerations for containment (www.merckvetmanual.com/management-and-nutrition). Electric fencing relies on pigs learning to respect the shock. Training pigs to electric fence before full exposure reduces escape risk. A training pen with visible flagging or tape on the fence helps pigs associate the visual barrier with the shock.

### Voltage and Maintenance Requirements

Electric fence voltage should be checked daily, especially in portable systems. A digital voltmeter gives accurate readings. Minimum effective voltage for pigs is 3,000 volts, though 4,000 to 5,000 volts is more reliable for containment. Vegetation touching the fence reduces voltage. Regular mowing or herbicide application along fence lines prevents voltage loss.

Grounding is critical. A minimum of three 6-foot galvanized ground rods driven into moist soil, spaced 10 feet apart, provides adequate grounding for most systems. In dry or sandy soil, additional ground rods or longer rods may be needed. Poor grounding reduces shock intensity and allows pigs to escape.

### Limitations of Electric Fencing

Electric fencing requires a continuous power source. Battery-powered energizers need regular charging or replacement. Solar panels can maintain batteries in sunny climates but may not provide enough power during extended cloudy periods. Mains-powered energizers are more reliable but limit fence placement to areas with electrical access.

Pigs with thick hair or heavy mud on their coats may not receive a sufficient shock. Wet weather can reduce voltage through vegetation contact. Snow or ice can short out fence wires. Electric fencing is less effective for very small piglets that can slip under the bottom wire or through netting openings.

## Biosecurity and Disease Prevention

### Fencing as a Biosecurity Barrier

Fencing serves as a physical barrier to prevent contact between domestic pigs and wild boar or feral swine. The Animal and Plant Health Inspection Service (APHIS) provides information on swine disease management, including biosecurity measures for preventing disease introduction (www.aphis.usda.gov/livestock-poultry-disease/swine). [African swine fever](/knowledge/bioinformatics/african-swine-fever-computational-models-for-early-detection-and-spread-prediction-in-wild-boar-populations) (ASF) and classical swine fever (CSF) can be transmitted through direct contact between domestic pigs and wild boar.

A study on mammal fence crossing and local fence management in relation to classical swine fever spread in Japan found that fence maintenance and design affect the risk of wild boar crossing into pig facilities (Preventive [veterinary medicine](/blog/careers/veterinary-medicine-careers-from-clinical-practice-to-public-health), 2023, pubmed.ncbi.nlm.nih.gov/37549564). Double fencing or electric outriggers can reduce the likelihood of wild boar approaching pig pens.

Research on predicting suitable areas for African swine fever outbreaks in wild boar in South Korea identified high-risk zones where pig farms should implement enhanced fencing and biosecurity protocols (Animals, 2023, pubmed.ncbi.nlm.nih.gov/37443946). Farms in areas with wild boar activity should prioritize fence integrity and regular inspection.

### Fencing for Outdoor Pig Farms

Outdoor [pig farming](/knowledge/animal-farming/swine/pig-farming-breeding-farrowing-nursery-grow-finish-nutrition-and-biosecurity) presents specific biosecurity challenges. A study on African swine fever and outdoor farming of pigs noted that outdoor systems have higher risk of contact with wild boar and contaminated environments (EFSA journal, 2021, pubmed.ncbi.nlm.nih.gov/34140998). Fencing must be robust enough to exclude wild boar while containing domestic pigs.

A semi-quantitative risk assessment of African swine fever virus introduction in outdoor pig farms identified fence condition and maintenance as factors influencing risk (Pathogens, 2023, doi.org/10.3390/pathogens12050709). Farms with damaged or inadequate fencing had higher risk scores. Regular fence inspection and prompt repair reduce this risk.

Research on risk assessments and risk mitigation to prevent the introduction of African swine fever into the Danish pig population emphasized the importance of physical barriers in preventing disease entry (Animals, 2024, doi.org/10.3390/ani14172491). Fencing is one component of a comprehensive biosecurity plan that includes hygiene protocols, visitor restrictions, and feed storage.

### Wild Boar Exclusion

In regions with wild boar populations, fencing must be designed to exclude these animals. A review of African swine fever in wild boar in Europe noted that wild boar can travel long distances and cross fences if not properly constructed (Viruses, 2021, pubmed.ncbi.nlm.nih.gov/34578300). Fence height of at least 4 feet, with the bottom secured to the ground, reduces wild boar entry.

Research on controlling CSFV in European wild boar using oral vaccination discussed fence management as part of disease control strategies (Frontiers in microbiology, 2015, pubmed.ncbi.nlm.nih.gov/26557109). Fences that are not maintained can become ineffective over time. Regular patrols and repairs are necessary.

A study on bordering through biosecurity examined veterinary fences in the German-Polish borderlands and their role in managing wild boar movement (Die Erde, 2024, doi.org/10.12854/erde-2024-695). The research highlighted that fence effectiveness depends on continuous maintenance and adaptation to local conditions.

## Welfare and Safety Considerations

### Pig Welfare and Fencing Design

Fencing must not cause injury to pigs. Sharp edges, protruding wires, or gaps that trap legs or snouts are unacceptable. Permanent fencing should be inspected for loose wires or broken panels before each group of pigs is placed. Portable netting must be checked for tears or sagging that could entangle pigs.

Electric fencing should be visible to pigs. Adding flagging or tape to the top wire helps pigs see the barrier. Pigs that are not trained to electric fence may run through it, receiving multiple shocks and potentially injuring themselves. Training should be done in a small, secure pen with low voltage initially, then increased to operational levels.

The Merck Veterinary Manual emphasizes that facilities should allow pigs to express normal behaviors while preventing injury (www.merckvetmanual.com/management-and-nutrition). Fencing that is too restrictive can cause stress and aggression. Space allowances and pen shape affect pig movement and social dynamics.

### Worker Safety

Electric fencing poses a shock hazard to workers. Warning signs should be posted on all electric fences. Workers should be trained to turn off or disconnect the energizer before handling fence wires. Insulated gloves and tools reduce risk during repairs.

Permanent fencing with barbed wire is not recommended for pigs. Barbed wire can cause severe lacerations. Smooth wire or woven mesh is safer for both pigs and workers. Gates should open inward or outward depending on the handling system, and latches should be easy to operate with one hand while managing pigs.

### [Food Safety](/knowledge/bacteria/livestock-bacteria/cooking-chicken-bacteria-prevention) Implications

Fencing that allows pigs to access contaminated areas, such as manure lagoons, dead stock piles, or wildlife feeding sites, increases food safety risk. The APHIS provides guidance on biosecurity practices that protect the food supply (www.aphis.usda.gov/livestock-poultry-disease/swine). Pigs should be fenced away from potential contamination sources.

Fence lines near water sources should be managed to prevent pigs from defecating in streams or ponds. Buffer zones of at least 50 feet between pig pens and surface water reduce pathogen runoff. Portable fencing allows farmers to move pigs away from wet areas that could become contaminated.

## Common Failure Patterns

### Rooting Under Fences

Pigs naturally root and dig. Without a bottom wire or apron, pigs can create escape routes under fences. Permanent fences should have the bottom wire buried or secured to the ground. Portable electric netting must be tight to the ground. In soft soil, pigs may root under the netting within hours.

To prevent rooting escapes, run a strand of electric wire 4 to 6 inches above the ground along the inside of permanent fences. This wire discourages pigs from digging near the fence line. For portable systems, move pigs before they begin rooting along the fence perimeter.

### Voltage Loss in Electric Fences

Vegetation contact is the most common cause of voltage loss. Grass, weeds, or brush touching the fence wire drains power to ground. Regular mowing or herbicide application along fence lines maintains voltage. In wet weather, vegetation becomes more conductive, increasing voltage loss.

Poor grounding also reduces fence effectiveness. Ground rods should be checked annually for corrosion or loose connections. In dry conditions, watering the ground rod area can improve conductivity. A voltage reading below 3,000 volts at the far end of the fence indicates a problem that needs investigation.

### Damage from Large Animals

Breeding boars and sows can damage permanent fencing by pushing or rubbing against it. Heavy-gauge panels or reinforced posts are needed for breeding stock. Electric fence outriggers placed 12 to 18 inches inside the permanent fence can deter rubbing.

Portable netting is not suitable for large boars. These animals can push through or break netting posts. For boar pens, use permanent fencing or heavy-duty electric fence with multiple strands and robust posts.

## Records and Measurements

### Fence Inspection Records

A fence inspection log should include the following information for each fence section or paddock:

- Date of inspection
- Inspector name
- Fence type (permanent, portable, electric)
- Voltage reading (if electric)
- Vegetation condition along fence line
- Damage observed (broken wires, loose posts, gaps)
- Repairs made
- Date of next scheduled inspection

Inspect permanent fences at least monthly. Inspect portable electric fences daily when pigs are present. After storms or high winds, inspect all fences for damage.

### Cost Tracking

Track fencing costs by category to inform future investment decisions:

- Materials (wire, posts, energizers, insulators, gates)
- Labor (installation, repairs, moving portable fences)
- Maintenance (mowing, herbicide, replacement parts)
- Electricity or battery costs for energizers

Compare costs per pig or per acre across different fencing systems. This data helps determine which system is most economical for specific production stages.

### Escape Event Records

Record all pig escape events with the following details:

- Date and time
- Number of pigs escaped
- Fence type and condition at escape point
- Voltage reading (if electric)
- Weather conditions
- How pigs were recovered
- Repairs made to prevent recurrence

Patterns in escape events indicate systemic fence problems. For example, repeated escapes from one paddock may indicate a design flaw or maintenance issue.

## Professional Escalation Criteria

### When to Consult a Specialist

Consult a [livestock fencing](/knowledge/animal-farming/alternative-livestock/livestock-fencing-materials-comparison) specialist or agricultural engineer in the following situations:

- Designing a new facility with complex fencing requirements
- Installing fencing in challenging terrain or soil conditions
- Managing repeated escapes despite proper fence maintenance
- Implementing biosecurity fencing for disease control in high-risk areas
- Integrating fencing with automated feeding or watering systems

The ARS provides research-based information on animal production systems that can inform fencing decisions (www.ars.usda.gov/animal-production-and-protection). Extension services at land-grant universities also offer fencing recommendations.

### When to Contact a Veterinarian

Contact a veterinarian if pigs are injured by fencing. Wire cuts, entanglement injuries, or electric shock injuries require prompt treatment. Signs of stress or behavioral changes after fence installation may indicate welfare problems that need professional assessment.

If wild boar or feral swine are observed near pig pens, contact the state veterinarian or APHIS for guidance on disease risk and fence reinforcement. The APHIS provides information on swine disease surveillance and response (www.aphis.usda.gov/livestock-poultry-disease/swine).

### When to Involve Regulatory Authorities

Some jurisdictions have fencing requirements for pig operations, especially near waterways or residential areas. Check local ordinances before installing permanent fencing. If fencing is part of a disease control zone or quarantine area, regulatory authorities may specify fence type and maintenance standards.

Research on risk factors associated with the occurrence of African swine fever in Benin identified farm management practices, including fencing, as factors in disease spread (Tropical Animal Health and Production, 2026, doi.org/10.1007/s11250-026-05158-8). Regulatory authorities may require specific fencing in disease outbreak zones.

## Frequently Asked Questions

### What is the best fence height for pigs?

Fence height depends on pig size and breed. For grower and finisher pigs, 30 to 36 inches is adequate. For sows and boars, 36 to 48 inches is recommended. Larger breeds or more active pigs may need taller fences. Electric fences can be shorter because the shock provides additional deterrence.

### Can I use cattle panels for pigs?

Cattle panels with large openings (6 inches or more) are not suitable for pigs. Piglets and small growers can squeeze through. Hog panels with 4-inch by 4-inch openings or smaller are better. For electric fencing, polywire or netting designed for pigs works well.

### How do I train pigs to electric fence?

Train pigs in a small, secure pen with visible flagging on the electric wire. Use a lower voltage initially, then increase to operational levels. Allow pigs to touch the fence with their snout in a controlled setting. Most pigs learn after one or two shocks. Monitor trained pigs for the first 24 hours in a new paddock.

### How often should I move portable fencing for pigs?

Move portable fencing every 7 to 14 days depending on stocking density, forage growth, and weather. Move sooner if pigs begin rooting heavily along the fence line or if forage is depleted. In wet conditions, move more frequently to prevent soil damage and parasite buildup.

### What voltage is needed for pig electric fencing?

Minimum effective voltage is 3,000 volts. A target of 4,000 to 5,000 volts provides reliable containment. Check voltage daily with a digital voltmeter. Voltage below 3,000 volts indicates a problem such as vegetation contact, poor grounding, or energizer malfunction.

### How do I prevent pigs from rooting under fences?

Install a bottom wire or apron to prevent rooting. For permanent fences, bury the bottom wire or extend a wire apron 12 to 18 inches outward along the ground. For electric fences, run a strand 4 to 6 inches above the ground. Move portable fences before pigs begin rooting along the perimeter.

### Is electric fencing safe for piglets?

Electric fencing can be used for piglets if properly designed. Use netting with small openings or multiple strands spaced closely. Piglets may slip under the bottom wire if the gap is too large. Train piglets to electric fence in a small pen before moving to larger paddocks. Monitor piglets closely for the first few days.

### What fencing is best for biosecurity against wild boar?

Double fencing or electric outriggers provide the best protection against wild boar. Permanent woven wire fence at least 4 feet tall, with the bottom secured to the ground, reduces entry risk. Regular inspection and maintenance are essential. In high-risk areas, consult with APHIS or state veterinary authorities for specific recommendations.

## Related Farming Guides

- [Lentivirus Production](/blog/guides/plaque-assays-planning-controls-and-reporting-viral-titer)
- [Systems Biology](/blog/news/systems-biology)
- [Pig Production Kpis And Herd Benchmarking](/knowledge/animal-farming/swine/pig-production-kpis-and-herd-benchmarking)
- [Swine Genetic Selection And Replacement Planning](/knowledge/animal-farming/swine/swine-genetic-selection-and-replacement-planning)
- [Carp Farming Pond Production Feeding And Harvest Management](/knowledge/animal-farming/aquaculture/carp-farming-pond-production-feeding-and-harvest-management)

## Related Clinical & Scientific Guides

* [Pig Enrichment Programs and Behavior Monitoring](/knowledge/animal-farming/swine/pig-enrichment-programs-and-behavior-monitoring)
* [Swine Handling Facility Design for Safe Pig Movement](/knowledge/animal-farming/swine/swine-handling-facility-design-safe-pig-movement)
* [Swine Feeding Management for Grow-Finish Pigs](/knowledge/animal-farming/swine/swine-feeding-management-for-grow-finish-pigs)


## References and Further Reading

- [www.ars.usda.gov](https://www.ars.usda.gov/animal-production-and-protection)
- [www.aphis.usda.gov](https://www.aphis.usda.gov/livestock-poultry-disease/swine)
- [www.merckvetmanual.com](https://www.merckvetmanual.com/management-and-nutrition)
- [Assessing mammal fence crossing and local fence management in relation to classical swine fever spread in Japan.](https://pubmed.ncbi.nlm.nih.gov/37549564). Preventive veterinary medicine, 2023.
- [Predicting Suitable Areas for African Swine Fever Outbreaks in Wild Boars in South Korea and Their Implications for Managing High-Risk Pig Farms.](https://pubmed.ncbi.nlm.nih.gov/37443946). Animals : an open access journal from MDPI, 2023.
- [African swine fever and outdoor farming of pigs.](https://pubmed.ncbi.nlm.nih.gov/34140998). EFSA journal. European Food Safety Authority, 2021.
- [Review: Precision Livestock Farming technologies in pasture-based livestock systems.](https://pubmed.ncbi.nlm.nih.gov/34953277). Animal : an international journal of animal bioscience, 2022.
- [African Swine Fever in Wild Boar in Europe-A Review.](https://pubmed.ncbi.nlm.nih.gov/34578300). Viruses, 2021.
- [Controlling of CSFV in European wild boar using oral vaccination: a review.](https://pubmed.ncbi.nlm.nih.gov/26557109). Frontiers in microbiology, 2015.
- [Risk Assessments and Risk Mitigation to Prevent the Introduction of African Swine Fever into the Danish Pig Population](https://doi.org/10.3390/ani14172491). Animals, 2024.
- [Semi-Quantitative Risk Assessment of African Swine Fever Virus Introduction in Outdoor Pig Farms](https://doi.org/10.3390/pathogens12050709). Pathogens, 2023.
- [Bordering Through Biosecurity: Wild Boars and Veterinary Fences in the German-Polish Borderlands](https://doi.org/10.12854/erde-2024-695). Die Erde, 2024.
- [Risk factors associated with the occurrence of African swine fever in Benin](https://doi.org/10.1007/s11250-026-05158-8). Tropical Animal Health and Production, 2026.

> This article is educational and is not a substitute for veterinary diagnosis, treatment, public-health guidance, or regulatory reporting.