Three-lined pencilfish (Nannostomus trifasciatus)

A three-striped pencilfish with red patches, about 4 cm long and one of the easier pencilfish to keep. Keep ten or more in a planted tank of at least 75 cm with soft, slightly acidic water and floating plants. Feed small live and frozen foods every day.

Also known as: Three line pencilfish, Threestripe pencilfish, Three-banded pencilfish, Silver three line pencilfish

By Aquiio teamUpdated 6 sources
Three-lined pencilfish (Nannostomus trifasciatus)
Photo: Lüling, Karl Heinz · CC BY-SA 4.0 · GBIF

Quick facts

  • Temperature24–28 °C75–82 °FHigh confidence[1][2]
  • pH5.5–7Medium confidence[1][2]
  • General hardness (GH)1–12 dGH18–214 ppmLow confidence[1]
  • Carbonate hardness (KH)8 dKH143 ppmLow confidence[2]
  • Adult size3.5–4 cm1.4–1.6 inHigh confidence[1][2]
  • Minimum tank68 L18 US galMedium confidence[1][3]
  • Minimum tank length75 cm30 inLow confidence[1]
  • Minimum groupGroup of at least 10High confidence[1][2]
  • TemperamentPeacefulHigh confidence[1][2]
  • Swimming zoneMiddleMedium confidence[1][2]
  • DietCarnivoreHigh confidence[1][2][3]
  • Lifespan5 yearsLow confidence[4]
  • DifficultyIntermediateMedium confidence[1][2]
  • With shrimpCautionLow confidence[3]
  • With snailsSafeLow confidence[1]
  • With plantsSafeHigh confidence[1][2]

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: Seriously Fish 22-28 C.
  • pH: Seriously Fish 4.0-7.5 (wild fish lower); Fishkeeper 5.5-7.0.
  • Carbonate hardness (KH): Fishkeeper: KH up to 8.
  • Adult size: Seriously Fish 3.3 cm SL; Fishkeeper 4 cm.
  • Minimum tank: Seriously Fish 75 x 30 cm base for a mixed-sex group; Aquarium Co-op 10 gal minimum for pencilfish.
  • Minimum group: Seriously Fish advises 10 or more; Fishkeeper agrees.
  • Temperament: Peaceful with other fish; males spar and Seriously Fish says it is feistier than most pencilfish.
  • Lifespan: Genus-level: Aquariadise says pencilfish usually live around 5 years, longer in ideal conditions.

Behaviour and tank mates

Good with

With conditions

  • Amano shrimpThree-lined pencilfish may eat or harass Amano shrimp; give dense cover.
  • Boesemani rainbowfishThree-lined pencilfish likes softer water than Boesemani rainbowfish; keep it near neutral (pH about 7), medium hard and steady, and choose captive-bred fish.
  • Buenos Aires tetraWatch for chasing between Buenos Aires tetra and Three-lined pencilfish; add hiding places.
  • Cherry shrimpThree-lined pencilfish may eat or harass Cherry shrimp; give dense cover.
  • Colombian tetraWatch for chasing between Colombian tetra and Three-lined pencilfish; add hiding places.
  • Endler's livebearerThree-lined pencilfish likes softer water than Endler's livebearer; keep it near neutral (pH about 7), medium hard and steady, and choose captive-bred fish.

Avoid

  • AngelfishAngelfish can eat small fish like Three-lined pencilfish.
  • AxolotlAxolotl needs 14–20 °C; your animals need 24–28 °C.
  • Bala sharkBala shark can eat Three-lined pencilfish.
  • Chinese algae eaterChinese algae eater can eat small fish like Three-lined pencilfish.
  • Cobalt blue zebra cichlidCobalt blue zebra cichlid is aggressive and would harass Three-lined pencilfish.
  • Common goldfishCommon goldfish is a coldwater animal; Three-lined pencilfish is tropical.
  • Dojo loachDojo loach needs 18–23 °C; your animals need 24–28 °C.
  • Fahaka pufferFahaka puffer can eat small fish like Three-lined pencilfish.

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 typeTropical freshwater[1][2]
FlowLow flow[1][2]
SubstrateAny substrate[1]
DecorDense plants, Floating plants, Driftwood, Leaf litter[1][2]
Special needsNeeds soft, acidic water, Needs plants, Needs low flow, Jumper: needs a lid[1][2][3]
ActiveBy day[1]
Social structureGroup[1][2]
SchoolingLoose shoal[1]

Feeding

FoodsFlakes, Micro pellets, Frozen bloodworms, Frozen daphnia, Frozen brine shrimp, Live foods[1][2][3]
Feeding (adults)2-3 small meals daily, only what is eaten in a few minutes[5][6]
Feeding (juveniles)several small meals daily[6]
Can go without food3 days[5][6]
Feeding zoneMidwater[1][3]

Breeding and sexing

BreedingEgg scatterer[1][2]
Breeding difficultyModerate[1]
Telling the sexes apartMales are more intensely coloured, especially when spawning; females are rounder.[1][2]
Breeding notesSpawns often. Use a dim breeding tank with mesh, grass matting, marbles or fine moss so eggs fall out of reach, and slightly acidic warm water. Remove adults after 2-3 days; fry appear about 3 days later.[1]

Never release aquarium animals or plants into the wild.

Look-alikes

Not sure which one you have? Identify it from a photo.

Frequently asked questions

What temperature does a Three-lined pencilfish need?

The Three-lined pencilfish does best at 24–28 °C (75–82 °F) and pH 5.5–7, based on the sources listed on this page.

What size tank does a Three-lined pencilfish need?

At least 68 L (about 18 US gallons) for adults in a group of 10. Bigger is easier to keep stable.

How long does a Three-lined pencilfish live?

Usually 5 years with good care.

How many Three-lined pencilfish should be kept together?

Keep at least 10 together; the species feels safer and shows natural behaviour in a group.

Can a Three-lined pencilfish live with a Black neon tetra?

Our rules rate Three-lined pencilfish with Black neon tetra as “Good match” for a typical tank.

Sources

  1. seriouslyfish.com/species/nannostomus-trifasciatus/
  2. fishkeeper.co.uk/fish/freshwater/characins/three-lined-pencilfish
  3. aquariumcoop.com/blogs/aquarium/pencilfish
  4. aquariadise.com/pencilfish/
  5. buildyouraquarium.com/how-long-can-fish-go-without-food/
  6. aquariadise.com/how-long-can-fish-go-without-food/