Can Pygmy Corydoras Live with a Betta Fish?
Pygmy corydoras can share an aquarium with a peaceful betta fish, but only in a tank of 10 gallons or larger with fine sand and live plant cover. Never keep them together in a 5-gallon tank, where cramped quarters trigger aggression and chronic stress.
By Sharon Ben-Moshe, Founder, The Aquarium Adviser
Updated / 8 min read

In this guide
Pygmy corydoras can share an aquarium with a betta fish under specific conditions, but success depends on tank volume, individual betta temperament, and providing a proper school of catfish. While a 5-gallon tank invariably leads to harassment, a heavily planted 10-gallon or 20-gallon tank with soft sand creates a workable setup for peaceful coexistence.
| Parameter or Requirement | Pygmy Corydoras (Corydoras pygmaeus) | Betta Fish (Betta splendens) | Shared Community Tank Target |
|---|---|---|---|
| Minimum Tank Size | 10 gallons (school of 6-8) | 5 gallons (solitary) | 10-15 gallons minimum |
| Water Temperature | 72-79°F (22-26°C) | 76-82°F (24-28°C) | 77-78°F (25-26°C) |
| pH Range | 6.2-7.4 | 6.5-7.5 | 6.8-7.2 |
| General Hardness (GH) | 2-10 dGH | 3-12 dGH | 4-8 dGH |
| Swimming Zone | Midwater shoaling and substrate | Top and midwater | Distributed across column |
| Minimum Group Size | 6-10 fish | 1 (males must be solitary) | 6+ pygmy corys, 1 betta |
| Substrate Preference | Fine, rounded sand | Flexible (sand or smooth gravel) | Fine silica sand |
Why do pygmy corydoras and betta fish clash in small tanks?
Aquarium hobbyists frequently assume all corydoras catfish stay glued to the bottom substrate, leaving the rest of the tank free for surface-oriented fish. Pygmy corydoras (Corydoras pygmaeus) break that assumption. As documented in the Seriously Fish profile for Corydoras pygmaeus, this diminutive species spends substantial portions of the day hovering in open water, perching on broad leaves, and swimming in loose midwater schools.
This midwater habit creates immediate spatial friction. Male bettas (Betta splendens) patrol the upper and middle thirds of the water column. When a group of energetic, 1-inch catfish flutters through that swimming corridor, a territorial betta perceives them as intruders or prey. If you are researching whether bettas attack smaller tank mates, realize that body size plays a decisive role. Pygmy corydoras measure barely an inch at maturity, making them vulnerable to harassment.
In confined quarters, constant chasing leads to severe consequences. Harassed corydoras stop feeding, hide in dark filter corners, and experience chronic stress that collapses their disease resistance. Even without direct bites, persistent intimidation keeps both species on high alert.
Tank size and water parameters for a shared aquarium
Housing these two species together requires moving away from nano novelty setups and focusing on realistic environmental margins.
Why a 5-gallon tank fails
A standard 5-gallon aquarium has a floor footprint of roughly 16 by 8 inches. That space is barely adequate for a solitary male betta once equipment and decor are installed. Pygmy corydoras require a minimum group of 6 to 8 individuals to display natural behavior and feel secure. Placing a full school of catfish and a territorial betta into 5 gallons compresses their territories into a single strike zone.
The biological load of that stocking level also strains water quality. Nano tanks experience rapid shifts in ammonia (NH3) and nitrite (NO2-), which pygmy corydoras cannot tolerate. Stepping up to a 10-gallon tank (20 by 10 inch footprint) offers double the horizontal swimming room, while a 20-gallon long tank (30 by 12 inch footprint) is dramatically safer. Aquarists exploring compatible betta tank mates for 10-gallon setups will find that physical footprint matters far more than total water volume.
Ideal water conditions and temperature overlap
Bettas and pygmy corydoras originate from different continents with distinct wild habitats, but their captive requirements overlap within a narrow window.
Bettas thrive in warm tropical water between 76°F and 82°F (24-28°C). Pygmy corydoras originate from the Rio Madeira basin in South America, where they prefer cooler conditions between 72°F and 79°F (22-26°C), as noted in the FishBase summary for the pygmy cory. Running the aquarium at 77-78°F (25-26°C) satisfies both species. Pushing the tank above 80°F speeds up the catfish's metabolism, shortening its lifespan.
For water chemistry, maintain:
- pH levels between 6.8 and 7.2 to keep both species comfortable without chemical swings.
- General hardness (GH) between 4 and 8 dGH, providing sufficient calcium and magnesium ions without stressing soft-water catfish.
- Carbonate hardness (KH) of 2-5 dKH to stabilize buffering capacity and prevent sudden acidification.
- Zero detectable ammonia (NH3) and nitrite (NO2-), with nitrates (NO3-) kept below 20 ppm through weekly 20-25% water changes.
Maintaining stable betta fish water parameters through consistent maintenance is essential because pygmy corydoras react poorly to abrupt parameter shifts.
How can you test your betta's temperament before adding catfish?
Every betta possesses an individual personality. Some specimens ignore everything around them, while others flare at snails, equipment, and their own reflections. Assessing temperament before buying catfish prevents casualties.
You can evaluate your betta using three reliable methods:
- Place a small mirror against the tank glass for two minutes. A normal response is mild flaring followed by indifference. If the betta throws its body against the glass, bites at the pane, and paces frantically along the perimeter for half an hour after the mirror is removed, keep the fish in a solitary tank.
- Introduce two or three inexpensive ghost shrimp or a nerite snail first. If the betta stalks and attacks the shrimp, it will treat 1-inch pygmy corydoras with identical aggression.
- Add the school of pygmy corydoras to the display tank first, allowing them to claim resting spots and settle for one to two weeks before introducing the betta. When a betta arrives in a tank that already contains active fish, it treats the aquarium as shared neutral territory rather than a private kingdom under invasion.
Aquascaping and layout to reduce tank aggression
A barren tank invites conflict because an aggressive betta can spot its tank mates from across the room. Clever aquascaping breaks sightlines and protects the physical health of both species.
Sand substrate protection for delicate barbels
Corydoras possess delicate sensory barbels around their mouths that they use to sift for edible morsels. Rough gravel, chipped fluorite, and sharp volcanic rock act like sandpaper on these sensory organs. Abraded barbels quickly develop secondary bacterial infections that spread to the snout and mouth, often proving fatal.
Provide a smooth layer of fine silica sand with a grain size of 0.5-1.5 mm. Sifting through fine sand allows the catfish to feed naturally and keeps their barbels clean. Reviewing proper substrate selection for corydoras confirms why sand remains the only safe long-term choice for Corydoradinae species.
Sightline breaks and plant density
Dense vegetation is the single most effective barrier against betta aggression. Bettas navigate using direct eyesight. If a chasing betta loses visual contact with a fleeing catfish around a dense bush of plants, it quickly loses interest and resumes cruising.
Incorporate these aquascaping elements:
- Fill the background and tank corners with rapid-growing stem plants such as Hygrophila polysperma, Vallisneria, and Rotala rotundifolia.
- Plant broadleaf species like Anubias barteri and Java fern (Microsorum pteropus) tied to driftwood, offering elevated resting shelves for both species.
- Scatter small terracotta tubes, ceramic shrimp caves, or half-coconut shells along the sand bed to give catfish secure refuges that are too tight for a betta to enter.
- Add floating plants like Amazon frogbit to diffuse harsh overhead lighting, which helps calm shy catfish and encourages bettas to explore surface roots.
Feeding strategies to prevent starvation and food guarding
Feeding a mixed tank of bettas and pygmy corydoras requires deliberate planning because of their mismatched feeding mechanics.
Managing tiny mouths and sinking diets
Bettas are aggressive surface feeders with upward-turned mouths built to grab insect larvae from the water surface. Pygmy corydoras are opportunistic omnivores with tiny ventral mouths measuring under 1 mm across. Standard bottom-feeder pellets and wafers are far too large for them to swallow whole.
While larger corydoras can rasp away at hard wafers, pygmy corydoras struggle to break off pieces before the food fouls the water or gets claimed by the betta. Consult our dedicated pygmy corydoras care guide for detailed nutritional schedules. Suitable daily foods include:
- Sinking micro-granules and micro-wafers formulated for nano fish.
- Crushed high-protein flake food allowed to soak and sink below the surface tension.
- Live or frozen baby brine shrimp, microworms, and daphnia, which provide digestible proteins and spark active foraging.
Distraction feeding techniques
Bettas are notorious gluttons that will eat until their bellies swell, often diving to the substrate to guard sinking catfish food. Overfeeding leads to swim bladder disorders and constipation in bettas, while leaving the catfish starved.
Break this cycle using distraction feeding:
- Feed floating betta pellets on one side of the aquarium to fix your betta's attention at the surface.
- Drop sinking micro-granules directly into stem plant beds on the opposite side while the betta is distracted.
- Schedule secondary feedings roughly twenty minutes after room and tank lights turn off, giving the catfish an uncontested foraging window while the diurnal betta rests near the surface.
What should you do if your betta attacks the pygmy corydoras?
Even with careful preparation and a spacious tank, some bettas refuse to tolerate tank mates. Knowing when to intervene protects your catfish from severe injury.
Watch for clear warning signs of distress:
- Catfish exhibiting shredded caudal or dorsal fins.
- Individual corydoras hiding motionless behind heaters or filter intakes rather than foraging in open sand.
- A betta hovering inches above the sand bed, stalking individual catfish with flared gill covers.
If you observe sustained chasing or fin nips, separate the fish immediately. Place the betta inside a floating mesh breeder box or install a temporary acrylic tank divider to prevent physical contact while preserving biological filtration.
Never leave bullied catfish in the tank expecting the betta to grow accustomed to them over time. As outlined in Betta splendens species documentation, male bettas have been bred for centuries for intense territorial aggression, and those predatory instincts do not simply fade. The permanent solution is moving the betta into its own heated, filtered 5-gallon aquarium, leaving the 10-gallon community tank for the pygmy corydoras and other docile nano companions.
Frequently asked questions
Can pygmy corydoras live in a 5-gallon tank with a betta?
No, keeping pygmy corydoras with a betta in a 5-gallon aquarium is unsafe. Pygmy corydoras require a school of at least 6 to 8 individuals to thrive, and adding that many fish alongside a territorial betta overstocks the water volume. The limited footprint also eliminates escape routes, resulting in constant chasing and chronic stress.
How many pygmy corydoras should be kept together?
You should keep a minimum of 6 to 8 pygmy corydoras together, though a group of 10 or more produces far more natural schooling behavior. When kept in smaller numbers or pairs, these tiny catfish become skittish, hide constantly, and suffer from elevated stress that weakens their immune systems.
What substrate is best for pygmy corydoras?
Smooth, fine silica sand is the best substrate for pygmy corydoras. These catfish constantly sift through the bed for food particles using delicate sensory barbels. Rough, sharp, or jagged gravel can erode their barbels, predisposing them to fatal bacterial infections.
What temperature should a shared betta and pygmy corydoras tank be?
Aim for a steady water temperature of 77-78°F (25-26°C). Bettas prefer warmer conditions around 78-82°F, while pygmy corydoras thrive between 72-79°F. Keeping the aquarium at 77-78°F provides a safe compromise that maintains the betta's immune function without shortening the lifespan of the catfish.
Do pygmy corydoras eat betta waste?
No, pygmy corydoras do not consume fish feces. While they sift the substrate for leftover flakes, micro-pellets, and microscopic organisms, they require their own dedicated diet with balanced proteins and vegetable matter. Fish waste must be removed manually during routine gravel vacuuming and water changes.
Related guides

