Three cows grazing in a sunny forest clearing surrounded by tall trees.
Cattle graze on the Stanislaus National Forest in Tuolumne County as part of a virtual grazing project that uses technology to manage where and how cattle move across the land. (Dan Macon/ UCCE)

Virtual Fencing: A Tool for Sustainability, Wildfire Resilience

Roche and Team Find Cost Savings, Benefits to Land

Quick Summary

  • Putting GPS-connected collars on cows lets ranchers guide the animals' grazing without fences or being physically present.
  • By managing grazing more precisely, ranchers and land managers can decrease fire fuels, protect soil and water in sensitive areas and be more proactive to safeguard their animals' health.
Cattle grazing in a lush green field with yellow flowers and blue sky.
Virtual fencing can improve soil and water quality on sensitive landscapes by managing the density, timing and intensity of grazing. Here, cattle graze on Table Mountain in Butte County, a spring wildflower hotspot. (Tracy Schohr/UCCE)

What if ranchers could move cattle without moving physical fences? No posts, wires or gates.

Virtual fencing is the answer, letting producers set grazing boundaries using GPS technology and giving them the ability to manage livestock in real time. Beyond convenience, this technology offers new ways to improve sustainability by protecting sensitive areas, enabling more adaptive grazing practices and reducing wildfire risk on rangelands.

This more precise control can also improve soil health, protect water quality and reduce erosion, all while also cutting down on labor, materials and the environmental footprint associated with building and maintaining traditional fences.

Leslie Roche is part of a team including researchers from the University of California, Davis, and UC Agriculture and Natural Resources. They are exploring how virtual fencing can support broad land management goals including wildfire fuel reduction, invasive species control and wildlife habitat management. Growing interest from state and federal agencies has helped accelerate adoption among ranchers, particularly as prescribed grazing is increasingly recognized as a tool for building wildfire resilience.

“It has such great promise for helping us to achieve a real win-win for both agriculture and the environment.” said Roche. She’s a professor in the UC Davis Department of Plant Sciences and the Russell L. Rustici Endowed Specialist in Cooperative Extension in Rangeland Watershed Science.

“Not only can it help us improve productivity and land health, but it can also boost agricultural profitability, so that’s exciting,” Roche said.

“This is a great tool for ranchers,” added Dan Macon, a UC Cooperative Extension livestock and natural resources advisor. “You can design grazing areas remotely, adjust them as conditions change, and manage livestock without having to build or repair miles of physical fence.”

Barbed wire can cost between $50,000 and $75,000 per mile, putting large-scale fencing out of reach for some operations, according to Macon. For ranchers, the implications are significant, particularly where wildfires, rugged terrain and land-use constraints make traditional fencing costly or impractical. Where fires have destroyed existing infrastructure, producers may be unable to graze at all until fencing is rebuilt. 

“Virtual fencing provides a cost-effective alternative,” Macon said. 

Grazing builds wildfire resilience

Roche and Macon were part of the governor’s task force on wildfire resilience and specifically worked on the prescribed grazing angle.

Profile of a woman with sunglasses against a sunset, surrounded by a golden field.
Leslie Roche is a professor of Cooperative Extension with the UC Davis Department of Plant Sciences and an expert on rangelands and pasture management. (Jael Mackendorf/UC Davis)

“We brought together different folks working across livestock production and resource management to put together the key opportunities, challenges and the next steps for increasing the scale of managed grazing for fuel management across California,” Roche said. “Virtual fencing has been particularly exciting because it makes it more realistic for ranchers to implement it and makes it more accessible.”

By directing cattle to graze certain areas at specific times, ranchers can reduce fuels that contribute to wildfire risk while protecting sensitive habitats nearby. Unlike sheep or goats, which are commonly used for targeted grazing, cattle historically have been harder to control with such precision. Virtual fencing changes that. In addition to fuel reduction, this targeted approach is especially promising for invasive weed control — another pressing challenge across the state.

When wildfire does strike, virtual fending “can allow ranchers to return livestock to public lands, even when physical fences have been damaged or removed and ranchers have been told they can’t return to that land until there are fences.”

What is virtual fencing?

