Encyclopaedia

FishFreshwaterIntermediate
©AI Generated·Proprietary

Three-lined pencilfish

Nannostomus trifasciatus

A pencilfish with three distinct black longitudinal bands on a golden-red body — the largest and most classic of the genus. At up to 6 cm, it is noticeably more robust than nano cousins. Displays the characteristic Nannostomus nocturnal livery with dark spots appearing in the dark. Can be slightly territorial with conspecifics but remains peaceful in community — needs sufficient space to establish micro-territories. Ideal Amazonian blackwater biotope with tannins and dim lighting. Lid: jumper.

Taxonomy
Class:Actinopteri
Order:Characiformes
Family:Lebiasinidae
Genus:Nannostomus
Species:Nannostomus trifasciatus

Share

Check out Three-lined pencilfish on Atlarium

PracticeRecognition quizzesPhotos, names, origins, and puzzles to review Atlas species.Open quizzes
Water Temperature

24 - 28 °C

pH Value

5.5 - 7

Water type

Freshwater

Tank level

Surface and middle

Adult size

5.5 cm

Minimum tank volume

>= 55 L

Minimum group

>= 6

GH

1 - 12 dGH

KH

1 - 6 dKH

TDS

25 - 240 ppm

Conductivity

39 - 375 uS/cm

Species description

Geographical Origin and Habitat: Immense Amazonian range: from Peru, to Colombia, Brazil and Guyana (Rio Negro, Rio Ucayali). Lives in "Igapó", turbid but slow flood lakes.
Taxonomy and Morphology: Three-Lined Pencilfish (Nannostomus trifasciatus). Among the largest pencilfish (5-6 cm / 2-2.4 inches). Cylindrical torpedo profile. The "three-band" livery is the trait from which it takes its scientific name.
Social Behavior: Show-off. Males spend the day facing off shoulder to shoulder, vibrating vigorously to establish the school's hierarchy. Despite being combative, the brawls do not lead to injuries or deaths.
Coloration and Sexual Dimorphism: Three decisive horizontal black bands interspersed with vibrant gold stripes. The unique trait (which distinguishes it from the marginatus) are the incredible intense Blood Red spots splashed transversely between the gold and black bands. Males have a thicker red base on the dorsal, caudal, and anal. At night the three lines disappear in favor of 3 large oblique gray "stamps".

Care, breeding and tankmates

Aquarium Setup: Long tank (at least 80-100 cm / 32-40 inches for male duels). Needs ample horizontal space in mid-water combined with dense peripheral plant bushes. The shadows generated by tall stem plants (Cabomba) will calm them down.
Diet and Feeding: Lively micropredators. Will greedily eat small insects fallen in the water, daphnia, brine shrimp and will gladly accept flakes and excellent quality micro-granules scattered on the surface.
Water Quality: Very robust for a Nannostomus. Although they like acidic pH and amber water (ideal for red colors), they will thrive and live 5+ years even in normal soft conditioned tap water (Ph 7.0, GH 8).
Compatibility and Cohabitation: The emblem of the South American Community Aquarium. Robust and immovable, they coexist well with Dwarf Cichlids (Ramirezi, Apistogramma), Angelfish (provided the tetras are adults), Tetras (Cardinals, Rummy-nose) and Loricariids.
Aquarium Breeding: Males chase females up to the floating vegetation, scattering tiny sticky eggs. The brood will be relentlessly consumed by themselves if not placed in a sterile tank with an egg-saver net on the bottom.
Risks and Diseases: Misunderstood nocturnal fading. A fright or the nocturnal phase triggers camouflage (Fright pattern): the fish becomes pale white, the lines disappear and spots appear. The aquarist often believes it is dying or sick, but they recolor as soon as there is light.

Geographic Origin and Distribution

Immense Amazonian range: from Peru, to Colombia, Brazil and Guyana (Rio Negro, Rio Ucayali). Lives in "Igapó", turbid but slow flood lakes.

Origin

Amazon, Orinoco, and Guianas

Fish profile

