Skip to content
Peqaboo
Open Peqaboo
Explore Peqaboo

Open Peqaboo
Choose your language

EnglishUnited States

BehaviorFish14 min read

Fish That Dig: Sifting, Pit Building, and the Tank That Survives It

Digging in aquarium fish is usually feeding, breeding or shelter building rather than destruction, and a sifter that stops digging is more worrying than one that never stops. The real hazards are rockwork undermined from below, which collapses onto fish or glass, and substrate chosen for looks that erodes barbels or lodges in a goldfish's mouth. This guide covers the four motivations, the seasonal spawning pattern behind sudden digging, and the layout decisions that make a tank survive it.

Fish That Dig: Sifting, Pit Building, and the Tank That Survives It — Peqaboo

Quick answer

A tank is a habitat, not an ornament. Most digging is a fish doing exactly what its mouth and body were built to do.

Digging is not destruction. For a large number of aquarium fish it is feeding, breeding or shelter building, and a fish that has stopped doing it is more concerning than one that does it every day.

The real risk is not the plants. It is rockwork undermined from beneath, which topples onto fish or onto glass, and substrate chosen for looks that injures the fish sifting through it.

  • Sifting sand through the gills is a feeding method, not a behaviour problem.
  • Pits dug near a flat rock or in an open corner usually mean spawning, and spawning usually means aggression is about to increase.
  • Hardscape must rest on the base glass or on a protective base layer, never on sand a fish can excavate.
  • Sharp gravel wears down the barbels of bottom sifters and can be swallowed by rooting fish.
  • Digging that comes with hiding, clamped fins, weight loss or constant repetition in one corner is a stress signal, not normal behaviour.

:::danger
Rock stacked on sand is the most dangerous structure in a home aquarium.

A cichlid, loach or goldfish that digs under a rock pile removes its footing while nobody is watching, usually overnight. The collapse can crush a fish, and a heavy stone falling against the base or a corner can crack the glass and empty the tank into the room. Build hardscape directly on the base glass, or on an eggcrate or foam base, and add the substrate around it afterwards.
:::

At a glance
Species
aquarium fish
Category
behaviour
Risk level
medium
Content focus
why fish dig, which behaviour is normal, and how to build a tank that tolerates it
Highest risk
undermined hardscape and unsuitable substrate
When to act
digging with hiding, damage, injury, or a sudden change in the pattern

Decide in 60 seconds

What you seeWhat it means
A fish taking mouthfuls of sand and puffing it out through the gillsNormal feeding. Make sure the substrate is fine and smooth.
Neat pits dug beside a rock or in an open area, repeatedly cleanedProbable spawning behaviour. Expect territorial aggression next.
Plants pulled up and left floating, roots intactNormal foraging or nest clearing. Change how you plant, not the fish.
Sand piled against the glass in one corner overnightNormal excavation. Check nothing heavy is now unsupported.
A fish burying itself and staying buried during the dayCheck for aggression from tankmates and for adequate cover.
Frantic digging in one corner, fins clamped, not feedingStress or water quality. Test the water today.
Digging accompanied by scratching against the substrateSuspect parasites or irritants rather than behaviour.
Barbels shortened, reddened or missing on a bottom feederChange the substrate and check water quality.
A rock pile that has visibly shifted or is sitting on excavated sandRebuild it today, before it falls.
A fish mouthing gravel and unable to close its mouthEmergency. A trapped stone needs removing.

Why fish dig

There are four separate motivations, and they need different responses.

Feeding. Substrate sifters process sand to find worms, larvae and food particles. Eartheaters, many African and South American cichlids, several loaches, gobies and corydoras all do this. In these fish, sifting is how they eat, and preventing it removes both nutrition and a large part of their behavioural repertoire.

Breeding. Substrate spawners excavate pits, clean flat surfaces and move sand into mounds. This intensifies as a pair forms and can be dramatic. The digging is not the problem; the territorial expansion that follows it is what damages tankmates.

Shelter and territory. Many cichlids dig under rocks and wood to create a cave, and some fish excavate a burrow they retreat to. Jawfish and some gobies build and maintain burrows constantly.

Concealment and rest. Kuhli loaches, some sand-dwelling species and various marine fish bury themselves to sleep or to hide. A fish that buries itself briefly is resting. A fish that buries itself all day is hiding from something.

Which fish do what

