Three-lined pencilfish
The pencilfish with three horizontal stripes and red patches at the base of every fin, and one that changes its pattern completely at night — the stripes break into blotches within minutes of the lights going out.
Quick profile
- Scientific name
- Nannostomus trifasciatus
- Adult size
- 3.5–5 cm (1.4–2 in)
- Lifespan
- 3–5 years
- Temperature
- 24–28 °C (75–82 °F)
- pH
- 5–6.8
- Hardness
- 0–8 °dGH
- Minimum tank
- 60 L (16 US gal)
- Minimum length
- 60 cm
- Swimming zone
- Midwater
- Social
- Schooling — at least 8
- Diet
- Micropredator
- Overall confidence
- low confidence
What keeping this species involves
Needs soft acidic water for colour and small food for the mouth. Undemanding in every other respect.
Slow blackwater margins among overhanging vegetation and litter.
Identity and names
- Common name
- Three-lined pencilfish
- Scientific name
- Nannostomus trifasciatus
- Family
- Lebiasinidae
- Order
- Characiformes
- Class
- Actinopterygii
- Also sold as
- Nannostomus trifasciatus, three-striped pencilfish
Adult size and growth
3.5–5 cm (1.4–2 in)
Typical lifespan in an aquarium: 3–5 years. Almost every animal sold in a shop is a juvenile, so the tank has to suit the size in the first line rather than the size in the bag.
Water and tank requirements
A shoal that holds in the upper-middle water needs horizontal run with cover along it.
Why these ranges: Amazonian blackwater margins. The band matters for colour and spawning rather than survival, and the fish will persist well above it without ever looking like the photograph.
| Requirement | Value | Notes |
|---|---|---|
| Temperature | 24–28 °C (75–82 °F) | Stability matters more than hitting an exact figure. |
| pH | 5–6.8 | A stable pH outside the ideal band is usually better than an unstable one inside it. |
| General hardness | 0–8 °dGH | Check your supplier's published figure before choosing species. |
| Minimum volume | 60 L (16 US gal) | A floor, not a recommendation. |
| Minimum footprint | 60 cm long | A shoal that holds in the upper-middle water needs horizontal run with cover along it. |
| Water flow | low | Match the outflow to this rather than to the filter's rating. |
| Lid required | Recommended | Reduces evaporation and prevents accidents. |
| Structure | Leaf litter, floating plants, dim light and tannin-stained water. |
Behaviour
- Changes to a blotched night pattern within minutes of darkness, and back at dawn.
- Holds in the upper-middle water and moves in short deliberate passes.
Telling males from females
Males carry stronger red at the fin bases and spar; females are rounder and paler.
Feeding
The mouth is small and upturned; it feeds in the upper water and ignores what has sunk.
- Diet type
- Micropredator
- Staples
- Small dry foods, Frozen cyclops and daphnia, Baby brine shrimp
Breeding
- Strategy
- Egg-scattering among fine-leaved plants
- Difficulty
- challenging
- Parental care
- none
Tankmates and compatibility
Assessments are derived from stored traits by the compatibility engine, with the reasoning shown. A verdict is a statement about probability, not a guarantee — individual temperament can override it.
| Towards | Risk | What it means |
|---|---|---|
| Small fish | none | Anything that fits in the mouth is at risk once this species reaches adult size. |
| Adult dwarf shrimp | none | Cover reduces losses but rarely prevents them where the risk is high. |
| Shrimplets | moderate | Determines whether a shrimp colony can grow rather than merely persist. |
| Snails | none | Applies to snails you wanted as well as snails you did not. |
| Long or trailing fins | none | Fin damage is an entry point for secondary infection. |
| Plants | none | Tough species such as Anubias and Java fern survive most grazers. |
Any pair in the catalogue can be assessed with the compatibility checker.
Welfare considerations
Points where the way this species is commonly sold or kept differs from what it actually needs.
- The night pattern is normal and alarms keepers who see it for the first time with a torch.
- Wild-caught and easily outcompeted at feeding time by anything faster.
Problems to watch for
Most problems in a tank containing this species are general rather than species-specific. Start with the troubleshooting index and work from the observation rather than from a guess at the cause.
What AquariumHQ does not yet hold
Species-level disease susceptibility is modelled in the graph and is not yet populated. Health pages will not be published until each condition has veterinary sourcing, because health content written without evidence is the most harmful thing this product could publish. The gap is recorded in the coverage report.
Where it comes from
- Native range
- Amazon and Orinoco basins, and the Guianas
- Habitat
- Slow blackwater margins among overhanging vegetation and litter.
What the checklists say
12 distribution statements retrieved from GBIF checklists. Establishment means is reproduced from the source where it states one, and left unstated where it does not — a record of presence is not a record of origin.
| Status | Places | What this means |
|---|---|---|
| Native | 6 | A checklist states the species occurs here naturally. |
| Recorded as present, establishment means not stated | 6 | The source records the species as present and does not say whether it is native or introduced. AquariumHQ does not fill that in. |
Evidence
Every stored value with the kind of support behind it and where to check it. Evidence type and confidence are separate axes: an editorial position held confidently and a measurement held tentatively are different things.
| Claim | Value | Evidence type | Confidence | Source |
|---|---|---|---|---|
| scientific name | Nannostomus trifasciatus | Observed / measured | high confidence | Catalogue of Life; GBIF — Global Biodiversity Information Facility |
| native range | Amazon and Orinoco basins, and the Guianas | Observed / measured | moderate confidence | GBIF — Global Biodiversity Information Facility |
| adult size | 3.5–5 cm | Aquarium-literature consensus | low confidence | AquariumHQ husbandry synthesis |
| lifespan | 3–5 years | Aquarium-literature consensus | low confidence | AquariumHQ husbandry synthesis |
| temperature | 24–28 °C | Aquarium-literature consensus | low confidence | AquariumHQ husbandry synthesis |
| ph | 5–6.8 pH | Aquarium-literature consensus | low confidence | AquariumHQ husbandry synthesis |
| general hardness | 0–8 °dGH | Aquarium-literature consensus | low confidence | AquariumHQ husbandry synthesis |
| minimum tank volume | ≥ 60 L | AquariumHQ editorial position | moderate confidence | AquariumHQ husbandry synthesis |
| minimum tank length | ≥ 60 cm | AquariumHQ editorial position | moderate confidence | AquariumHQ husbandry synthesis |
| minimum group size | ≥ 8 | AquariumHQ editorial position | low confidence | AquariumHQ husbandry synthesis |
Last reviewed 2026-08-10. Values labelled as an aquarium-literature consensus are AquariumHQ editorial positions rather than measurements — see how evidence is handled.
Why we say this
What each figure on this page rests on, and how far that is from being independently established.
Every figure on this page has a provenance. Open any claim to see what AquariumHQ holds for it, which sources say what, and what a claim of that kind actually needs. Different claims need different evidence: an accepted scientific name is settled by one authority, while a legal restriction needs a current primary instrument. A single source is often the right answer rather than a thin one.
scientific nameAquariumHQ's own position, externally checkableBased on a verified authoritative source.
AquariumHQ's own position on a claim an external source could support.
What this kind of claim needs: accepted scientific name and classification — 1 authoritative source in an appropriate context. Checked against gbif on 2026-08-13. One authoritative backbone is what this class requires.
What would improve this: Go and read a source. This is reachable and has not been reached.
native rangeAquariumHQ's own position, externally checkableBased on a verified authoritative source.
AquariumHQ's own position on a claim an external source could support.
What this kind of claim needs: where the species occurs — 1 authoritative source in an appropriate context. 12 distribution statements held from GBIF checklists — native in 6 country. Establishment means is reproduced from the source, never inferred from occurrence.
What would improve this: Go and read a source. This is reachable and has not been reached.
adult sizeAquariumHQ's own position, externally checkableAquariumHQ's own position, derived from evidenced inputs.
AquariumHQ's own position on a claim an external source could support.
What this kind of claim needs: size a well-kept specimen reaches — no external source is required, provided AquariumHQ shows its reasoning. No external source is required for this class. AquariumHQ's position stands on its stated reasoning.
What would improve this: Go and read a source. This is reachable and has not been reached.
lifespanAquariumHQ's own position, externally checkableAquariumHQ's own position, derived from evidenced inputs.
AquariumHQ's own position on a claim an external source could support.
What this kind of claim needs: what aquariumhq advises for keeping — no external source is required, provided AquariumHQ shows its reasoning. No external source is required for this class. AquariumHQ's position stands on its stated reasoning.
What would improve this: Go and read a source. This is reachable and has not been reached.
temperatureAquariumHQ's own position, externally checkableAquariumHQ's own position, derived from evidenced inputs.
AquariumHQ's own position on a claim an external source could support.
What this kind of claim needs: what aquariumhq advises for keeping — no external source is required, provided AquariumHQ shows its reasoning. No external source is required for this class. AquariumHQ's position stands on its stated reasoning.
What would improve this: Go and read a source. This is reachable and has not been reached.
phAquariumHQ's own position, externally checkableAquariumHQ's own position, derived from evidenced inputs.
AquariumHQ's own position on a claim an external source could support.
What this kind of claim needs: what aquariumhq advises for keeping — no external source is required, provided AquariumHQ shows its reasoning. No external source is required for this class. AquariumHQ's position stands on its stated reasoning.
What would improve this: Go and read a source. This is reachable and has not been reached.
general hardnessAquariumHQ's own position, externally checkableAquariumHQ's own position, derived from evidenced inputs.
AquariumHQ's own position on a claim an external source could support.
What this kind of claim needs: what aquariumhq advises for keeping — no external source is required, provided AquariumHQ shows its reasoning. No external source is required for this class. AquariumHQ's position stands on its stated reasoning.
What would improve this: Go and read a source. This is reachable and has not been reached.
minimum tank volumeAquariumHQ's judgement — no authority publishes thisAquariumHQ's own position, derived from evidenced inputs.
No external authority publishes this. The rationale carries the reasoning.
What this kind of claim needs: minimum tank size — no external source is required, provided AquariumHQ shows its reasoning. No authority publishes this. AquariumHQ derives it, and the derivation is recorded with its inputs and assumptions.
What would improve this: Keep the rationale current. There is no source to find.
minimum tank lengthAquariumHQ's judgement — no authority publishes thisAquariumHQ's own position, derived from evidenced inputs.
No external authority publishes this. The rationale carries the reasoning.
What this kind of claim needs: minimum tank size — no external source is required, provided AquariumHQ shows its reasoning. No authority publishes this. AquariumHQ derives it, and the derivation is recorded with its inputs and assumptions.
What would improve this: Keep the rationale current. There is no source to find.
minimum group sizeAquariumHQ's judgement — no authority publishes thisAquariumHQ's own position, derived from evidenced inputs.
No external authority publishes this. The rationale carries the reasoning.
What this kind of claim needs: group size — no external source is required, provided AquariumHQ shows its reasoning. No external source is required for this class. AquariumHQ's position stands on its stated reasoning.
What would improve this: Keep the rationale current. There is no source to find.
Group size and social behaviour
Males spar continuously in a group without damage. Small numbers turn the sparring on to one fish.