Golden pencilfish (Nannostomus beckfordi)
A slim, golden fish with a dark side stripe that turns red in males. Keep eight or more in a densely planted tank with gentle flow, a lid and soft to medium water. Feed tiny foods several times a day, such as baby brine shrimp, daphnia and crushed flakes.
Also known as: Beckford's pencilfish, Red Beckford pencilfish, Pencilfish

Quick facts
- Temperature22–27 °C72–81 °FHigh confidence[1][2]
- pH5.5–7.5Medium confidence[1][2]
- General hardness (GH)1–15 dGH18–268 ppmLow confidence[1]
- Adult size4–5 cm1.6–2 inMedium confidence[2][1][3]
- Minimum tank40 L11 US galMedium confidence[1][4]
- Minimum tank length45 cm18 inLow confidence[1]
- Minimum groupGroup of at least 8Medium confidence[1][4]
- TemperamentPeacefulHigh confidence[1][4]
- Swimming zoneMiddleHigh confidence[4][1]
- DietCarnivoreHigh confidence[1][4]
- Lifespan4–5 yearsLow confidence[2]
- DifficultyBeginnerHigh confidence[1][4][2]
- With shrimpCautionLow confidence[1]
- With snailsSafeLow confidence[1]
- With plantsSafeHigh confidence[1][4]
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 21-27 C, Aquariadise 21-27 C.
- pH: Seriously Fish 5.0-8.0, Aquariadise 5.5-8.0; wild fish prefer the low end. We trim the top.
- Adult size: Aquariadise says 4-5 cm in aquariums; Seriously Fish and Wikipedia give a maximum of 6.5 cm standard length.
- Minimum tank: Seriously Fish about 41 L; Aquarium Co-op says 10 gal works but prefers 20 gal. More room if keeping several males.
- Minimum tank length: Seriously Fish base of 45 x 30 cm.
- Minimum group: Aquarium Co-op says at least 6; Seriously Fish 10 or more. We use 8.
- Lifespan: Aquariadise: pencilfish usually live about 5 years.
- Schooling: Groups of 10 or more spread male squabbling; about two females per male helps.
Behaviour and tank mates
Good with
With conditions
- Amano shrimpGolden pencilfish may eat or harass Amano shrimp; give dense cover.
- AngelfishWatch for chasing between Angelfish and Golden pencilfish; add hiding places.
- Buenos Aires tetraWatch for chasing between Buenos Aires tetra and Golden pencilfish; add hiding places.
- Cherry shrimpGolden pencilfish may eat or harass Cherry shrimp; give dense cover.
- Colombian tetraWatch for chasing between Colombian tetra and Golden pencilfish; add hiding places.
- KribensisWatch for chasing between Kribensis and Golden pencilfish; add hiding places.
Avoid
- AxolotlAxolotl needs 14–20 °C; your animals need 22–27 °C.
- Bala sharkBala shark can eat Golden pencilfish.
- Chinese algae eaterChinese algae eater can eat small fish like Golden pencilfish.
- Cobalt blue zebra cichlidCobalt blue zebra cichlid is aggressive and would harass Golden pencilfish.
- Common goldfishCommon goldfish is a coldwater animal; Golden pencilfish is tropical.
- Dojo loachDojo loach is a coldwater animal; Golden pencilfish is tropical.
- Fahaka pufferFahaka puffer can eat small fish like Golden pencilfish.
- Fancy goldfishFancy goldfish is a coldwater animal; Golden 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][2] |
|---|---|
| Flow | Low flow[1][4] |
| Substrate | Any substrate[1] |
| Decor | Dense plants, Floating plants, Driftwood, Leaf litter[1][4] |
| Special needs | Needs plants, Needs low flow, Jumper: needs a lid[1][4] |
| Active | By day[1][3] |
| Social structure | Group[1][4][3] |
| Schooling | Loose shoal[1][4][2] |
Feeding
| Foods | Flakes, Frozen daphnia, Frozen brine shrimp, Live foods[2][1][4] |
|---|---|
| Feeding (adults) | 2 to 3 small meals daily[5][6] |
| Can go without food | 3 days[5][6] |
| Feeding zone | Midwater[1][4] |
Breeding and sexing
| Breeding | Egg scatterer[3][4] |
|---|---|
| Breeding difficulty | Moderate[2][1][4] |
| Telling the sexes apart | Males are more intensely coloured and have a rounded back edge to the anal fin; females are rounder in the body with a straight anal fin edge.[1][3] |
| Breeding notes | Egg scatterer with no parental care that spawns often but eats its eggs. Use a dim tank with mature, slightly acidic, warm water and a mesh, marbles, moss or mops so eggs fall out of reach; remove the adults after 2-3 days. Eggs hatch in about 1-2 days and fry swim freely about 4-6 days later.[1][4][3] |
Never release aquarium animals or plants into the wild.
Look-alikes
- Barred pencilfish Nannostomus espei
- Coral red pencilfish Nannostomus mortenthaleri
- Dwarf pencilfish Nannostomus marginatus
- 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 Golden pencilfish need?
The Golden pencilfish does best at 22–27 °C (72–81 °F) and pH 5.5–7.5, based on the sources listed on this page.
What size tank does a Golden pencilfish need?
At least 40 L (about 11 US gallons) for adults in a group of 8. Bigger is easier to keep stable.
How long does a Golden pencilfish live?
Usually 4–5 years with good care.
How many Golden pencilfish should be kept together?
Keep at least 8 together; the species feels safer and shows natural behaviour in a group.
Can a Golden pencilfish live with a Black neon tetra?
Our rules rate Golden pencilfish with Black neon tetra as “Good match” for a typical tank.