Temperament
Semi-aggressive
These pencilfish are highly peaceful but can be somewhat skittish in sparse environments. They must be kept in groups of at least six to feel confident and display natural behavior. In appropriate numbers, they will actively interact and explore their surroundings.
Diet
Micro-predator
Their natural diet consists primarily of small insects and tiny crustaceans. In a home aquarium, they will eagerly consume finely crushed flakes and suitably sized pellets. Supplementing their diet with live or frozen daphnia and cyclops brings out their best colors.
Sex ratio
Group
Males are generally more colorful and have additional red markings compared to females. Keeping a ratio with more females than males reduces competitive stress. A balanced group minimizes territorial squabbles among males during spawning behavior.
Feeding frequency
Twice daily
Due to their high energy levels and small stomachs, they require frequent, small meals. Providing food two to three times a day is ideal for their metabolism. Ensure that the food particles are small enough to fit into their tiny, upturned mouths.
Bioload
Low
The Three-lined pencilfish carries a very light bioload, contributing little to the nitrogen cycle. They are small and highly active, but their waste production remains minimal. This characteristic is perfect for maintaining pristine water conditions in planted tanks.
Flow
Strong
They originate from sluggish waters and therefore prefer a gentle to moderate current. Too much flow will force them to expend unnecessary energy and cause fatigue. Strategic placement of driftwood and plants can create calm resting areas.
Jump risk
Yes
These fish are notorious jumpers, especially during feeding or when frightened. A completely secure and tightly fitting aquarium hood is a strict requirement. Floating plants can also help deter them from leaping out of the water.
Reproduction
Oviparous
Breeding Three-lined pencilfish can be tricky, demanding very soft water and dim lighting. They scatter their adhesive eggs among fine-leaved plants or spawning mops. The parents will eagerly eat their own eggs, so prompt removal of the adults is necessary.
Compatibility & tankmates
Peaceful
This is a peaceful community fish that thrives alongside other gentle species. It is important to avoid housing them with fin-nippers or large, predatory fish. Excellent companions include small tetras, Corydoras, and peaceful dwarf cichlids.
Tank level
Top/Middle
They are predominantly top and mid-water dwellers in the aquarium. They can often be seen cruising near the surface looking for floating food particles. Including tall plants provides them with necessary cover in their preferred swimming zones.

Window to the official scientific data of the species

Data synced on: 06/15/2026

Scientific Parameters & Models

Trophic level
3.3 ± 0.39 se
Phylogenetic uniqueness (PD50)
0.5
Bayesian Length-Weight
a = 0.01023, b = 3.13
VulnerabilityLow vulnerability (10 / 100)

Image gallery

Licensed images linked to the species or, when marked, to the closest representative taxon.

Related species

Recommendations grouped by close relatives, companion choices, and similar care.

Variants and close relatives

Same atlas type, nearby scientific identity, genus, or family.

Elegant Pencilfish

Elegant Pencilfish

Nannostomus limatus

View details->
One-line Pencilfish

One-line Pencilfish

Nannostomus unifasciatus

View details->
Shining Pencilfish

Shining Pencilfish

Nannostomus nitidus

View details->
Dwarf pencilfish

Dwarf pencilfish

Nannostomus marginatus

View details->
Harrison's Pencilfish

Harrison's Pencilfish

Nannostomus harrisoni

View details->
Two-stripe Pencilfish

Two-stripe Pencilfish

Nannostomus digrammus

View details->
Diptail Pencilfish

Diptail Pencilfish

Nannostomus eques

View details->
Barred pencilfish

Barred pencilfish

Nannostomus espei

View details->
Marilyn's Pencilfish

Marilyn's Pencilfish

Nannostomus marilynae

View details->
Coral Red Pencilfish

Coral Red Pencilfish

Nannostomus mortenthaleri

View details->
Dwarf Pencilfish

Dwarf Pencilfish

Nannostomus minimus

View details->
Golden pencilfish

Golden pencilfish

Nannostomus beckfordi

View details->
Anduze's Pencilfish

