Pencilfish (Genus Nannostomus): A Comprehensive Guide
Pencilfish are among the most elegant and understated freshwater fishes in the aquarium hobby. Known for their slender bodies, subtle coloration, and distinctive swimming behavior, these small characiform fishes have become increasingly popular among aquascapers and advanced hobbyists who appreciate their natural beauty and fascinating behavior.
Most species commonly referred to as pencilfish belong to the genus Nannostomus, which is part of the family Lebiasinidae within the order Characiformes. Native primarily to tropical South America, pencilfish inhabit slow-moving streams, flooded forests, and blackwater habitats throughout the Amazon and surrounding river systems.
Though they lack the bold coloration of many aquarium fish, pencilfish possess a refined aesthetic that makes them ideal inhabitants of natural-style aquariums. Their peaceful nature, surface-oriented swimming habits, and subtle social interactions offer aquarists a glimpse into the complexity of small tropical freshwater ecosystems.
This comprehensive guide explores the biology, ecology, behavior, and aquarium care of pencilfish, providing both scientific context and practical husbandry insights for serious fishkeepers.
Introduction to Pencilfish
Overview of Pencilfish
Pencilfish are small freshwater fishes belonging to the genus Nannostomus, a group of characiform fishes characterized by elongated bodies, horizontal striping, and a calm, surface-oriented swimming style. The name “pencilfish” derives from their slender, cylindrical body shape, which resembles a small pencil.
Unlike many schooling fish, pencilfish typically exhibit a loose shoaling structure, often occupying the upper levels of the water column. Their subtle coloration and gentle behavior make them especially appealing in aquascaped aquariums where naturalistic aesthetics are valued.
Why Pencilfish Are Unique
Pencilfish stand apart from many other small aquarium fish in several ways:
-
Slender, streamlined body form
-
Surface-oriented feeding behavior
-
Distinctive angled swimming posture in certain species
-
Calm, deliberate swimming patterns
-
Complex social interactions among males
Rather than forming tightly synchronized schools like many tetras, pencilfish often display a more relaxed social structure, creating a graceful and natural display in aquariums.
Popularity in Planted Aquariums
In recent years, pencilfish have become increasingly popular among aquascapers and planted tank enthusiasts. Their small size, peaceful temperament, and preference for planted environments make them ideal companions for aquascaped tanks.
They occupy the upper regions of the aquarium, complementing midwater species such as tetras and bottom dwellers like Corydoras.
Diversity within the Genus Nannostomus
The genus Nannostomus currently includes approximately 20 recognized species, though ongoing research occasionally reveals additional regional forms.
These species vary in coloration, behavior, and habitat preference, ranging from the small dwarf pencilfish to the striking coral red pencilfish, one of the most vividly colored members of the group.
Taxonomy and Classification
Scientific Classification
Pencilfish belong to the following taxonomic hierarchy:
Kingdom: Animalia
Phylum: Chordata
Class: Actinopterygii
Order: Characiformes
Family: Lebiasinidae
Genus: Nannostomus
Relationship to Other Characiform Fishes
The order Characiformes includes a diverse group of freshwater fishes found primarily in South America and Africa. Many well-known aquarium species belong to this order, including:
-
Tetras
-
Piranhas
-
Hatchetfish
-
Pacus
While pencilfish share evolutionary ancestry with these groups, they occupy a distinct ecological niche characterized by small size and surface feeding habits.
The Family Lebiasinidae
The family Lebiasinidae includes several genera of small tropical freshwater fishes found throughout South America. Members of this family are typically elongated, surface-oriented fishes inhabiting small streams and forest habitats.
Other genera within Lebiasinidae include:
-
Lebiasina
-
Pyrrhulina
-
Copella
Among these, Nannostomus is the most widely known in the aquarium hobby.
Recognized Species
Approximately 20 species of pencilfish are currently recognized within the genus Nannostomus. Several additional regional forms are known but remain under scientific study.

