coexist reliably, which combinations consistently fail, stocking order
explained, and a full compatibility reference for the most common
beginner species.
It’s a function of temperament, tank size, territory, stocking order,
and the specific individuals involved. Two yellow tangs that coexist
peacefully in a 180-gallon display will fight to the death in a
75-gallon tank. A firefish that’s been in a tank for six months before
a royal gramma is introduced will hold its territory. The same two species
added simultaneously in a 20-gallon tank may never establish a functional
hierarchy.Understanding why compatibility works or fails, not just which
names appear on a “reef safe” list, is what lets you build a community
that functions long-term and adapt when a specific combination doesn’t
go as planned.
The Four Factors That Determine Whether Fish Live Together
1. Temperament
Marine fish fall on a spectrum from genuinely peaceful (firefish, assessors,
cardinalfish) to moderately assertive (most clownfish, royal grammas,
many wrasses) to aggressively territorial (damsels, dottybacks, triggers,
aggressive tangs). Temperament is species-level, it tells you the
baseline behavior to expect from that species in any tank. It doesn’t
tell you how a specific individual will behave, which varies, but it
sets the probability.
Aggressive fish added to a tank dominate it. Peaceful fish added to a
tank with an established aggressive fish get dominated. Matching
temperament levels, adding fish of similar assertiveness, produces
more stable communities than mixing the ends of the spectrum.
2. Territory
Most reef fish aggression is territorial, defending a specific area of
the rockwork, a cave, a hosting site, or a section of open water. A fish
that isn’t competing for the same territory as another fish is often
ignored entirely by species that would otherwise be aggressive. The
practical implication: fish that occupy different physical zones of the
tank are more compatible than fish that compete for the same space.
A watchman goby lives in and around a burrow on the sandbed. A firefish
hovers at the entrance of a rockwork cave in the mid-tank. A clownfish
hosts a specific coral or anemone. A lawnmower blenny grazes rockwork
surfaces in the upper tank. These four species rarely interact directly
because they occupy separate niches, their “territories” don’t overlap.
They can coexist in a 20-gallon tank that would not successfully house
four fish competing for the same cave.
3. Tank Size
Tank size determines how many separate territories the tank can support.
A 20-gallon tank has physical space for 2–3 meaningful fish territories, beyond that, every new fish is competing for space that’s already
claimed. Aggression that wouldn’t appear in a larger tank becomes
inevitable when fish have nowhere to establish exclusive territory.
Tank size recommendations for specific species aren’t arbitrary, they
reflect the minimum physical space that species needs to establish
territory, express natural behavior, and coexist with a realistic
community of other fish. A yellow tang in a 40-gallon tank isn’t just
too large for the space, it can’t establish and maintain the territory
it needs to be behaviorally stable.
4. Stocking Order
The fish added first establishes territory first. When a new fish is
introduced to an established tank, the established fish have home-field
advantage, they know the rockwork, know the feeding spots, and have
already claimed the caves and hosting sites. The new fish must establish
itself in what’s left.
This is why stocking order is one of the most important compatibility
decisions: add the most peaceful species first and the most
assertive species last. A tank where a damselfish was added
first will be damselfish-dominated regardless of what’s added after it.
A tank where clownfish were added first will have those clownfish
defending their hosting site against every subsequent addition. Start
peaceful, end with any assertive species you intend to keep.
Compatibility Reference, Common Beginner Species
| Species | Temperament | Min. Tank Size | Territory Type | Compatible With | Incompatible With | Stocking Position |
|---|---|---|---|---|---|---|
| Ocellaris clownfish (pair) | Peaceful to mildly assertive around hosting site | 20 gallons | Hosting site (coral, anemone, or substitute) | Most peaceful fish; gobies, blennies, firefish, cardinalfish, royal gramma | Other clownfish species (especially maroon); aggressive fish that invade hosting territory | First or early, establish before more assertive species |
| Maroon clownfish | Aggressive, one of the most territorial reef fish available | 30 gallons minimum | Hosting site + surrounding area; will defend aggressively | Large, assertive tank mates only; not compatible with most peaceful fish in tanks under 75 gallons | Other clownfish; most peaceful small fish; anything that approaches its hosting territory | Last, add after all other fish are established; or keep as the only fish |
| Firefish goby (Nemateleotris magnifica) | Peaceful, easily bullied | 20 gallons | Cave entrance; hovers nearby; retreats when threatened | Ocellaris clownfish, watchman goby, royal gramma (usually), cardinalfish, blennies | Damsels, dottybacks, aggressive wrasses, maroon clownfish; a second firefish unless bonded pair (they fight in small tanks) | First or early, very peaceful, gets established before assertive fish arrive |
| Royal gramma (Gramma loreto) | Mildly territorial around cave; peaceful toward most dissimilar species | 30 gallons | Cave or overhang, defends it actively but rarely pursues fish in open water | Clownfish, firefish, watchman goby, blennies, cardinalfish, peaceful wrasses | Other cave-dwelling species competing for same space (dottybacks, basslets); a second royal gramma in tanks under 75 gallons | Early, add before dottybacks or other cave-dependent fish |
| Tailspot blenny (Ecsenius stigmatura) | Peaceful; occasionally nips at large-polyp LPS corals (individual variation) | 20 gallons | Rockwork perch; moves around but returns to favorite spots | Most peaceful community fish; clownfish, firefish, gobies, cardinalfish | Other blennies of the same genus in small tanks; watch for coral nipping in tanks with hammer or torch corals | Any position, peaceful throughout |
| Lawnmower blenny (Salarias fasciatus) | Peaceful; requires adequate algae growth to sustain it | 30 gallons | Grazes rockwork; no fixed territory | Most peaceful community fish | Other lawnmower blennies; tanks without adequate algae growth (it will slowly starve) | Any position; add only when algae is present in the tank |
| Yellow watchman goby + pistol shrimp | Peaceful; occasional minor territorial display toward other bottom-dwelling fish | 20 gallons (30 preferred for pistol shrimp burrow) | Sandbed burrow; rarely leaves immediate burrow area | Most fish; the symbiotic pistol shrimp partnership is the primary “relationship”, fish cohabitation is broad | Aggressive fish that pursue bottom-dwellers; sand-sifting gobies may compete for burrow space in small tanks | Any position; add after sandbed is established and stable |
| Bangaii cardinalfish | Peaceful; slow-moving; nocturnal feeder | 20 gallons | Open water hover; stationary for long periods | Most peaceful fish; clownfish, firefish, blennies, gobies; pairs or trios in larger tanks | Fast, aggressive fish that compete at feeding; ensure cardinalfish receive food directly during feeding | Any position, very peaceful |
| Six-line wrasse (Pseudocheilinus hexataenia) | Moderately aggressive, can become highly territorial once established, particularly toward small, passive fish | 30 gallons | Open rockwork; patrols actively | Larger, assertive fish; clownfish (usually); tangs; fish added before or simultaneously | Firefish (frequently harassed), small gobies, assessors, flasher wrasses in small tanks; any fish added after the six-line is established | Last or second-to-last, its aggression toward new additions is a common cause of livestock loss |
| Damselfish (Chromis, Dascyllus, Chrysiptera) | Aggressive to highly aggressive, territorial beyond their size; establish dominance early and maintain it | 30 gallons for Chromis in groups; 40+ for territorial species | Fixed territory in rockwork; actively chases and displaces other fish | Other damsels of same species in groups (Chromis only, and only in 40+ gallon tanks); assertive fish of significantly larger size | Almost everything added after them; any fish attempting to share their territory | Last if kept at all; ideally avoided in beginner community tanks |
| Yellow tang (Zebrasoma flavescens) | Mildly aggressive toward similar-looking species; peaceful toward dissimilar fish | 75 gallons minimum | Open water; patrols a large area; requires swimming room | Clownfish, gobies, blennies, cardinalfish, peaceful wrasses; other tang species in 150+ gallon tanks | Other yellow tangs (unless 150+ gal); similar-shaped tangs (sailfin, scopas) in tanks under 150 gallons | Last, its patrol territory means it needs established community to integrate with |
| Dottyback (Pseudochromis, Pictichromis) | Aggressive, highly territorial around cave; actively pursues small, passive fish | 30 gallons | Cave or crevice; defends aggressively and pursues intruders into open water | Larger assertive fish; clownfish (usually); fish added simultaneously | Firefish, small gobies, assessors, flasher wrasses, any newly added fish after dottyback is established | Last, extremely difficult to remove from established rockwork; its aggression worsens once entrenched |
Combinations That Reliably Work, and Combinations That Fail
Reliable Community Combinations by Tank Size
20–25 Gallon Reef
| Fish | Qty | Why It Works |
|---|---|---|
| Ocellaris clownfish | Pair (2) | Establishes hosting territory; rarely engages other fish unless they approach the host |
| Firefish goby | 1 | Occupies cave entrance; separate physical niche from clownfish hosting territory |
| Tailspot blenny | 1 | Rockwork grazer; different physical zone; non-territorial toward clownfish and firefish |
Total: 4 fish. Fully stocked for a 20-gallon AIO. Don’t add more.
Add in order listed, clownfish first, firefish second, blenny third.
30–40 Gallon Reef
| Fish | Qty | Why It Works |
|---|---|---|
| Ocellaris clownfish | Pair (2) | Hosting territory anchor for the community |
| Royal gramma | 1 | Cave-dwelling; occupies a distinctly different physical zone from clownfish |
| Yellow watchman goby | 1 (+ pistol shrimp) | Sandbed territory; no overlap with clownfish, gramma, or blenny zones |
| Tailspot or lawnmower blenny | 1 | Rockwork grazer; different niche; peaceful toward all above |
Total: 5 fish. Moderately stocked for a 30-gallon. Add in order listed.
Each fish occupies a different physical zone, hosting area, cave,
sandbed, open rockwork, which is why this community coexists reliably.
50–75 Gallon Reef
| Fish | Qty | Why It Works |
|---|---|---|
| Ocellaris clownfish | Pair (2) | Hosting anchor |
| Royal gramma | 1 | Cave territory; peaceful toward dissimilar species |
| Yellow watchman goby + pistol shrimp | 1 + 1 | Sandbed zone; symbiotic partnership adds behavioral interest |
| Bangaii cardinalfish | 1–2 | Open water hover; peaceful; doesn’t compete for any of the above territories |
| Lawnmower blenny | 1 | Requires adequate algae growth at this tank size; rockwork grazer |
| Yellow tang | 1 | 75 gallons is the minimum viable size; adds significant activity and color; add last |
Total: 7–8 fish. Near fully stocked at 75 gallons. Tang goes in last
after the community is established.
Combinations That Consistently Fail
| Combination | Why It Fails | What Happens |
|---|---|---|
| Damselfish added first + any peaceful fish added later | Damselfish establishes territory before peaceful fish arrive; home-field advantage makes it impossible to displace | Every new fish is harassed; subordinate fish hide, refuse food, lose condition, and eventually die or must be removed. The damselfish wins. |
| Six-line wrasse + firefish in tanks under 40 gallons | Six-line perceives firefish as a threat or competitor; actively pursues and harasses | Firefish hides constantly, stops eating, loses condition within 2–3 weeks. Outcome: firefish death or removal. |
| Two firefish in tanks under 40 gallons (unless bonded pair) | Firefish are aggressive toward conspecifics outside of bonded pairs; two unrelated individuals fight | One firefish becomes dominant; the subordinate hides and is eventually starved out or jumps. |
| Maroon clownfish + any small peaceful fish | Maroon clownfish are highly territorial and aggressive well beyond their hosting site | Small peaceful fish, firefish, assessors, small gobies, are harassed continuously. The maroon dominates the tank. |
| Two different tang species in tanks under 100 gallons | Tangs are territorial toward other tangs; insufficient space for both to establish separate patrol territories | One tang chases the other continuously; subordinate tang shows stress marks (HLLE), loses color, may develop disease from immune suppression. |
| Dottyback + firefish or small gobies | Dottybacks pursue cave-dwelling and small passive fish aggressively from an established territory | Firefish and gobies hide; subordinate fish stop eating; eventual death or removal required. |
| Mandarin dragonet in a tank without a refugium | Not a compatibility failure, a feeding failure; mandarin starves without adequate copepod population | Mandarin slowly loses weight over 2–4 months while appearing otherwise healthy; eventual death from starvation. |
| Any fish added to a tank with a previously established six-line wrasse | Six-line wrasses become highly territorial once established; new additions are targets | New fish is harassed immediately upon introduction; particularly severe toward fish of similar size or body shape. |
Stocking Order, The Rule That Prevents Most Compatibility Problems
If you follow one rule about fish compatibility, make it this:
add fish from most peaceful to most assertive, never the
reverse.
The fish added first establishes territory first. A peaceful firefish
added before an ocellaris clownfish will have a cave established before
the clownfish arrives, the clownfish establishes a hosting site and
the two rarely interact. The same two species added in the reverse order
produce the same outcome. But a damselfish added first establishes
a dominance hierarchy that the clownfish and firefish must negotiate
against, the damselfish has positional advantage it will defend
indefinitely.
The stocking order for a typical beginner community:
- Clean-up crew first (after cycle completes)
- Most peaceful fish, firefish, cardinalfish, assessors
- Mildly assertive fish, clownfish pair, watchman goby
- Cave-dwelling moderates, royal gramma
- Active grazers, blennies
- Most assertive species last, tangs, wrasses, any species with known territorial behavior
When aggression problems appear after adding a new fish, the cause is
almost always either incorrect stocking order (the aggressive species
was already established) or an incompatible size or temperament match
(a six-line wrasse added to a tank with firefish). The fix is the same
in both cases: remove the aggressor or the victim before the victim
loses too much condition to recover.
Reef Safe, What It Actually Means
“Reef safe” describes whether a fish is safe around corals and
invertebrates, not whether it’s safe around other fish.
A fish can be fully reef safe and still be highly aggressive toward
other fish. Damsels are reef safe. Dottybacks are reef safe. Maroon
clownfish are reef safe. All three will make most beginner community
tanks miserable for every other fish in them.
The reef safe designation also has individual variation. Most tailspot
blennies are reef safe, but individual fish occasionally develop a
taste for large-polyp LPS corals (hammer, torch, frogspawn). Most
six-line wrasses are reef safe, but individuals occasionally nip at
ornamental shrimp. “Reef safe” is a population-level statement, not
a guarantee about a specific individual.
Fish to research specifically before adding to a reef:
- Triggers, not reef safe; will eat invertebrates and potentially corals
- Large angelfish, variable reef safety; many species nip at LPS and clam mantles
- Pufferfish, not reef safe; will eat invertebrates and bite coral
- Hawkfish, not safe with ornamental shrimp; will eat pistol shrimp, cleaner shrimp, and small crustaceans
- Lionfish, not safe with any fish small enough to fit in their mouth
- Larger wrasses (Coris, Thalassoma), not safe with ornamental shrimp and small invertebrates
See: Best Fish for a Beginner Reef Tank
for species-specific reef safety and full profiles.
When a Compatibility Problem Appears, What to Do
Aggression that’s been present for more than a week without resolving
won’t resolve on its own. A fish that’s hiding constantly, refusing
food, or showing visible weight loss from a compatibility problem
cannot stay in the tank without intervention.
In Order of Least to Most Disruptive
- Rearrange the aquascape. Moving rock disrupts all
established territories simultaneously, the aggressor loses its
positional advantage and must re-establish from scratch alongside
the fish it was pursuing. This is most effective when aggression
has been running for less than 2–3 weeks. - Use a tank divider. A mesh divider installed
across the tank allows both fish to see each other without physical
contact for 5–7 days. Some aggressor/victim situations de-escalate
through this exposure without contact. Remove the divider and observe.
If aggression resumes immediately, move to the next step. - Remove the aggressor temporarily. Place the aggressor
in a separate container or quarantine tank for 5–7 days. During
this time, the victim establishes territory in the display. When
both fish are reintroduced simultaneously, the positional advantage
of the original aggressor is partially reset. - Permanently remove one fish. Some combinations
simply don’t work regardless of intervention. A damselfish that’s
been established for months will not stop defending its territory.
A six-line that’s harassing a firefish may do so indefinitely.
Return one fish to the store rather than watching the subordinate
fish decline over weeks.
See: Why Are My Reef Tank Fish Hiding?
for diagnosing whether hiding is caused by aggression, water quality,
disease, or natural behavior.
Compatibility Quick Reference
| Question | Answer |
|---|---|
| Can I keep two clownfish? | Yes, one bonded pair of the same species only. Two different clownfish species will fight. Two ocellaris added simultaneously as juveniles will pair successfully. |
| Can I keep two firefish? | Only as a bonded pair (purchased together as juveniles). Two unrelated firefish will fight in tanks under 40 gallons. |
| Can I keep a tang in a 30-gallon tank? | No. Minimum 75 gallons for a yellow tang; larger for most other species. Tangs in undersized tanks develop HLLE and behavioral stress. |
| Are damsels good starter fish? | No. They’re hardy but aggressive. A damsel added first dominates the tank and makes adding any peaceful fish extremely difficult. |
| Can a six-line wrasse live with a firefish? | Risky in tanks under 40 gallons. Six-line wrasses frequently harass firefish once established. If attempted, add the firefish first and the six-line last. |
| Can I keep two tangs? | Only in tanks 150 gallons or larger, and only if they’re visually dissimilar species. Two yellow tangs should only be kept in 180+ gallons. |
| Is a royal gramma compatible with a firefish? | Usually yes, they occupy different physical zones (gramma in caves, firefish hovering at cave entrance). Add firefish first. |
| What’s the safest first fish for a community reef? | A bonded pair of captive-bred ocellaris clownfish. Hardy, reef-safe, establishes a clear territory without aggressing other species. |
| Can hawkfish live with cleaner shrimp? | No. Hawkfish eat ornamental shrimp, pistol shrimp, cleaner shrimp, fire shrimp. Don’t combine them. |
| What’s the most important compatibility rule? | Stocking order, add most peaceful first, most assertive last. The fish added first establishes territory first and has home-field advantage indefinitely. |
Plan the Community Before Buying the Fish.
Fish compatibility research done before purchase takes 30 minutes.
Resolving a compatibility failure that’s already in the tank can take
weeks and cost livestock. Know the full intended community, know the
stocking order, and know which combinations don’t work in your specific
tank size. The reef tank that has a plan from the start avoids the most
common and most preventable source of livestock loss in the hobby.
Best Fish for a Beginner Reef Tank
Follow the Full Beginner Roadmap →