Dwarf Pencilfish

Nannostomus marginatus

Dwarf Pencilfish (Nannostomus marginatus)

Min Tank Size

40L

Adult Size

3 cm

Lifespan

4 years

School Size

8+

Care LevelIntermediate
TemperamentPeaceful
DietOmnivore
BioloadLow
ActivityModerate

About

Nannostomus marginatus hails from the slow, tannin-stained rivers and flooded forest streams of South America, particularly the Guianas, the Amazon basin, and parts of Colombia. At just 3 cm fully grown, it's one of the smallest pencilfish you'll encounter, but what it lacks in size it more than makes up for in detail. Three bold horizontal black stripes run the length of a golden-cream body, and the fins carry flashes of red that catch the light beautifully under a warm lamp.

These fish are genuine blackwater specialists. They want soft, acidic water, ideally pH between 4.5 and 6.5 with minimal hardness. Skimping on water chemistry is one of the most common ways keepers struggle with this species. Indian almond leaves, driftwood, and peat filtration all help recreate the chemistry and the tannin-stained look they thrive in. Temperatures between 23 and 28 degrees Celsius suit them well.

Feeding is where beginners often hit a wall. Their mouths are tiny and they tend to refuse standard-sized flake or pellets. Microworms, baby brine shrimp, daphnia, and high-quality micro pellets are all good options. They're slow, methodical feeders, so don't house them with anything boisterous that will outcompete them at mealtimes.

Behaviorally, males do posture and display at each other, but real damage is rare. Keeping a group of eight or more lets that energy spread out and actually produces some lovely fin-fanning displays. They cruise the mid and upper water column with a deliberate, almost floating quality that's meditative to watch.

If you want to see how other hobbyists have built tanks around this species, browse real aquarium setups on Shimmerscape to get inspired.

Water Parameters

Temperature

°C
23–28
15202530

pH

4.5–7
56789

GH

dGH
1–8
05101520

KH

dKH
0–4
05101520

Swimming Level

Top
Active
Mid
Active
Bottom

Flow Preference

None
Gentle
Moderate
Strong

Keeping multiple Dwarf Pencilfish together

Keep in groupsMinimum group size: 8

Dwarf Pencilfish are shoaling fish and need company of their own kind. Keep a group of at least 8. Smaller groups leave them stressed, washed-out in color, and prone to hiding.

Compatibility

Plant SafeYes
Snail SafeYes
Shrimp SafeSometimes
Fin NipperNo
Nip VulnerableSometimes

These fish are best paired with equally small, gentle species that share their preference for soft acidic water. Ember tetras, chili rasboras, pygmy corydoras, otocinclus, and small Apistogramma species all work well. Avoid anything nippy, fast-moving, or significantly larger since dwarf pencilfish are slow feeders with delicate fins and will lose out at the dinner table or become targets. Shrimp are generally fine with adults but juveniles and shrimplets may occasionally be picked at, so monitor carefully. Tiger barbs, serpae tetras, or any robust, active schoolers are poor choices.

Commonly kept with

Species this one is most often paired with
Ember Tetra

Known to coexist well in community setups.

View full care guide →

Commonly tried but avoid

Often paired, but shouldn't be

Care Notes

The biggest pitfall is water chemistry. These fish genuinely need soft, acidic conditions and won't thrive long-term in hard tap water without treatment. A second common mistake is feeding, since their mouths are tiny and they need appropriately sized live or frozen foods to stay healthy and colorful. They're also sensitive to ammonia and nitrite spikes, so an established, stable tank is non-negotiable before adding them. Don't rush the cycle. Group size matters too; a small group of four or five looks nervous and drab, while eight or more shows confident behavior and better coloration.

Behavior & Aggression

Dwarf pencilfish are about as non-threatening as it gets toward other species. Males do establish loose pecking orders and will occasionally posture or briefly chase each other, especially in smaller groups, but this almost never escalates to real injury. The behavior actually looks quite natural and interesting in a well-planted tank with enough individuals to spread the attention around. The key trigger is a small group in a sparse setup; give them numbers and cover and any friction becomes largely decorative.

Things to Know

  • Males spar briefly over territory; keep larger groups to spread aggression
  • Tiny mouth requires micro or small live foods, standard flake often refused
  • Sensitive to water quality decline; do frequent small water changes
  • Can jump through tiny gaps; use a well-fitted lid
  • Requires a tight fitting lid, known to jump.
pencilfishschoolingnanocommunityblackwater

Community Sightings