Can Knight Goby and Swordtail Live Together?

🟡Possible with Caution

Keeping Knight Goby and Swordtail together is possible but requires caution, though some care is needed. Provide a spacious tank of at least 132 litres with plenty of hiding spots to reduce stress. Monitor behaviour closely, especially during the first few weeks.


At a Glance

Knight Goby

Stigmatogobius sadanundio

Swordtail

Xiphophorus hellerii

🐠Family Group
Knight Goby
Gobies & Gudgeons
Swordtail
Livebearers
Temperament
Knight Goby
Semi-Aggressive (6/10)
Swordtail
Mostly Peaceful (4/10)
Temperature
✓ Compatible
Knight Goby
20–28°C
Swordtail
21–28°C
pH Range
✓ Compatible
Knight Goby
7–8.5
Swordtail
7–8.3
Hardness (dGH)
✓ Compatible
Knight Goby
10–30
Swordtail
12–30
Water Type
✓ Compatible
Knight Goby
Brackish Tolerant
Swordtail
Brackish Tolerant
Flow Preference
✓ Compatible
Knight Goby
Moderate
Swordtail
Moderate
Min Tank Volume
Combined: 132 L
Knight Goby
75 L
Swordtail
110 L
Swimming Level
Shared: 1 zone
Knight Goby
MiddleBottom
Swordtail
TopMiddle
🏷️Behavior Tags
Knight Goby
Fin NipperShrimp EaterFry PredatorTerritorial (Defends specific area)Digger (Disturbs Substrate)Aggressive to same species/look-alikes
Swordtail
Hyperactive / Fast SwimmerJumper (Lid Required)Fry Predator

Behaviour & Temperament

Knight Goby is a moderately assertive species (6/10), while Swordtail is generally mild-mannered (4/10). This modest difference means Knight Goby may occasionally assert dominance over Swordtail.

Knight Goby and Swordtail both frequent the Middle (Open Water) region of the setup. This overlap can increase competition for space, so providing ample room and cover is important to keep both species comfortable.

Worth noting: Swordtail is a known jumper, so a tight-fitting lid is essential.

To improve the chances of a peaceful coexistence in this community tank: Provide a significantly larger tank (at least 50% more volume than the minimum) to allow both Knight Goby and Swordtail to establish separate territories. Add plenty of line-of-sight breaks using driftwood, rocks, and dense planting to reduce territorial confrontations. Keep fin nippers in larger groups to distribute nipping behaviour among conspecifics rather than tank mates.

Water Parameters

The safe temperature window for both species falls between 21°C and 28°C. Aim for the midpoint of this range (around 24.5°C) for optimal comfort.

Both fish can tolerate a pH between 7 and 8.3. Maintaining a stable value within this band is more important than hitting an exact number.

For general hardness, the shared comfort zone is 12–30 dGH. Regular testing will ensure conditions stay within this range. An aquarium test kit is recommended for monitoring.

Tank Setup

To house Knight Goby and Swordtail together, plan for an aquarium of at least 132 litres with a minimum length of 80 cm. This accounts for the larger species' space requirements with an additional 20 % buffer to reduce territorial tension.

Because this pairing requires extra vigilance, include plenty of hiding spots — caves, driftwood, and dense plant clusters — so the less dominant fish can retreat when needed.

Specific environmental needs for this combination include: Sand (Sifters), Shells (Breeding/Hiding), Driftwood (Digestion/Hiding), Plants - Densely covered. Meeting these requirements will help both species thrive.

Both species do well with moderate (standard) water movement, so a standard filtration setup rated for the tank volume should suffice.

Find the right tank equipment

Browse tanks, décor, and equipment suited for this setup.

Frequently Asked Questions

Can Knight Goby and Swordtail live together?

They can coexist, but the pairing requires careful monitoring. Provide ample space (at least 132 litres), plenty of hiding spots, and watch for signs of stress or aggression.

What size tank do Knight Goby and Swordtail need?

A minimum of 132 litres (tank length at least 80 cm) is recommended. This provides enough space for both species to establish their own areas and reduces the likelihood of territorial disputes.

What water temperature is best for Knight Goby and Swordtail together?

Keep the aquarium between 21°C and 28°C. A target of around 24.5°C sits comfortably within both species' preferred ranges.

Are Knight Goby or Swordtail aggressive?

Knight Goby is moderately assertive (6/10) and Swordtail is generally mild-mannered (4/10). Their similar temperaments generally lead to a peaceful coexistence.

What pH do Knight Goby and Swordtail need?

Both species overlap in the 7–8.3 pH range. Consistency is key — avoid sudden swings, and test regularly to stay within this window.

Will Knight Goby nip Swordtail's fins?

Knight Goby is a known fin nipper. If Swordtail has long or flowing fins, there is a real risk of fin damage. Keeping Knight Goby in a larger group can help redirect nipping behaviour toward conspecifics.

How do I manage Knight Goby's territorial behaviour?

Provide line-of-sight breaks using rocks, driftwood, and dense planting. A larger tank gives Knight Goby space to claim a territory without encroaching on the other fish's area. Adding décor that divides the tank into distinct zones works especially well.


Related Comparisons