Encyclopaedia

FishFreshwaterEasy
©AI Generated·Proprietary

Dwarf pencilfish

Nannostomus marginatus

The smallest of the pencilfish: at just 2.5–3 cm, it is a nano-jewel perfect for small planted aquariums. The body is crossed by three horizontal black bands interspersed with golden and red stripes — a refined graphic design in miniature. Like all Nannostomus, it displays the nocturnal livery change: spots and bars appear in the dark and disappear in light. Prefers soft, acidic water (pH down to 4.0 in nature). In schools of 8+ on dark substrate with floating plants, the effect is aquatic terrarium-grade.

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

Share

Check out Dwarf 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

3.5 cm

Minimum tank volume

>= 40 L

Minimum group

>= 6

GH

1 - 10 dGH

KH

1 - 5 dKH

TDS

25 - 200 ppm

Conductivity

39 - 313 uS/cm

Species description

Geographical Origin and Habitat: Lower/central Amazon and Orinoco Basin (Peru, Colombia, Brazil). Inhabits oxbow lakes, black ponds and marginal river zones with very slow flow, among roots and foliage.
Taxonomy and Morphology: Dwarf Pencilfish (Nannostomus marginatus). Extremely compact and stocky pencilfish (the shortest after the anduzei), 3-3.5 cm (1.2-1.4 inches) max, with a very convex profile.
Social Behavior: The most sociable and "lively" among the small pencilfish. Forms very close-knit groups, hides and darts quickly among the leaves (unlike the static species in suspension).
Coloration and Sexual Dimorphism: Trichromatic, three black stripes (dorsal, conspicuous central, abdominal) interspersed with gold bands. Distinctive element: the anal and dorsal fins have distinct red flashes edged with black. Males are brighter; at night they assume the typical oblique bands.

Care, breeding and tankmates

Aquarium Setup: 60 cm (24 inches) tank. Java moss, floating plants and rocks/woods are mandatory. If they do not perceive visual barriers in the tank they will stay at the bottom in the grip of terror (fading).
Diet and Feeding: Omnivores, but with a tiny mouth. Very inclined to also accept dry food (unlike the harrisoni or eques), as long as it is crumbled into powder. Excellent integration with microworms.
Water Quality: Tolerant and adaptable, they live well in amber or crystal clear water. They prefer ph 6-6.5 but tolerate neutral, making them excellent candidates for novices compared to other Nannostomus species.
Compatibility and Cohabitation: Perfect pacifists (Community nano-fish). Often used by great Aquascapers (Amano style) in dense planted tanks together with adult Caridina, Otocinclus, and Iriatherina (Threadfin Rainbowfish).
Aquarium Breeding: Possible in dedicated aquarium with a mop (green synthetic fiber). They lay 2-3 eggs daily. Immediately separate the breeders, avid devourers of their eggs.
Risks and Diseases: Parasite attacks from water stress (Velvet/Ich). If water changes are too infrequent and filter flow is excessive, the marginatus's immune system (being a "puddle" fish) will collapse rapidly.

Geographic Origin and Distribution

Lower/central Amazon and Orinoco Basin (Peru, Colombia, Brazil). Inhabits oxbow lakes, black ponds and marginal river zones with very slow flow, among roots and foliage.

Origin

Amazon, Orinoco, and Guianas

Fish profile