Evolutionary Background
Origins of Lebiasinidae
The evolutionary history of the Lebiasinidae family is closely tied to the development of South America's vast river systems. These fishes likely diversified within the tropical river basins of the Amazon and surrounding regions millions of years ago.
Relationship to Other Characiforms
Genetic studies indicate that Lebiasinidae shares common ancestry with several other characiform families. These evolutionary relationships highlight the remarkable diversification of freshwater fishes within South America.
Adaptation to Forest Streams
Pencilfish evolved primarily in small, shaded streams within tropical rainforest ecosystems. These habitats favored fish that were:
-
Small and maneuverable
-
Able to feed at the water surface
-
Adapted to low-light environments
These environmental pressures shaped many of the physical and behavioral traits seen in modern pencilfish.
Distinguishing Evolutionary Traits
Compared to many other characiform fishes, pencilfish display several distinctive evolutionary traits:
-
Slender body structure
-
Surface-oriented feeding adaptations
-
Reduced aggression
-
Camouflage coloration suited to shaded environments
Natural Distribution
Geographic Range
Pencilfish are native to northern and central South America, where they inhabit tropical river systems across several countries.
Amazon Basin
The Amazon Basin represents the center of diversity for pencilfish. Many species occur throughout the extensive network of tributaries and floodplain habitats within this vast watershed.
Orinoco Basin
Several species are also found in the Orinoco River system, which shares ecological similarities with the Amazon Basin.
Guiana Shield
The Guiana Shield region of northeastern South America contains numerous isolated river systems that host endemic populations of pencilfish.
Regional Diversity
Different species occupy distinct ecological niches within these river systems, resulting in a variety of adaptations and color patterns across the genus.
Natural Habitat
Blackwater Streams
Many pencilfish inhabit blackwater streams, which are characterized by dark, tannin-stained water produced by decomposing plant material.
These environments typically feature:
-
Soft water
-
Acidic pH
-
Low mineral content
Forest Creeks
Small forest creeks with slow-moving water provide ideal habitat for pencilfish. Dense vegetation and submerged branches offer protection from predators.
Flooded Forests
During seasonal flooding, pencilfish may move into flooded forest areas where they feed on insects and other small prey.
Leaf Litter Habitats
Leaf litter accumulation provides shelter and feeding grounds for many small freshwater fishes, including pencilfish.
Environmental Conditions
Typical environmental conditions in pencilfish habitats include:
-
Soft water
-
Slightly acidic pH
-
Low light levels
-
Dense vegetation

Morphology and Physical Characteristics
Body Structure
Pencilfish are characterized by elongated, slender bodies designed for slow, deliberate swimming near the water surface.
Slender “Pencil-Shaped” Form
The cylindrical body shape reduces water resistance and allows precise maneuvering within dense vegetation.
Size Range
Most species reach lengths between 2 and 6 centimeters, making them ideal inhabitants of small aquariums.
Coloration
Color patterns vary widely among species but commonly include:
-
Horizontal stripes
-
Gold or bronze tones
-
Red or orange accents
Sexual Dimorphism
In many species, males display more vivid coloration than females, particularly during breeding periods.
Angled Swimming Posture
Certain species, such as the diptail pencilfish, are known for their distinctive angled swimming posture, in which the fish swims with its head tilted upward.
Behavior and Social Structure
Shoaling Behavior
Pencilfish typically form loose shoals rather than tightly coordinated schools.
Surface-Oriented Swimming
Many species spend most of their time near the water surface, where they feed on small insects and other prey.
Social Interactions
Males often establish small territories and display to one another through subtle color changes and posturing.
Courtship Displays
During breeding periods, males may intensify their coloration and perform short display movements to attract females.
Diet and Feeding Ecology
Natural Diet
In the wild, pencilfish feed primarily on small invertebrates including:
-
Insects
-
Zooplankton
-
Microcrustaceans
Feeding Strategy
Pencilfish are primarily surface feeders, capturing prey items that fall onto the water surface.
Aquarium Diet
In captivity, pencilfish should be offered a varied diet including:
-
Live foods
-
Frozen foods
-
High-quality micro pellets
-
Fine flakes
A varied diet promotes healthy growth and vibrant coloration.

