Barred pencilfish (Nannostomus espei)
A small gold pencilfish with five dark vertical bars, about 3-4 cm long. Keep ten or more in a mature, heavily planted soft-water tank with floating plants and a lid. Feed tiny live and frozen foods every day.
Also known as: Espe's pencilfish, Banded pencilfish

Quick facts
- Temperature22–28 °C72–82 °FMedium confidence[1][2]
- pH5.5–6.5Medium confidence[1][2]
- General hardness (GH)1–5 dGH18–89 ppmMedium confidence[1][2]
- Adult size3–4 cm1.2–1.6 inMedium confidence[1][2][3]
- Minimum tank54 L14 US galLow confidence[1]
- Minimum tank length60 cm24 inLow confidence[1]
- Minimum groupGroup of at least 10Medium confidence[1][3]
- TemperamentPeacefulMedium confidence[1][2][3]
- Swimming zoneMiddleLow confidence[1]
- DietCarnivoreHigh confidence[1][4]
- Lifespan5 yearsLow confidence[5]
- DifficultyIntermediateLow confidence[1]
- With shrimpCautionLow confidence[4]
- With snailsSafeLow confidence[1]
- With plantsSafeLow confidence[1]
Values are from our sourced catalog; a human review of this page is in progress.
Where sources disagree
Our sources don't always agree. Here is where they differ and what we chose.
- Temperature: Glaser suggests around 24 C.
- pH: Seriously Fish 4.0-6.5; Glaser 5.5-7.
- General hardness (GH): Seriously Fish 1-5; Glaser up to 10.
- Adult size: Seriously Fish 3 cm SL; Glaser about 4 cm total; Imperial about 1 in.
- Minimum tank: Seriously Fish base of 60 x 30 cm.
- Minimum group: Seriously Fish 10 or more; Imperial at least 6-8.
- Temperament: Timid; best with other small, calm fish.
- Lifespan: Genus-level: Aquariadise says pencilfish usually live around 5 years, longer in ideal conditions.
Behaviour and tank mates
Good with
With conditions
- Amano shrimpBarred pencilfish may eat or harass Amano shrimp; give dense cover.
- Buenos Aires tetraWatch for chasing between Buenos Aires tetra and Barred pencilfish; add hiding places.
- Cherry shrimpBarred pencilfish may eat or harass Cherry shrimp; give dense cover.
- Colombian tetraWatch for chasing between Colombian tetra and Barred pencilfish; add hiding places.
- KribensisWatch for chasing between Kribensis and Barred pencilfish; add hiding places.
- Rosy barbAn adult Rosy barb may eat small fish like Barred pencilfish.
Avoid
- AngelfishAngelfish can eat small fish like Barred pencilfish.
- AxolotlAxolotl needs 14–20 °C; your animals need 22–28 °C.
- Bala sharkBala shark can eat Barred pencilfish.
- Boesemani rainbowfishBoesemani rainbowfish and Barred pencilfish need opposite water: soft and acidic versus hard and alkaline.
- Chinese algae eaterChinese algae eater can eat small fish like Barred pencilfish.
- Cobalt blue zebra cichlidCobalt blue zebra cichlid is aggressive and would harass Barred pencilfish.
- Common goldfishCommon goldfish is a coldwater animal; Barred pencilfish is tropical.
- Dojo loachDojo loach is a coldwater animal; Barred pencilfish is tropical.
Computed by the same rules as Aquiio's Can I add?, for a typical tank: cycled, filtered and big enough for both species at their minimum group size. Your own tank can change the result.
Check it against your own tank
Tank and setup
| Water type | Tropical freshwater[1] |
|---|---|
| Flow | Low flow[1] |
| Substrate | Any substrate[1] |
| Decor | Dense plants, Floating plants, Driftwood, Leaf litter[1] |
| Special needs | Needs soft, acidic water, Needs plants, Needs low flow, Needs a mature tank, Jumper: needs a lid[1][3] |
| Active | By day[1] |
| Social structure | Group[1] |
| Schooling | Loose shoal[1] |
Feeding
| Foods | Flakes, Micro pellets, Frozen bloodworms, Frozen daphnia, Frozen brine shrimp, Live foods[1][4] |
|---|---|
| Feeding (adults) | 2-3 small meals daily, only what is eaten in a few minutes[6][7] |
| Feeding (juveniles) | several small meals daily[7] |
| Can go without food | 3 days[6][7] |
| Feeding zone | Midwater[1][4] |
Breeding and sexing
| Breeding | Other[1][2] |
|---|---|
| Breeding difficulty | Hard[1] |
| Telling the sexes apart | Males are more strongly patterned with more colour in the fins and are usually slimmer; ripe females are much plumper.[1][2] |
| Breeding notes | Rarely bred and picky about partners. Add broad-leaved plants such as Anubias or Java fern; pairs stick eggs one at a time under leaves and eat any eggs they find, so remove the adults or the plant. Fry hatch after 24-36 hours and swim by day 5-6.[1][2] |
Never release aquarium animals or plants into the wild.
Look-alikes
- Coral red pencilfish Nannostomus mortenthaleri
- Dwarf pencilfish Nannostomus marginatus
- Golden pencilfish Nannostomus beckfordi
- Greenstripe pencilfish Nannostomus marilynae
- Hockeystick pencilfish Nannostomus eques
- One-lined pencilfish Nannostomus unifasciatus
Not sure which one you have? Identify it from a photo.
Frequently asked questions
What temperature does a Barred pencilfish need?
The Barred pencilfish does best at 22–28 °C (72–82 °F) and pH 5.5–6.5, based on the sources listed on this page.
What size tank does a Barred pencilfish need?
At least 54 L (about 14 US gallons) for adults in a group of 10. Bigger is easier to keep stable.
How long does a Barred pencilfish live?
Usually 5 years with good care.
How many Barred pencilfish should be kept together?
Keep at least 10 together; the species feels safer and shows natural behaviour in a group.
Can a Barred pencilfish live with a Black neon tetra?
Our rules rate Barred pencilfish with Black neon tetra as “Good match” for a typical tank.
Sources
- seriouslyfish.com/species/nannostomus-espei/
- aquariumglaser.de/en/fish-archives/nannostomous_espei_en
- imperialtropicals.com/products/barred-pencilfish
- aquariumcoop.com/blogs/aquarium/pencilfish
- aquariadise.com/pencilfish/
- buildyouraquarium.com/how-long-can-fish-go-without-food/
- aquariadise.com/how-long-can-fish-go-without-food/