Can zebra danios live with pencilfish?

Verdict
Yes

Yes, zebra danios and pencilfish can live together. Both are fine at 75–77°F. Plan on at least 15 gal.

Why it works

Water side by side

55°60°65°70°75°80°85°90°Both: 75–77°Zebra danio 65–77°Pencilfish 75–82°
The green band is the temperature range both can live in.
456789Both: 6.5–7.5Zebra danio 6.5–8Pencilfish 5–7.5
The green band is the pH both tolerate.

Size to scale

Zebra danio · 2 inPencilfish · 2 in0"1"2"3"4"5"6"
Adult length in an aquarium. A fish can swallow anything that fits in its mouth, roughly a third to half its own length for predators.

Care at a glance

Zebra danioPencilfish
Temperature65–77 °F75–82 °F
pH6.5–85–7.5
Adult size2.0 in2.0 in
Minimum tank10 gal15 gal
TemperamentPeacefulPeaceful
Swims atTopMiddle
GroupGroups of 6+Groups of 6+
DietOmnivoreOmnivore

Better tank mates for zebra danios

All zebra danio tank mates

Better tank mates for pencilfish

All pencilfish tank mates

Questions

Can zebra danios live with pencilfish?

Yes, zebra danios and pencilfish can live together. Both are fine at 75–77°F. Plan on at least 15 gal.

What temperature suits both zebra danios and pencilfish?

75–77 °F. Zebra danios need 65–77 °F, pencilfish need 75–82 °F.

What size tank do zebra danios and pencilfish need together?

At least 15 gal, set by the pencilfish. Add space for each extra fish.