Wiki
Dwarf pencilfish (Nannostomus marginatus)
Photo: Fanch from Paris, FranceCC BY 2.0 · Wikimedia Commons
Tetras and characins

Nannostomus marginatus

Also calledDwarf pencilfish

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.

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

How it lives

Group
8 or more · loose shoal
Temper
Peaceful; a slow feeder
Swims
Middle
Eats
Small foods near the surface. In nature it hunts tiny invertebrates and other zooplankton. In a tank it takes small dried foods, but give it daily meals of small live or frozen food such as Artemia nauplii, Moina or grindal worm.
Lives
4–5 yearsest.
Breeding
Egg scatterer. It is bred in tanks only rarely. In a dense, mature tank a few fry may appear on their own. For more, condition the group together and put pairs into small containers of aged water filled with wool mops or fine-leaved plants. Light and a filter are not needed. The more fish in one container, the greater the risk that eggs are eaten.
Waste
Low bioload
  • 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.

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

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.

Sources

  1. SeriouslyFish

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. “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.