Type of fishWhat they do to the tankWhat they need
Eartheaters and other sand siftersConstant mouthfuls of sand, redistributed across the tankFine, smooth, rounded sand and sinking food that reaches the bottom
Larger cichlidsLarge pits, moved sand, rearranged decor, uprooted plantsHardscape on the base glass, plants attached rather than planted
Dwarf cichlidsSmall pits and cleaned flat surfaces during spawningCaves, flat stones, and space between territories
Corydoras and other barbelled catfishConstant probing of the surface layerSmooth fine substrate, never sharp gravel
Loaches, including kuhli typesBurrowing and disappearing under decorSoft substrate and secure decor that cannot settle onto them
Goldfish and other rooting fishUprooted plants, gravel moved and mouthedSubstrate either too fine or too large to lodge in the mouth, and robust or potted plants
Marine burrowers and gobiesExcavated burrows, sand shifted against glassDeep enough sand at the burrow site, stable rockwork above

Normal digging, and digging that is a symptom

Normal. It is purposeful, it happens at feeding times or around a chosen site, the fish is eating well, colours are good, fins are open, and the fish returns to normal swimming in between.

Breeding. Colour intensifies, a pair forms, a site is cleaned repeatedly, and other fish are chased away from it. Often triggered by a large water change with slightly cooler water, or by seasonal changes in room temperature and light, which is why so many owners report a sudden burst of digging in spring.

Stress. Repetitive digging in a corner, often the same one, with clamped fins, faded colour, hiding, reduced feeding, or flicking against the substrate. This belongs with a water test rather than a behavioural explanation.

Displacement from aggression. A fish that digs and buries itself, or that is confined to one end of the tank, is being pushed there. Watch for ten minutes with the room quiet and see who is doing the pushing.

Environmental. Digging that begins after a change in flow, lighting, or the addition of new fish, is usually a response to that change.

The seasonal pattern nobody mentions

Aquarium behaviour tracks the year more than owners expect, especially in unheated rooms and in ponds.

Spring and early summer. Longer daylight through nearby windows, warmer room temperatures and cooler incoming tap water during changes all mimic the rainy-season cues that trigger spawning. Digging, pit building and aggression all rise together.

High summer. Warmer water holds less oxygen. Sifting fish work harder and gill demand rises, so behaviour that was harmless in spring becomes stressful in a tank that is too warm.

Autumn and winter. In cooler rooms, activity falls. A digger that stops digging in winter is probably fine; a digger that stops in July is not.

After a large water change. A pronounced burst of digging in the hours afterwards is common, and it is a response to the change rather than a problem with it.

Building a tank that survives a digger

Layout decisions do more than any behavioural intervention
Rock resting on the substrate, plants rooted in a shallow layer, food delivered to a specific spot. Every one of these is a decision that either survives a digging fish or does not.

Hardscape on the base. Place rock and heavy wood on the bare glass, or on a sheet of eggcrate or foam, and pour substrate around it. Nothing structural should rest on material a fish can remove.

Fewer, larger pieces. A single stable stone beats a tall stack. If you want a stack, bond it with aquarium-safe silicone so it behaves as one piece.

The right substrate. For sifters and barbelled fish, fine, smooth, rounded sand. Avoid sharp crushed gravel and anything with edges. For goldfish, either sand or gravel too large to fit in the mouth; medium gravel is the size that gets stuck.

Shallow and worked rather than deep and static. Substrate that a fish turns over regularly stays oxygenated. Deep, undisturbed layers, especially under rock where nothing reaches, are where anaerobic pockets form. If you find black substrate that smells of rotten eggs when disturbed, reduce the depth and disturb it gradually rather than all at once.

Plants that do not rely on roots. Anubias, java fern and bucephalandra attach to wood and rock. Floating plants sit above the excavation entirely. Root feeders can go in pots buried to the rim, or in a section protected by larger stones bonded together.

Protect the equipment. Raise filter intakes clear of the substrate so sand is not drawn into the impeller, guard or mount heaters off the floor of the tank, and check that nothing can be buried under a mound.

Feed to the bottom. Sifters and catfish need food that arrives where they feed. Sinking wafers and targeted feeding at a set spot prevent the frantic surface competition that surface feeders win.

Reduce the reason for stress digging. Cover, sightline breaks, adequate group sizes for shoaling species, and enough territory per fish do more than any device.

Substrate injuries, which are the part owners miss

Watching the fish rather than the layout tells you which digging is which
Open fins, good colour and normal feeding alongside the digging means the behaviour is normal. Clamped fins and hiding change the answer entirely.

Barbel erosion. Corydoras and similar fish drag their barbels through the substrate constantly. On sharp gravel the barbels wear down and can become infected, and shortened barbels reduce the fish's ability to find food. Poor water quality accelerates it. Barbels can regrow on suitable substrate if the damage is caught early.

