Piscora
Aquatic water texture background

Golden pencilfish

Nannostomus beckfordi

AI-generated illustration of Golden pencilfish
AI Generated
Photo All Rights Reserved

The Golden pencilfish displays a slender, elongated body with a striking golden hue and distinctive black horizontal stripes.

Freshwater

This page includes AI-generated images. Why am I seeing AI images?

About the Golden pencilfish

Beckford's pencilfish is that sleek little "stick with fins" that likes to hang in the upper half of the tank at a slight angle and flash a crisp dark stripe. Keep a proper group and you'll see males do these tiny sparring/display moments (no real damage) and the whole school just looks super classy over dark substrate and plants.

Also known as

Beckford's pencilfishBrown pencilfish

Quick Facts

Size

6.5 cm

Temperament

Peaceful

Difficulty

Beginner

Min Tank Size

10 gallons

Lifespan

3-5 years

Origin

South America

Diet

Micro-predatory omnivore - small insects/crustaceans/worms; in tanks use micro pellets/flake plus frozen/live foods

Water Parameters

Temperature

24-26°C

pH

6-8

Hardness

5-19 dGH

Need a heater for this species?

This species needs 24-26°C in a 10 gallon tank. Use our heater calculator to find the right wattage.

Calculate heater size

Care Notes

  • Keep them in a group (6+ is way better than a pair); when they're solo they get shy and you barely see them.
  • They love a planted tank with floaters and some shaded spots-think gentle lighting and lots of places to weave through near the surface.
  • Aim for soft, slightly acidic water if you can (around pH 6.0-7.2, 24-27°C / 75-81°F); they'll live in neutral water too, but colors pop more when it's not hard and alkaline.
  • Use a gentle filter or baffle the flow-pencilfish aren't fans of being blasted around and they hang out in calmer top/mid water.
  • Feed small stuff: micro pellets, crushed flakes, daphnia, baby brine, cyclops; tiny mouths mean big flakes just get spit out.
  • Great with other chill community fish (small tetras, rasboras, corys, otos); skip fin-nippers and big/boisterous fish that will keep them pinned in the corners.
  • If you want babies, toss a pair/trio into a heavily planted or mossy tank and keep the light dim-adults will snack on eggs/fry, so pull the parents or move the eggs if you're serious.

Compatibility

Good Tankmates

  • Small, chill tetras that aren't fin-nippy (neons, embers, glowlights). They hang midwater and won't bother the pencils, and everyone vibes in the same soft, planted setup.
  • Corydoras (pygmy, panda, bronze, etc.). They stick to the bottom, totally non-threatening, and the pencilfish stay up top doing their little hovering thing.
  • Otocinclus and other gentle algae crew. Otos are basically invisible roommates-no chasing, no drama-great match for a peaceful Amazon-style community.
  • Small, calm dwarf cichlids like Apistogramma or ram cichlids (in a planted tank with space). They usually keep to territories down low, and the pencils don't get in their face.
  • Tiny, peaceful rasboras (chili rasboras, harlequins in bigger tanks). Similar temperament and they don't compete hard at the surface the way some fish do.
  • Other non-aggressive pencilfish/hatchetfish-style top dwellers (marbled hatchetfish, other Nannostomus). Just keep groups decent-sized so nobody gets singled out.

Avoid

  • Anything nippy or pushy like tiger barbs, serpae tetras, or even some "mean" black skirts. Golden pencils are peaceful and can get stressed when they're constantly being chased or fin-checked.
  • Bigger, boisterous semi-aggressive fish (most cichlids that aren't dwarfs, rainbowfish that zoom nonstop). The pencils get outcompeted at feeding time and spend the day hiding.
  • Fish that see them as snacks-angelfish once they're grown, larger gouramis, any decent-sized predator. Pencilfish are slim and bite-sized, especially if they hover near the top.

1) Where they come from

Golden pencilfish (Nannostomus beckfordi) come from northern South America—think slow, tannin-stained creeks and flooded forest edges in places like Guyana and the Amazon basin. The water’s often tea-colored from leaf litter, with lots of roots, sticks, and plants breaking up the flow.

That “blackwater” vibe isn’t mandatory in your tank, but they sure act more relaxed when you give them cover and dimmer light.

2) Setting up their tank

These are small fish, but they look way better (and behave better) in a group. I’d treat them like a display shoal fish: give them horizontal swimming room and lots of visual breaks so the shy ones don’t feel exposed.

  • Tank size: 10–20 gallons works great for a group; bigger is always nicer for calmer behavior
  • Group size: 8+ if you can—6 is okay, but you’ll see more confidence in larger groups
  • Filtration: gentle flow; they don’t love being blasted around
  • Hardscape: driftwood, branches, leaf litter (Indian almond leaves or oak), and floating plants
  • Lighting: medium to low; floaters help a lot