Neon Tetra Disease Symptoms, Treatment, and Diagnosis
True neon tetra disease is an incurable parasitic infection of muscle tissue caused by Pleistophora hyphessobryconis. Recognizing early symptoms and distinguishing them from treatable bacterial columnaris protects community aquariums from devastating losses.

Boesemani Rainbowfish Care Guide: Tank Size, Water, and Diet
Learn how to care for Boesemani rainbowfish with proper 4-foot tank dimensions and hard alkaline water parameters. A balanced, protein-heavy diet ensures males develop their classic two-toned coloration.

Peppered Corydoras Care Guide: Tank Setup, Substrate, and Breeding
Peppered corydoras thrive in cool freshwater aquariums with soft sand substrates, steady filtration, and a social group of six or more. Learn how to maintain ideal water parameters, safeguard sensory barbels, and trigger natural spawning.

Glass Catfish Tank Care: Schooling, Water Flow, and Diet
Proper glass catfish tank care demands mature water conditions, gentle horizontal flow, and shaded midwater zones. Keeping these delicate, scaleless fish in groups of six or more ensures steady feeding and calm schooling behavior.

Clown Killifish Nano Tank Care: Setup, Diet, and Breeding
Clown killifish (*Epiplatys annulatus*) thrive in heavily planted nano aquariums with calm surface water, soft parameters, and floating plant cover. This guide covers filtration, jumping prevention, daily feeding, and raising fry.

Rosy Barb Care Guide: Schooling, Tank Size, and Cool Water
Rosy barbs are energetic, cool-water schooling fish that thrive in room-temperature aquariums with strong filtration. Learn how to maintain proper school sizes, protect live plants, and choose compatible community tank mates.