Virtual fencing works like this: Ranchers place GPS collars around the neck of their animals and once the virtual boundary is uploaded to the collars — either through cellular networks or base stations that connect to those networks — the fence exists wherever the producer needs it to be. When an animal approaches that boundary, the collar emits a warning, usually a tone or a combination of sound and vibration. If the animal continues forward, it receives a brief electrical pulse, similar to what it would experience from a traditional electric fence.

Cattle learn the system quickly. While some suggest a week to ten days for training, Macon said experience shows many animals adapt more quickly. Over time, the tone alone becomes enough to keep them within the designated area. As with physical fencing, some animals respect the boundary more than others, but overall, the system has proven effective.

“So far, it looks like most cattle are able to learn virtual fencing very quickly, sometimes within a week or less,” said Kristina Horback, an associate professor in the UC Davis Department of Animal Science at whose research focuses on animal cognition.

A case-study herd of 30 animals showed improved learning a year later, Horback noted. A year later during a follow-up training, retraining did not take as long, and the cattle needed significantly fewer electric pulses.

“There has been a good amount of research on how quickly cattle learn the rules of virtual fencing,” Horback said. “The animals learn to associate the audio cue stimulus with the electric pulse consequence if they keep moving in that direction…so they learn to change directions to avoid the pulse.”

Support for animal welfare 

One of the most powerful features of virtual fencing is visibility. Because the collars continuously track animal location, ranchers can see exactly where their livestock are — and where they aren’t.

“It tells you where you need to start your day,” Macon said, crediting that insight to his daughter, who also works with virtual fencing systems in New Mexico. “If you see an animal hasn’t moved in 15 or 24 hours, that’s a signal something might be wrong. It’s game changer for sure.”

Those alerts offer clear animal welfare advantages, allowing producers to check on animals that may be injured, sick or having difficulty calving. The technology could evolve to detect even more subtle changes, such as determining increased body temperature or movement patterns that indicate health issues — providing early warnings without requiring a rancher to be physically present, Macon said.

In addition, this management approach can be used without negatively affecting animal stress levels.  

“There has also been research from around the world showing that there is little to no difference in the cortisol levels of cattle living in traditional fencing versus virtual fencing,” Horback said. That means “the stress of the animals is not increased in this type of management system.”

A Benefits to soil and water

Virtual fencing also can improve soil and water quality by guiding livestock on where not to graze. That includes around sensitive areas, such as the banks of waterways scattered across vast landscapes. Avoiding these areas helps maintain water quality and prevent erosion.

Managed grazing is the strategic control of livestock density, timing and intensity of grazing. It can stimulate plant regrowth and add manure to the soil, replenishing nutrients and supporting the overall health of the soil.

While ranchers with traditional fences also can practice managed grazing, it requires much more planning and labor because animal movements are limited to pastures defined by permanent fence boundaries. Virtual fencing allows ranchers to frequently and efficiently move livestock from one pasture to the next and to define new within-pasture boundaries.

From a sustainability standpoint, virtual fencing checks all three boxes: economic, environmental, and operational. It lowers infrastructure costs, reduces labor demands, and allows producers to manage grazing more precisely — often without having to physically move animals. That efficiency matters, especially as ranchers face tighter margins and increasing environmental expectations, Macon said.

Stanislaus test: Promise and challenges

One ongoing project illustrates both the promise and the challenges of the technology. In the high elevations of the Stanislaus National Forest, researchers are working across roughly 19,000 acres of steep, rugged terrain. While the collars store boundary data once it’s uploaded, changing pastures requires connectivity — and limited cell service remains an issue in remote areas.

“That’s one of the big hurdles right now,” Macon said. “If we can move toward more satellite-based systems, it would really expand where and how this technology can be used.”

Even so, the Stanislaus National Forest project is already demonstrating how cattle can be managed remotely to reduce fuel loads while protecting key resources. A second year of trials is set to begin this summer.

“This technology gives us ultimate flexibility without somebody having to actually go out there and put a fence around something or actually, in some cases, go out and move cows directly,” said Macon. “Virtual fencing allows you do to move boundaries remotely, which is a part of being economically sustainable and it really is such a game changer.”

$$$ available

Macon also pointed out cost-share funding is available through the USDA’s Natural Resources Conservation Service, making virtual fencing more affordable for producers.

To learn more about virtual fencing, visit the University of California Virtual Webinar Series. 

Media Resources

Primary Category

Secondary Categories

Fire

Tags