For water, they’re pretty forgiving for a beginner fish as long as you don’t swing parameters all over the place. Neutral-ish water is fine. If your tap is hard, they can still do okay—just keep things stable and don’t chase numbers.

Give them a tight lid. Pencilfish are jumpers, especially during chasing or if something spooks them.

If they look washed out, add floating plants and a bit more cover. Color and confidence usually come back fast once they feel hidden from “predators” (aka you walking by).

3) What to feed them

They’ve got small mouths and they’re picky about particle size. Mine would take flakes, but only once I crushed them up. If you want that warm golden color and steady activity, mix in small frozen/live foods.

  • Everyday: finely crushed flake or micro pellets
  • Favorites: baby brine shrimp, daphnia, cyclops, and small frozen foods
  • Treats: live baby brine shrimp or microworms (they go nuts for it)

Watch the tank during feeding. Pencilfish can be a little slow and polite—if you keep them with fast eaters (danios, bigger barbs), they may get outcompeted.

4) Behavior and tankmates

Golden pencilfish spend a lot of time in the upper half of the tank, kind of hovering and making short darts. Males do little sparring displays—more like “posturing” than real fighting. In a good-sized group with cover, it’s fun to watch and usually harmless.

  • Great tankmates: small tetras, Corydoras, otos, small rasboras, peaceful dwarf cichlids, and shrimp-friendly setups (with enough plant cover)
  • Avoid: fin nippers, big boisterous fish, and anything that sees tiny fish as snacks
  • With shrimp: adults often fine; shrimplets may get picked off unless you’ve got dense moss and hiding spots

If you want the males to show off without stressing the group, add more line-of-sight breaks: stems, wood, and floaters. It spreads out the chasing.

5) Breeding tips

They’re one of the more doable pencilfish to breed, but don’t expect a big spawn in the community tank—eggs and fry tend to get eaten. If you actually want babies, a small breeding setup makes life way easier.

  • Use a separate tank: 5–10 gallons with a sponge filter and gentle air
  • Spawning medium: fine-leaf plants, a thick clump of moss, or a spawning mop
  • Lighting: dim (or keep it darker with floaters)
  • Condition the parents: baby brine shrimp/daphnia for a week or two
  • Pull the adults after you see spawning behavior— they won’t babysit

Fry are tiny at first. You’ll need truly small foods: infusoria, commercial fry dust, or a mature tank with biofilm helps. Once they can take baby brine shrimp, things get much simpler.

If you’re struggling with fry survival, the usual fix is more tiny food available more often—not “more water changes.” Keep water clean, yeah, but starving is the common killer early on.

6) Common problems to watch for

Most issues I’ve seen with golden pencilfish come from stress: too bright, too exposed, not enough of a group, or being housed with pushy tankmates. They’re hardy once settled, but they don’t love chaos.

  • Jumping: happens during chasing or sudden scares—use a lid and keep the waterline a little lower
  • Faded color/hiding: usually too much light or not enough cover (or too small a group)
  • Not eating: food pieces too big, or they’re being bullied/offered food in strong flow
  • Ich after adding new fish: they can show spots fast when stressed—quarantine new arrivals if you can
  • Slow wasting/skinny fish: sometimes internal parasites on new imports; look for stringy white poop and poor appetite

If you bring home a group and they’re thin or clamped, don’t panic-dose the whole tank right away. Start with calm, warm, clean water, easy foods (frozen/live), and observe. Treat only if you’re seeing clear symptoms.

Similar Species

Other freshwater peaceful species you might be interested in.

AI-generated illustration of Aboina barb
Freshwater
AI Generated
Photo

Aboina barb

Enteromius aboinensis

Enteromius aboinensis (the Aboina barb) is a small West African barb with a clean black midline stripe and a little spot right at the base of the tail. It does best when you treat it like a proper schooling fish - keep a decent group and give it plants around the edges with open swimming room in the middle.

Small Peaceful Intermediate
Min. 20 gal
AI-generated illustration of Ajuricaba tetra
Freshwater
AI Generated
Photo

Ajuricaba tetra

Jupiaba ajuricaba

Jupiaba ajuricaba is a South American freshwater characin from the Amazon basin in Brazil (rio Negro, rio Solimões, and rio Tapajós basins). It reaches about 9.5 cm SL and is diagnosed by a narrow dark midlateral stripe, an elongated humeral spot, and an ocellated spot on the upper caudal-fin lobe. Wild specimens have been collected from blackwater forest streams and also oxbow-lake habitats.

Small Peaceful Intermediate
Min. 20 gal
AI-generated illustration of Allen's river garfish
Freshwater
AI Generated
Photo

Allen's river garfish

Zenarchopterus alleni