Mouth and gill abrasion. Fine sharp particles passing over the gills cause irritation in the fish least able to avoid it.

Trapped gravel. Goldfish routinely take gravel into the mouth and spit it out. A stone that lodges behind the teeth or in the throat prevents the mouth closing and prevents eating. This needs removing, gently, by someone competent, and it is a genuine emergency.

Impaction. Fish that swallow substrate can develop blockages, seen as a swollen abdomen, loss of appetite and absent droppings.

Cloudy water and clogged filters. More nuisance than danger, but a filter starved by sand in the impeller becomes a biological failure, and that does become dangerous.

The failure modes of the usual advice

"Use gravel so they cannot dig." It does not stop the behaviour, it makes it harmful. Sifters keep trying, and coarse gravel damages barbels and traps waste in the gaps.

"Glue the plants down." Fixing a root feeder to the hardscape starves it. Attach the plants that attach, pot the plants that need soil, and float the rest.

"Add a deep sand bed, it looks natural." Depth without disturbance is where anaerobic pockets form. In a tank with an active digger the substrate is being turned constantly, which is safer, and the risk sits in the areas the fish cannot reach.

"Rehome the digger." In most cases the fish is behaving normally and the layout is the problem. The exception is a genuinely incompatible mix, where the digging is territorial and someone is getting hurt.

"Feed more so it stops looking for food." Sifting is not hunger. Overfeeding produces water quality problems on top of the digging.

"Put the rocks back every week." If the rocks can be moved by a fish, they can fall on a fish. Rebuild the structure so it cannot move, once.

"It only does it at night, so it is fine." Overnight excavation is exactly when undermined rockwork collapses unobserved.

What to record before you ask for help

Checklist0/10

What never to do

Do not stack rock on sand.

Do not use sharp or crushed gravel with barbelled bottom feeders.

Do not remove the substrate entirely from a sifting species; bare glass removes their feeding behaviour and offers nothing in return.

Do not disturb a large, deep, long-undisturbed substrate all at once.

Do not try to remove a lodged stone from a fish's mouth with force or with sharp tools.

Do not add more fish to "distract" a digger. More fish in the same water is a water quality decision, not a behavioural one.

Do not assume digging plus hiding is still normal digging. Once hiding, clamped fins or reduced feeding appear, treat it as a health and water quality question.

A fish settled and behaving normally
A tank built around the behaviour rather than against it: stable structure, suitable substrate, plants that stay where they are put.

My fish rearranges the tank every night. Is it unhappy?
Usually the opposite. Purposeful excavation in a fish that eats well, holds good colour and swims normally is species-typical behaviour and a sign of a comfortable animal. Unhappiness looks different: repetitive digging in one spot, clamped fins, hiding, poor feeding, and often a water test that explains it.
Can I stop my fish uprooting plants?
You can change what you plant rather than what the fish does. Anubias, java fern and similar species attach to wood and rock and cannot be uprooted, floating plants are out of reach, and root feeders survive in pots buried to the rim. Fighting the behaviour directly does not work.
Is sand or gravel better?
For sifters, barbelled catfish and most diggers, fine smooth sand is clearly better, because it is what their feeding anatomy is designed for and it does not abrade barbels. Gravel is easier to vacuum and suits tanks with no substrate-feeding species. The size that causes most problems is medium gravel with goldfish, because it is exactly the size that lodges in the mouth.
Why has my fish suddenly started digging when it never did before?
Look for a trigger. A large water change, a temperature or daylight shift, a new tankmate, a change in flow or a new pair forming will all do it. Sudden digging in spring is very often spawning behaviour, and it is usually followed within days by increased territorial aggression, so it is worth watching the other fish rather than the sand.

When to get help

Act immediately if a fish has a stone lodged in its mouth, if rockwork has shifted, or if a fish is trapped or injured under decor.

Test the water and seek advice the same day if digging is accompanied by clamped fins, flicking against surfaces, hiding, gasping at the surface or loss of appetite.

Review the setup this week if you have barbelled bottom feeders on sharp gravel, if any hardscape rests on substrate, if the substrate has black patches or smells when disturbed, or if a digging fish has stopped digging without any seasonal explanation. That last one is the change most worth noticing, because in a fish whose whole feeding strategy is built around the substrate, stopping is the first sign that something is wrong.

My highlights & notes

This article is for general education and is not a substitute for professional veterinary advice. If your pet is unwell, please consult a veterinarian.

Worried about your pet?

Peqaboo’s AI helps you track symptoms, understand lab reports, and know when to see a vet.

Get the Peqaboo app