Temperament
Peaceful
They are extremely peaceful, somewhat timid, and very charming to observe. In a properly scaped, calm environment, they are confident and constantly active. They are entirely harmless to all other tank inhabitants, including tiny shrimp.
Diet
Micro-predator
Their tiny mouths require specialized micro-foods to ensure proper nutrition. They readily consume infusoria, finely crushed premium flakes, and microworms. Supplementing with live baby brine shrimp helps enhance their beautiful stripes.
Sex ratio
School
Keeping a mixed-sex school of at least eight individuals is highly recommended. Males are slightly more slender and exhibit brighter red markings on their fins. They will spar harmlessly, creating a fascinating and dynamic display in the tank.
Feeding frequency
Twice daily
They should be fed minuscule amounts two to three times daily. Their short digestive tracts process food rapidly, necessitating frequent meals. Offering sinking micro-foods ensures they get to eat in the mid-water regions.
Bioload
Low
The Dwarf Pencilfish is a tiny species that produces an exceptionally low bioload. They are perfect for nano tanks where water volume is limited. Even basic filtration easily manages the minuscule amount of waste they produce.
Flow
Strong
They strongly prefer calm, gentle water flow resembling their native stagnant swamps. Overpowering filter outputs will exhaust them and cause them to hide constantly. Sponge filters are the preferred method of filtration for this delicate species.
Jump risk
Yes
Like other pencilfish, they are easily spooked and may attempt to jump out. A fully secure lid is mandatory to prevent any accidental fatalities. Dense floating plants can also serve as a natural barrier and reduce anxiety.
Reproduction
Oviparous
Breeding them is challenging, requiring extremely soft, acidic water and low lighting. They deposit a small number of adhesive eggs among fine-leaved aquatic plants. The parents are notorious egg-eaters and must be separated from the eggs immediately.
Compatibility & tankmates
Community
They are completely peaceful but easily intimidated by larger or highly active fish. Excellent companions include dwarf rasboras, small peaceful tetras, and Caridina shrimp. They must be kept with other micro-species to thrive and feed comfortably.
Tank level
Top/Middle
They generally hover in the middle levels of the aquarium, rarely visiting the extreme top. They love to navigate through dense thickets of plants in the mid-water column. Providing ample mid-level foliage gives them the security they desperately need.

Window to the official scientific data of the species

Data synced on: 06/15/2026

Scientific Parameters & Models

Trophic level
3.2 ± 0.4 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.

Harrison's Pencilfish

Harrison's Pencilfish

Nannostomus harrisoni

View details->
Two-stripe Pencilfish

Two-stripe Pencilfish

Nannostomus digrammus

View details->
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->
Diptail Pencilfish

Diptail Pencilfish

Nannostomus eques

View details->
Three-lined pencilfish

Three-lined pencilfish

Nannostomus trifasciatus

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->
Spotted Copella

Spotted Copella

Copella nattereri

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->
Aldrovanda vesiculosa
Plant

Aldrovanda vesiculosa

Aldrovanda vesiculosa

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->
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->
Aciotis acuminifolia
Plant

Aciotis acuminifolia

Aciotis acuminifolia

View details->
Bacopa sp. "Japan"
Plant

Bacopa sp. "Japan"

Bacopa sp. "Japan"

View details->
Bolbitis heteroclita
Plant

Bolbitis heteroclita

Bolbitis heteroclita

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.

Dawn Tetra

Dawn Tetra

Hyphessobrycon eos

View details->
Adolfo's cory

Adolfo's cory

Corydoras adolfoi

View details->
Coffee-bean Tetra

Coffee-bean Tetra

Hyphessobrycon takasei

View details->
Short-lined Pyrrhulina

Short-lined Pyrrhulina

Pyrrhulina brevis

View details->
Copeland's Tetra

Copeland's Tetra

Hyphessobrycon copelandi

View details->
Dash-dot Tetra

Dash-dot Tetra

Hemigrammus bellottii

View details->
Splash Tetra / Spraying Characin

Splash Tetra / Spraying Characin

Copella arnoldi

View details->
Skunk cory

Skunk cory

Corydoras arcuatus

View details->
False Bandit Cory

False Bandit Cory

Corydoras melini

View details->
Red-spotted Copeina

Red-spotted Copeina

Copeina guttata

View details->
Flag Acara (Smiling Cichlid)

Flag Acara (Smiling Cichlid)

Laetacara curviceps

View details->
Diancema Tetra

Diancema Tetra

Hyphessobrycon

View details->
Smudge Spot Cory

Smudge Spot Cory

Corydoras similis

View details->
Desana Corydoras

Desana Corydoras

Corydoras desana

View details->
Julii Corydoras / Leopard Cory

Julii Corydoras / Leopard Cory

Corydoras julii

View details->
Filamentous pyrrhulina

Filamentous pyrrhulina

Pyrrhulina filamentosa

View details->
Last updated: 06/30/2026