
Nannostomus marginatus
The dwarf pencilfish is a tiny shoaling fish, only about 3.5 cm, and medium to keep. It is stocky, with bold stripes and red marks. It eats slowly and loses food to faster tetras. It prefers soft water.
How it lives
- Keep 8 or more in a tank of about 40 litres.
- Blend in RO water if your tap is hard.
- Target-feed so faster fish do not take everything.
- Never add it to a new, immature tank, because it needs stable water.
- Add floating plants, driftwood and dried leaf litter.
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.
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
Tap a linked problem for causes and a step-by-step fix.
Dwarf pencilfish in the wild
It was first found in a creek in Guyana and is widespread in Guyana and Suriname. It also lives in the middle and lower Amazon basin east of the Andes, in Peru, Colombia and Brazil. It lives in sluggish tributaries, small rivers and swamps with dense plants, sunken wood and leaf litter. Flooded forest and floodplain lakes with blackwater are common homes. Colour varies by region: some Peruvian fish have yellow on the body and fins, and fish from Guyana have a short red stripe above the dark body stripe.
Dwarf pencilfish: male or female?
Adult males are noticeably less stocky than females. In one form from the Río Negro, males also have thickened third to sixth anal-fin rays. Unlike some close relatives, males and females have the same colour pattern.
Dwarf pencilfish behaviour
It is very peaceful but timid, so it is not an ideal community fish. Good tankmates are similar-sized peaceful characins and small catfish. It also works as a calm companion for dwarf cichlids, since it swims in the middle and upper tank and does not hunt fry. Larger groups spread out any aggression and make the fish bolder. Rival males rarely spar or hurt each other.
Similar fish
Work it out
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. “Dwarf pencilfish care: size, tank and temperature”. Scape Eden aquarium wiki, updated October 4, 2026. https://scapeeden.com/wiki/fish/nannostomus-marginatus
Reference style (APA)
Scape Eden. (2026, October 4). Dwarf pencilfish care: size, tank and temperature. Scape Eden. https://scapeeden.com/wiki/fish/nannostomus-marginatus
Plain link
https://scapeeden.com/wiki/fish/nannostomus-marginatus
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.