Anduze's Pencilfish

Nannostomus anduzei

View details->
Splash Tetra / Spraying Characin

Splash Tetra / Spraying Characin

Copella arnoldi

View details->
Half-banded Pyrrhulina

Half-banded Pyrrhulina

Pyrrhulina laeta

View details->
Meinken's Splashing Tetra

Meinken's Splashing Tetra

Copella meinkeni

View details->

Recommended companions

Compatible cards from coherent ecosystems with matching parameters.

Blyxa alternifolia
Plant

Blyxa alternifolia

Blyxa alternifolia

View details->
Blyxa cf. vietii
Plant

Blyxa cf. vietii

Blyxa cf. vietii

View details->
Alternanthera reineckii "rosaefolia minor"
Plant

Alternanthera reineckii "rosaefolia minor"

Alternanthera reineckii "rosaefolia minor"

View details->
Ammannia mauritiana
Plant

Ammannia mauritiana

Ammannia mauritiana

View details->
Ammannia latifolia
Plant

Ammannia latifolia

Ammannia latifolia

View details->
Ammannia sp. 'Bonsai'
Plant

Ammannia sp. 'Bonsai'

Ammannia sp. 'Bonsai'

View details->
Amblystegiaceae sp. "Manaus"
Plant

Amblystegiaceae sp. "Manaus"

Amblystegiaceae sp. "Manaus"

View details->
Bacopa crenata
Plant

Bacopa crenata

Bacopa crenata

View details->
Bacopa sp. "Japan"
Plant

Bacopa sp. "Japan"

Bacopa sp. "Japan"

View details->
Bolbitis heteroclita
Plant

Bolbitis heteroclita

Bolbitis heteroclita

View details->
Arrowhead Anubias
Plant

Arrowhead Anubias

Anubias hastifolia

View details->
Anubias
Plant

Anubias

Anubias barteri

View details->
Anubias nana
Plant

Anubias nana

Anubias barteri var. nana

View details->
Aldrovanda vesiculosa
Plant

Aldrovanda vesiculosa

Aldrovanda vesiculosa

View details->
Aciotis acuminifolia
Plant

Aciotis acuminifolia

Aciotis acuminifolia

View details->
Bucephalandra motleyana "Braun-rot narrow"
Plant

Bucephalandra motleyana "Braun-rot narrow"

Bucephalandra motleyana "Braun-rot narrow"

View details->

Similar care

Cards with similar requirements, difficulty, habitat, and husbandry profile.

Spotted Copella

Spotted Copella

Copella nattereri

View details->
Short-lined Pyrrhulina

Short-lined Pyrrhulina

Pyrrhulina brevis

View details->
Coffee-bean Tetra

Coffee-bean Tetra

Hyphessobrycon takasei

View details->
Dawn Tetra

Dawn Tetra

Hyphessobrycon eos

View details->
Red-spotted Copeina

Red-spotted Copeina

Copeina guttata

View details->
Copeland's Tetra

Copeland's Tetra

Hyphessobrycon copelandi

View details->
Dash-dot Tetra

Dash-dot Tetra

Hemigrammus bellottii

View details->
Diancema Tetra

Diancema Tetra

Hyphessobrycon

View details->
False Bandit Cory

False Bandit Cory

Corydoras melini

View details->
Keyhole cichlid

Keyhole cichlid

Cleithracara maronii

View details->
Diamond Tetra

Diamond Tetra

Moenkhausia pittieri

View details->
Cryptic Corydoras

Cryptic Corydoras

Corydoras crypticus

View details->
Adolfo's cory

Adolfo's cory

Corydoras adolfoi

View details->
Filamentous pyrrhulina

Filamentous pyrrhulina

Pyrrhulina filamentosa

View details->
Agulha Tetra

Agulha Tetra

Hyphessobrycon agulha

View details->
Skunk cory

Skunk cory

Corydoras arcuatus

View details->
Last updated: 06/30/2026
Three-lined pencilfish (Nannostomus trifasciatus) Care Guide & Tank Setup | Atlarium