
Dwarf Pencilfish
Nannostomus marginatus
Photo: Fanch from Paris, France · CC BY 2.0
The Dwarf Pencilfish (Nannostomus marginatus) needs a tank of at least 41 litres and 45 cm long, water at 22–28 °C, pH 4–7 and hardness GH 1–10. Adults reach about 2.5 cm; it is peaceful and moderate to keep.
Dwarf Pencilfish: will it do well in your water?
Pick your city and in a minute I will tell you the tank it needs, the water and how many to keep. Free, no sign-up.
Check it with my water →Profile
- Minimum tank
- 41 L · 45 cm long
- Temperature
- 22–28 °C
- pH
- 4–7
- Hardness (GH)
- 1–10
- Adult size
- 2.5 cm
- How many
- group of 10+
- Difficulty
- moderate
- Temperament
- peaceful
- Diet
- carnivore
- Swimming level
- middle / top
What you need to know
Small and shy: keep it in a group of at least 10 specimens and with tank mates of the same size. It does not prey on fry.
Plan a tank with Dwarf Pencilfish
Ondaqua tells you which tank, water and tankmates it needs, with your water and your litres. Free, no sign-up.
Try it with my tank →Which water suits the Dwarf Pencilfish?
By water hardness (GH), without RO water or salts:
| soft (GH 5) | ✓ good |
| medium (GH 12) | ≈ borderline |
| hard (GH 20) | ✗ too hard: RO water |
| very hard (GH 32) | ✗ too hard: RO water |
Dwarf Pencilfish with Spanish tap water
Average tap water hardness in Spanish cities and how this species copes without changing the water:
| City | GH | |
|---|---|---|
| Castellón | 22 | ✗ too hard: RO water |
| Valencia | 28 | ✗ too hard: RO water |
| Alicante | 36 | ✗ too hard: RO water |
| Murcia | 14 | ✗ too hard: RO water |
| Barcelona | 17 | ✗ too hard: RO water |
| Tarragona | 20 | ✗ too hard: RO water |
| Girona | 13 | ≈ borderline |
| Madrid | 3 | ✓ good |
| Málaga | 6 | ✓ good |
| Zaragoza | 11 | ≈ borderline |
| Toledo | 31 | ✗ too hard: RO water |
| Almería | 34 | ✗ too hard: RO water |
| Palma | 50 | ✗ too hard: RO water |
| Sevilla | ≈14 | ✗ too hard: RO water |
| Granada | ≈11 | ≈ borderline |
| Bilbao | ≈5 | ✓ good |
| A Coruña | ≈4 | ✓ good |
Good tankmates for the Dwarf Pencilfish
Same temperature and water, peaceful and similar in size. Always check with your litres:
Lemon Tetra72 L · 20–28 °C · easy
Black Phantom Tetra72 L · 20–28 °C · easy
False Penguin Tetra68 L · 22–28 °C · easy
Harlequin rasbora54 L · 22–27 °C · easy
Golden lyretail28 L · 21–32 °C · easy
Cherry barb54 L · 20–27 °C · easy
Black Ruby Barb72 L · 20–27 °C · easy
Neon tetra54 L · 20–26 °C · easyWhat not to keep with the Dwarf Pencilfish
- Paradise fish: Paradise fish is much bigger and may eat Dwarf Pencilfish
- Angelfish: Angelfish is much bigger and may eat Dwarf Pencilfish
Frequently asked questions
What size tank does a Dwarf Pencilfish need?
At least 41 net litres and 45 cm long.
How many Dwarf Pencilfish can you keep together?
It lives in a group: at least 10.
What temperature and water does a Dwarf Pencilfish need?
Water at 22–28 °C, pH 4–7 and hardness GH 1–10.
Is the Dwarf Pencilfish easy to keep?
Moderate: best in a mature, stable tank.
More species in the genus Nannostomus
Data from Seriously Fish, FishBase, Flowgrow and Tropica, reviewed by Ondaqua. Updated 13 November 2026.