Shoalmate › Fish guides › Three-lined pencilfish
Three-lined pencilfish
Nannostomus trifasciatus · Lebiasinidae
Three-lined pencilfish (Nannostomus trifasciatus) is a peaceful fish from South America that grows to about 5 cm. It needs a tank of at least 60 litres and 60 cm long, water at 24 to 29 °C and pH 5 to 7. Keep at least 6 together.

Care at a glance
- Adult size
- 5 cm
- Smallest tank
- 60 litres, 60 cm long
- Group size
- 6 or more
- Temperament
- Peaceful
- Temperature
- 24 to 29 °C (75 to 84 °F)
- pH
- 5 to 7
- Hardness
- 1 to 10 dGH
- Swims
- Middle
- Diet
- Micro-omnivore: crushed flake, baby brine shrimp
- Origin
- South America: Blackwater margins of the central Amazon
Good to know
- A shoaling fish: it feels safe and shows its best colour only in a group.
- Best added to a mature, stable tank, not a new one.
Could work with Three-lined pencilfish
Fish from the same part of the world (South America), which share its water and suit its behaviour. These are a few of the 187 good matches in Shoalmate, not the only ones: a fish that isn't listed can work too, as long as it isn't one of the kinds to avoid below.
- Beckford's pencilfish5 cm · peaceful · South America
- Silver hatchetfish6 cm · peaceful · South America
- Marbled hatchetfish3.5 cm · peaceful · South America
- Marbled headstander13 cm · semi-aggressive · South America
- Striped headstander15 cm · semi-aggressive · South America
- Adolfo's corydoras5 cm · peaceful · South America
- Bloodfin tetra5 cm · peaceful · South America
- Emperor tetra5 cm · peaceful · South America
- German blue ram5 cm · peaceful · South America
- Guppy (fancy)5 cm · peaceful · South America
- Lemon tetra5 cm · peaceful · South America
- Mystery snail5 cm · peaceful · South America
Try to avoid
- Fish that need different waterA tank mate has to be comfortable somewhere within 24 to 29 °C, pH 5 to 7 and 1 to 10 dGH. Coldwater fish and hard, alkaline-water fish fall outside this. For example Goldfish (common / comet) and Tropheus (moorii).
- Fish big enough to eat itFish that eat other fish and grow to about 16 cm or more can swallow an adult Three-lined pencilfish (5 cm), even if they grew up together. For example Salvin's cichlid, Striped Raphael catfish and Peacock eel.
- Aggressive fish bigger than itAggressive and predatory fish of about 8 cm or more chase, stress and injure peaceful fish like Three-lined pencilfish. For example Paradise fish, African butterflyfish and Convict cichlid.
Care guides
- Shoaling fish: why group size mattersShoaling fish feel safe only in a group of their own kind. Too few and they hide, lose colour or nip. Most small shoalers need at least 6 to 8.
- How to choose fish that live well togetherMatch water and temperature, temperament and size, and avoid fin-nippers with long-finned fish and predators with anything small enough to eat.
- How to acclimate new fish to your aquariumFloat the bag 15 to 20 minutes to match temperature, mix in tank water if pH differs, then net the fish in. Never add shop water.
- How to quarantine new aquarium fishKeep new fish in a separate tank for about 4 weeks, watching for disease, before they join your main tank. It's the best way to keep illness out.
Will Three-lined pencilfish suit your tank?
Add your tank and your fish to Shoalmate and it checks Three-lined pencilfish against all of them: tank size, group size, water and temperament, with the reason for every warning. Free for one tank, nothing to install.
Create free accountScientific name and family from Wikidata.