A poorly known freshwater halfbeak endemic to West Papua (Mamberamo River), described from a single specimen (~13 cm SL). Beyond basic habitat/occurrence, little is published about its ecology or aquarium suitability; assume it is a surface-oriented, jump-prone halfbeak only by analogy with related taxa.

Medium Peaceful Expert
Min. 20 gal
AI-generated illustration of Amapa tetra
Freshwater
AI Generated
Photo

Amapa tetra

Hyphessobrycon amapaensis

This is a tiny, super sleek little tetra with a clean red stripe down the side that really pops once its settled in. It does best in a planted, slightly tinted "creek-style" setup and looks way cooler when you keep a proper group so they school and flash that line together. If you can give it soft, slightly acidic water and a calm community, its an easy fish to fall for.

Nano Peaceful Intermediate
Min. 20 gal
AI-generated illustration of Amatlan chub
Freshwater
AI Generated
Photo

Amatlan chub

Yuriria amatlana

Yuriria amatlana (the Amatlan chub) is a little Mexican native minnow from the Ameca River basin. Its wild range is pretty limited and it is listed as Endangered, so its care info in the aquarium hobby is basically nonexistent and its availability is usually low. In the original species description, preserved fish show a dark lateral stripe with a darker patch on the caudal peduncle, and they can have tiny barbels at the mouth corners.

Small Peaceful Advanced
Min. 20 gal
AI-generated illustration of Andrica moenkhausia
Freshwater
AI Generated
Photo

Andrica moenkhausia

Moenkhausia andrica

Moenkhausia andrica is a little Brazilian characin from the Tapajos system that tops out around 7 cm (about 2.8 inches) standard length. It has a neat netted (reticulated) scale pattern plus a dark spot on the caudal peduncle, and the really wild part is that mature females can have tiny fin hooklets too, which is usually a male-only thing in a lot of characins.

Small Peaceful Intermediate
Min. 20 gal

More to Explore

Discover more freshwater species.

AI-generated illustration of Altipedunculata stone loach
Freshwater
AI Generated
Photo

Altipedunculata stone loach

Schistura altipedunculata

Schistura altipedunculata is one of those little stream loaches that wants clean, well-oxygenated water and a bunch of rock nooks to claim as home. It is a bottom-hugger that will spend its day scooting from crevice to crevice, and it tends to get a bit spicy with its own kind if you do not give it enough hiding spots.

Small Semi-aggressive Advanced
Min. 20 gal
AI-generated illustration of American flagfish
Freshwater
AI Generated
Photo

American flagfish

Jordanella floridae

Jordanella floridae is that little Florida native with the red-and-cream striping that really does look like a tiny flag once a male colors up. They graze algae like champs (especially stringy/hair algae), but they have a bit of attitude - give them plants and space so the bossy behavior stays manageable. Bonus: the male guards the eggs and will actively fan them, which is pretty fun to watch.

Small Semi-aggressive Intermediate
Min. 20 gal
AI-generated illustration of Amur sculpin
Freshwater
AI Generated
Photo

Amur sculpin

Alpinocottus szanaga

This is a little coldwater sculpin from the Amur drainage - a bottom-hugging, rock-and-gravel fish that spends its day wedged under stones and darting out to grab food. Super cool behavior and attitude, but it is absolutely not a warm tropical community fish - it wants chilly, fast, oxygen-rich water and will bicker with other bottom fish.

Small Semi-aggressive Advanced
Min. 20 gal
AI-generated illustration of Anhanga pygmy pencil catfish
Freshwater
AI Generated
Photo

Anhanga pygmy pencil catfish

Potamoglanis anhanga

This is a truly tiny Amazonian trichomycterid catfish - like 1.3 cm max - so it is more of a micro-predator oddball than a typical community catfish. It is the kind of fish that disappears into sand, leaf litter, and plant roots, and you will spend way more time setting up the right micro-habitat than you will actually seeing it.

Nano Peaceful Expert
Min. 5 gal
AI-generated illustration of Anitápolis livebearer
Freshwater
AI Generated
Photo

Anitápolis livebearer

Jenynsia weitzmani

Jenynsia weitzmani is a freshwater anablepid livebearer endemic to southern Brazil (currently known only from the type locality near Anitápolis, Santa Catarina). Like other Jenynsia (onesided livebearers), reproduction involves lateralized mating morphology/behavior; aquarium care guidance is not well-documented for this species specifically.

Small Semi-aggressive Advanced
Min. 20 gal
AI-generated illustration of Anteridorsal Homatula loach
Freshwater
AI Generated
Photo

Anteridorsal Homatula loach

Homatula anteridorsalis

This is a benthic Chinese stream loach from Yunnan that lives right down on the bottom in clear, flowing water over gravel and rocks. Think of it as a "river tank" fish - it wants current, oxygen, and lots of surfaces to poke around on for bits of food and algae.

Small Peaceful Advanced
Min. 40 gal

Looking for other species?