Two-Lined Pencilfish
Nannostomus bifasciatus
Also known as: Two-lined/whiteside pencilfish, Two-lined/whiteside Pencilfish
A schooling pencilfish that tilts nose-up and swims in tight, lively groups.

About
The two-lined pencilfish (Nannostomus bifasciatus) is a slender, torpedo-shaped characin from the coastal river systems of Suriname and French Guiana, where it tends to favor upstream stretches with some current. Like other pencilfish, it carries a pair of bold horizontal stripes along its flanks, but what really catches the eye in a group setting is its habit of angling the body upward while swimming. A quirky posture that makes a school of them look like a living mobile. It is genuinely gregarious, forming tight schools in the wild, and this social nature carries over into the aquarium. A group of ten or more will behave far more naturally and confidently than a smaller cluster. Despite being labeled as schooling, this species does have a reputation for scrappiness. Conspecific squabbles are common, especially in smaller groups or cramped quarters, which is part of why a 20-gallon minimum is worth taking seriously. It is crepuscular, meaning it tends to be most active around dawn and dusk. Diet-wise it leans toward insect-based foods in the wild, so small live or frozen invertebrate foods like daphnia or bloodworms will be well received alongside quality dried foods. Intermediate-level experience is a fair expectation here.
Similar species
Other fish you might consider
Good tank mates
Species that tend to coexist peacefully with Two-Lined Pencilfish
From the same region
Share the same natural habitat. Great for a biotope-themed tank
Frequently asked questions
- How big does the Two-Lined Pencilfish get?
- The Two-Lined Pencilfish reaches about 1–1.5" as an adult.
- What size tank does the Two-Lined Pencilfish need?
- A minimum of 20 gallons is recommended for the Two-Lined Pencilfish.
- What water parameters does the Two-Lined Pencilfish need?
- The Two-Lined Pencilfish does best with a temperature of 72–82°F, a pH of 5–7.5, hardness around 2–12 dGH.
- Is the Two-Lined Pencilfish aggressive?
- The Two-Lined Pencilfish is generally peaceful and suits a community tank with similarly calm tankmates.
- What does the Two-Lined Pencilfish eat?
- The Two-Lined Pencilfish is an omnivore. It does well on a varied diet of quality flake or pellet plus occasional frozen or live foods.
- How long does the Two-Lined Pencilfish live?
- With good care, the Two-Lined Pencilfish typically lives 10 years.