Habitat & Ecology comparison
Rat vs Fox: Key Differences Explained
The short answer
They occupy the same streets from opposite ends of the food chain. A fox is a carnivoran in the family Canidae — the red fox is the reference animal — ranging over an area measured in hectares or square kilometres and eating small mammals among much else. A rat is a small rodent that lives within metres of its burrow and breeds several times a year. Rodents are one component of a fox's very broad diet, so the pair are linked ecologically as predator and prey rather than as rivals.
The main difference
A fox is a wide-ranging canid predator that covers a large territory and breeds once a year; a rat is a small, sedentary, rapidly reproducing rodent that is one of the many things a fox eats.
Urban colonisation is usually discussed one species at a time, which hides the fact that a town has to supply a working food chain and not just a food supply. Setting a small fast-breeding rodent beside a wide-ranging canid that eats rodents shows how the same built landscape can be entered from two trophic levels with two completely different strategies.
At a glance
| What differs | Rat | Fox | What it means |
|---|---|---|---|
| Place in the food chain | Primary consumer for the most part, taking seeds, fruit and invertebrates, with some animal food | Mid-level predator taking small mammals, birds, invertebrates, fruit, carrion and human food waste | The two are linked by consumption rather than competition, which is the ordinary relationship between a rodent and a small canid.Neither is a strict feeder; brown rats take animal food and foxes take a great deal of fruit, so the levels blur in practice. |
| Body size | Head and body around 20–27 cm in brown rats, most often somewhere near 200–500 g | Red foxes commonly around 45–90 cm in head and body, with weights frequently in the 3–7 kg region | The size gap sets the whole relationship: one animal is a meal-sized item to the other, which shapes where and when it moves.Fox size varies widely across the genus and by region, with Arctic and fennec foxes far outside the red fox figures given here. |
| Area used | Often a very small area around a burrow system, with established routes followed repeatedly | A defended territory covering many hectares, and considerably more where food is thinly spread | A fox samples a whole neighbourhood each night while a rat may spend its life within one block, so their maps of a town differ completely. |
| Breeding pattern | Gestation of about three weeks, litters often around six to twelve, and several litters a year | One litter a year after a gestation of roughly seven to eight weeks, with cubs dependent for months | Fast turnover lets a rodent population rebound quickly, while a slow-breeding predator recovers far more gradually from losses. |
| How prey and danger are detected | Smell and whisker touch first, with hearing above the human range and vision tuned to movement in dim light | Acute hearing biased to low frequencies, used to locate small mammals under vegetation or snow before a vertical pounce | The fox's low-frequency hearing and the rodent's habit of moving under cover along walls are two sides of the same evolutionary argument. |
| How each entered towns | Arrived with shipping and stored food, then occupied drains, voids and burrows against structures | Moved in from surrounding countryside during the twentieth century, denning under sheds, decking and in gardens | One species was carried into cities by trade and the other walked in on its own, which is why their urban histories look nothing alike. |
- Place in the food chain
- RatPrimary consumer for the most part, taking seeds, fruit and invertebrates, with some animal foodFoxMid-level predator taking small mammals, birds, invertebrates, fruit, carrion and human food waste
The two are linked by consumption rather than competition, which is the ordinary relationship between a rodent and a small canid.Neither is a strict feeder; brown rats take animal food and foxes take a great deal of fruit, so the levels blur in practice.
- Body size
- RatHead and body around 20–27 cm in brown rats, most often somewhere near 200–500 gFoxRed foxes commonly around 45–90 cm in head and body, with weights frequently in the 3–7 kg region
The size gap sets the whole relationship: one animal is a meal-sized item to the other, which shapes where and when it moves.Fox size varies widely across the genus and by region, with Arctic and fennec foxes far outside the red fox figures given here.
- Area used
- RatOften a very small area around a burrow system, with established routes followed repeatedlyFoxA defended territory covering many hectares, and considerably more where food is thinly spread
A fox samples a whole neighbourhood each night while a rat may spend its life within one block, so their maps of a town differ completely.
- Breeding pattern
- RatGestation of about three weeks, litters often around six to twelve, and several litters a yearFoxOne litter a year after a gestation of roughly seven to eight weeks, with cubs dependent for months
Fast turnover lets a rodent population rebound quickly, while a slow-breeding predator recovers far more gradually from losses.
- How prey and danger are detected
- RatSmell and whisker touch first, with hearing above the human range and vision tuned to movement in dim lightFoxAcute hearing biased to low frequencies, used to locate small mammals under vegetation or snow before a vertical pounce
The fox's low-frequency hearing and the rodent's habit of moving under cover along walls are two sides of the same evolutionary argument.
- How each entered towns
- RatArrived with shipping and stored food, then occupied drains, voids and burrows against structuresFoxMoved in from surrounding countryside during the twentieth century, denning under sheds, decking and in gardens
One species was carried into cities by trade and the other walked in on its own, which is why their urban histories look nothing alike.
How they are related
Both are placental mammals, and that is the extent of the connection. Rats are rodents of the genus Rattus, family Muridae. Fox is a general name for several genera of small canids, principally the true foxes of the genus Vulpes, of which the red fox, Vulpes vulpes, is the most widespread and is used as the reference animal here. Canidae sits in the order Carnivora, so the fox is more closely related to a dog, a bear or a weasel than to any rodent.
A note on naming: Fox covers several genera of small canids, and this page uses the red fox, Vulpes vulpes, as its reference; Arctic, fennec and grey foxes differ substantially in size, range and ecology. Rat here means the genus Rattus with the brown rat as reference.
Telling them apart
Confusion is essentially impossible at adult size, but the diagnostic features are worth stating. A red fox has upright triangular ears, a narrow muzzle, slit-shaped pupils, long legs and a long bushy tail usually tipped white, with rusty upperparts and dark stockings. A rat is a small grizzled rodent with small rounded ears, a blunt muzzle, short legs and a long, sparsely haired, scaly tail. Only tracks in soft ground, seen without scale, ever create real doubt.
Long legs, a bushy white-tipped tail, upright ears and a rusty coat in a garden at dusk: fox. A low, short-legged, blunt-faced animal with a naked scaly tail moving along the base of a wall after dark: rat. If all you have is a silhouette, judge the tail — bushy and as long as the body means the canid, thin and scaly means the rodent.
Habitat and distribution
Red foxes occupy an unusually wide range of habitat — woodland, farmland, moorland, tundra edge, coast, suburb and city centre — across much of the northern hemisphere, plus introduced populations in Australia. Rats in the strict sense are Asian and Indo-Pacific in origin, with two species carried worldwide into drains, embankments, farm buildings, stores and ships. In towns their overlap is close but stratified: the fox works gardens, verges, parks and streets, while the rodent works the ground beneath and inside structures.
Diet and ecological role
The fox is one of the most catholic feeders among carnivorans, taking small mammals, birds, earthworms, beetles, fruit in quantity, carrion and, in towns, a great deal of discarded human food; rodents are a recurring but far from exclusive component. Rats are omnivores from the other direction, with a base of seeds, fruit, shoots and invertebrates, extended in the brown rat to eggs, small vertebrates, carrion and refuse. Both cache surplus food, and both adjust seasonally to whatever is abundant.
Behaviour
Foxes are mainly nocturnal and crepuscular in settled landscapes, live in family groups based on a breeding pair with occasional non-breeding helpers, hold territories marked with scent and urine, and use a varied vocal repertoire including the familiar scream. Rats are colonial, organised around related females, and communicate chiefly by scent and by calls above human hearing. Both follow established routes, and both are notably cautious with new objects placed in familiar ground.
Senses and adaptations
The fox's hearing is the celebrated feature, biased toward low frequencies and accurate enough to place a small mammal moving under grass or snow, which is what makes the high vertical pounce work. Slit pupils and a reflective layer behind the retina support low-light vision. The rat answers with smell as its dominant sense, long whiskers that read surfaces in complete darkness, a strong preference for contact with walls, and hearing that extends well above what people can detect.
More on this topic: Animal senses and adaptations.
Lifespan and life stages
Both are short-lived where they live alongside people. Free-living red foxes are commonly described as having high mortality in the first year and relatively few surviving to advanced ages, with road traffic a major cause in settled landscapes, though captive animals live considerably longer. Commensal brown rats frequently fail to reach a year in the wild, with animals under human care usually reaching around two to three years. Neither figure describes any individual animal reliably.
More on this topic: Animal lifespans.
People and these animals
Neither is domesticated, and both have complicated public reputations. Urban foxes are the subject of continuing debate about feeding, denning under buildings and interactions with pets, while rodents in buildings are a food-safety and structural matter. Both fall under wildlife, public-health and, in some countries, specific legal frameworks that vary widely. Questions about either animal on a property belong with local authorities, licensed professionals and, for anything involving an animal's health, a veterinarian.
Keeping them: what to understand first
Foxes are kept in a small number of jurisdictions, prohibited in many, and are not domesticated animals whatever their appearance suggests; fancy rats descended from the brown rat are widely kept. Neither is recommended here. Wild canids have spatial, dietary and behavioural needs that households do not meet, and legality, welfare capacity and access to a veterinarian experienced with the animal determine these questions rather than enthusiasm for the species.
Conservation context
The red fox is one of the most widely distributed wild carnivorans and is not of concern at species level, but other members of the genus have far narrower ranges and different pressures, and the species is treated as an introduced problem in Australia. Rats present the parallel case: two species are globally abundant while many wild members of the genus are restricted and poorly documented, and introduced rats are a well-established pressure on island wildlife.
The red fox is widespread, but other foxes and many wild Rattus species are assessed very differently, and statuses are revised over time. Consult the current IUCN Red List entry for the species in question rather than generalising from either group-level name.
What they have in common
- Both are mainly nocturnal in settled landscapes and follow established routes through familiar ground.
- Both are broad opportunistic feeders that cache surplus food and shift seasonally with what is available.
- Both treat unfamiliar objects in familiar territory with caution before accepting them.
- Both colonised human settlements without being domesticated, and both remain wild animals in law and in behaviour.
Key differences
- The fox is a canid predator in Carnivora; the rat is a murid rodent that features in that predator's diet.
- Adult weights differ by roughly an order of magnitude, which sets the whole relationship between them.
- A fox territory spans many hectares, while a rat may live its life within metres of one burrow system.
- Rats breed several times a year with large litters; a fox raises one litter a year with months of dependency.
- Fox hearing is tuned to low-frequency prey sounds, whereas rat hearing extends well above the human range.
- Rats reached cities as cargo on ships, whereas foxes moved into towns from the surrounding countryside.
Where people go wrong
- Expecting a predator's presence to regulate a rodent population that is actually limited by food supply.
- Reading fox as a single species, when the name covers several genera with very different ranges and ecology.
- Assuming both animals colonised towns the same way, when one was carried in as cargo and the other walked in.
- Interpreting a fox's confidence around people as tameness, when it is habituation in an undomesticated animal.
Frequently asked questions
Do urban foxes control rat numbers?
How did each animal end up in cities?
Why does the fox range so much further than the rat?
What does the fox's low-frequency hearing do?
Do the two ever use the same shelter sites?
Read the full profiles
Related comparisons
Related FaunaHub guides
Sources and methodology
How this comparison is built: FaunaHub comparisons are assembled from the sourced animal profiles behind them rather than written as standalone claims. Figures such as size, mass, and lifespan are typical ranges that vary by subspecies, population, region, sex, age, and — where relevant — whether an animal lives in the wild or under human care, so they are presented as ranges rather than fixed values. Where a common name covers a group rather than a single species, the page says so instead of implying a species-to-species match. Conservation status changes over time and should be confirmed against the current IUCN Red List. Dimensions that could not be supported from the underlying profiles are omitted rather than filled in.
What this page does not do: it does not rank the two animals, predict the outcome of a confrontation, or present either one as stronger, smarter, or better. It is not veterinary, medical, first-aid, handling, capture, hunting, or pest-control guidance. For an animal in your care, or any situation involving injury, contact a qualified veterinarian, your local wildlife authority, or emergency services.
Sources and further reading
Authoritative references used for general educational context. External links open in a new tab. These sources do not endorse FaunaHub.
- UniversityAnimal Diversity Web — Rattus norvegicus (brown rat) — University of Michigan species account
- UniversityAnimal Diversity Web — Rattus rattus (black rat) — University of Michigan species account
- ReferenceEncyclopaedia Britannica — Animals reference — Editor-reviewed encyclopedia overview entries
- Wildlife referenceIUCN Red List of Threatened Species — Authoritative source for current conservation status
- UniversityAnimal Diversity Web — University of Michigan Museum of Zoology — Peer-edited reference accounts for animal species
Last updated:

