Wiki
Three-lined pencilfish (Nannostomus trifasciatus)
Photo: TsunamicarlosPublic domain · Wikimedia Commons
Tetras and characins

Nannostomus trifasciatus

Also calledThree-lined pencilfish

A larger pencilfish with three dark lines and red fin spots. It is more aggressive than most of its relatives, and rival males spar regularly in daylight. Wild colour forms vary, and many fish sold are farmed. It is best in a planted tank with gentle flow.

Temperature24–28 °C
pH5–7
Adult size3.5 cm
Smallest tank60 L
DifficultyMedium

How it lives

Group
6 or more · loose shoal
Temper
Peaceful, but males claim small territories and are more aggressive than most relatives
Swims
Middle
Eats
Small foods near the surface. In nature it is a micropredator on tiny invertebrates and zooplankton. It takes suitable dried foods, but give daily small live and frozen foods such as Artemia nauplii, Moina or grindal worm.
Lives
5 yearsest.
Breeding
Egg scatterer with no parental care. Males are more intensely coloured, especially when spawning, and females are noticeably rounder-bodied. In good condition adults spawn often, and a few fry may appear without help. For more fry, set up a small, very dim tank of mature water with a mesh base so eggs fall through. Plastic grass matting or glass marbles also work.
Waste
Low bioload
  • Add plants, floating plants, driftwood and leaf litter to break lines of sight.
  • In small tanks keep only one male.
  • Choose a dark substrate and gentle filtration, such as an air-powered sponge filter.
  • Prefers soft water.

Will it live in my water?

Type your own readings, or compare typical tap water from a few cities. The yellow pin is your water; the striped band is where it survives, the solid band is its comfort zone.

Temperature
24–28 °C · tolerated range
Survives 24–28 °Cest.
Good25 °C
pH
5–7 · tolerated range
GoodpH 7.0
Hardness
1–10 dGH · tolerated range
Good8 dGH
Good

Good fit for your water

All three readings sit inside its range.

Type your own readings from a test kit. Guidance, not a guarantee.

Connections

Three-lined pencilfish in the wild

It is widespread through rivers of Guyana and the western Amazon basin. Records exist from most major Amazon tributaries in this region. It lives in sluggish tributaries, small rivers and swampy areas with dense plants, submerged wood and leaf litter. It is often found in flooded forest and floodplain lakes in blackwater regions. Colour pattern varies by origin, and some forms were once described as separate species.

Three-lined pencilfish behaviour

It is relatively peaceful but does not cope well with very boisterous or much larger tankmates. Keep it with similar-sized peaceful characids and smaller catfish, and leave out sedate surface-dwellers such as hatchetfish. It works as a dither fish for Apistogramma and other dwarf cichlids. It is a shoaling rather than schooling species, and rival males spar often in daylight.

The lesson

“I kept two males in a small tank.”

What happens: One was bullied.

What to do: Territory scales with tank size; in confined space serious injury or death can follow.

Sources

  1. SeriouslyFish
  2. FishBase

est. marks an estimate or a figure only one source gives.

How we made this

Written with AI assistance from the sources listed here and checked against them (September 2026). Not yet reviewed by an expert. Report a mistake · How we write and check pages

Cite this page

Copy a ready-made line to credit this page in your own writing.

Citation

Scape Eden. “Three-lined pencilfish care”. Scape Eden aquarium wiki, updated October 4, 2026. https://scapeeden.com/wiki/fish/nannostomus-trifasciatus

Reference style (APA)

Scape Eden. (2026, October 4). Three-lined pencilfish care. Scape Eden. https://scapeeden.com/wiki/fish/nannostomus-trifasciatus

Plain link

https://scapeeden.com/wiki/fish/nannostomus-trifasciatus

Text and data compiled by Scape Eden are free to reuse under CC BY 4.0 with attribution (credit Scape Eden and link to this page). Photos keep their own credited licences. Records are AI-assisted drafts with cited sources: see how we write and check this.