Reproduction and Breeding Behavior
Spawning Behavior
Pencilfish are typically egg scatterers, releasing eggs among plants or leaf litter.
Courtship
Courtship behavior involves subtle chasing and display movements between males and females.
Fry Development
Eggs usually hatch within a few days, and the fry initially feed on microscopic foods such as infusoria.
Breeding Challenges
Many species require very soft, acidic water conditions to reproduce successfully.
Pencilfish in the Aquarium Hobby
Popularity Among Aquascapers
Pencilfish are favored by aquascapers because they:
-
Occupy the upper water column
-
Do not disturb plants
-
Display natural, graceful movement
Peaceful Nature
Their calm temperament makes them suitable for peaceful community aquariums.
Role in Planted Aquariums
Pencilfish complement planted aquariums by adding movement without disturbing delicate aquascapes.
Notable Species
Nannostomus beckfordi
One of the most widely kept species, known for its adaptability and attractive coloration.
Nannostomus eques
Famous for its angled swimming posture.
Nannostomus marginatus
A small and peaceful species ideal for nano aquariums.
Nannostomus mortenthaleri
Also known as the coral red pencilfish, prized for its vibrant coloration.
Nannostomus trifasciatus
Recognizable by its three horizontal stripes.

Aquarium Care and Husbandry
Tank Size
Most species thrive in aquariums of 15 gallons or larger, though larger tanks allow more natural shoaling behavior.
Water Parameters
Ideal water conditions typically include:
-
Temperature: 24–28°C (75–82°F)
-
Soft water
-
Slightly acidic pH
Aquascaping
Pencilfish thrive in aquariums featuring:
-
Dense plants
-
Driftwood
-
Leaf litter
-
Floating vegetation
These features replicate their natural environment.
Schooling Requirements
Pencilfish should be kept in groups of six or more individuals to reduce stress and encourage natural behavior.
Compatible Tankmates
Suitable companions include:
-
Small tetras
-
Corydoras catfish
-
Dwarf cichlids
-
Rasboras
Common Mistakes When Keeping Pencilfish
Small Groups
Keeping too few individuals can cause stress and timid behavior.
Excessive Lighting
Bright lighting without cover may cause fish to hide.
Strong Water Flow
Pencilfish prefer gentle currents.
Aggressive Tankmates
Large or aggressive fish may intimidate them.
Poor Diet
A limited diet can lead to poor coloration and health issues.
Conservation and Environmental Concerns
Habitat Destruction
Deforestation and agricultural expansion threaten many tropical river systems.
Mining and Pollution
Mining operations can introduce pollutants into delicate freshwater ecosystems.
Aquarium Trade
While most species are not currently endangered, responsible collection practices remain important.
Sustainable Practices
Captive breeding and regulated collection help protect wild populations.
Fascinating Facts About Pencilfish
Some species swim at a distinct angle, creating one of the most unusual swimming styles among aquarium fishes.
Their surface-feeding behavior helps control insect populations in natural ecosystems.
Males often develop striking coloration during breeding displays.
Conclusion
Pencilfish are among the most elegant and underrated freshwater aquarium fishes. Their slender bodies, calm behavior, and subtle coloration make them perfect inhabitants of planted aquariums and natural aquascapes.
For aquarists who appreciate understated beauty and natural behavior, pencilfish offer a fascinating glimpse into the delicate ecosystems of tropical South American streams. Their peaceful nature, interesting social interactions, and adaptability ensure they will continue to hold a cherished place in the freshwater aquarium hobby.
Looking to Add Fish to Your Aquarium?
If you're looking to add new fish to your aquarium, we recommend purchasing from trusted retailers known for their healthy livestock and excellent selection. The Wet Spot Tropical Fish has one of the best selections of rare and high-quality freshwater fish in the hobby, with excellent shipping and consistently healthy stock. Moonlight Aquatics is another fantastic source, especially for uncommon species and great prices on unique fish you don’t see everywhere. If you’re looking to add shrimp to your tanks, Buy Pet Shrimp specializes in hardy, well-bred freshwater shrimp that ship safely and arrive in great condition.
Use our affiliate links and discount codes to save a little:
The Wet Spot Tropical Fish
https://geni.us/WCZYWC
Use code steenfott10 for 10% off
Moonlight Aquatics
https://geni.us/pAFf1s
Use code steenfott10 for 10% off
Buy Pet Shrimp
https://geni.us/RNkIQpf
Use code steenfott5 for 5% off
Your support helps us continue creating guides and content for the aquarium hobby.