Can Dwarf Pencilfish and Sunset Platy (Variatus Platy) Live Together?

Reviewed by Guidarium Editorial DeskUpdated May 11, 2026
Possible with Caution

Keeping Dwarf Pencilfish and Sunset Platy (Variatus Platy) together is possible but requires caution due to potential behavioral clashes. Provide a spacious tank of at least 55 litres with plenty of hiding spots to reduce stress. Monitor behaviour closely, especially during the first few weeks.


At a Glance

Dwarf Pencilfish

Nannostomus marginatus

Sunset Platy (Variatus Platy)

Xiphophorus variatus

🐠Family Group
Dwarf Pencilfish
Characins
Sunset Platy (Variatus Platy)
Livebearers
Temperament
Dwarf Pencilfish
Peaceful (1/10)
Sunset Platy (Variatus Platy)
Peaceful (2/10)
Temperature
✓ Compatible
Dwarf Pencilfish
22–28°C
Sunset Platy (Variatus Platy)
15–25°C
pH Range
✓ Compatible
Dwarf Pencilfish
4–7
Sunset Platy (Variatus Platy)
7–8.2
Hardness (dGH)
✓ Compatible
Dwarf Pencilfish
1–10
Sunset Platy (Variatus Platy)
10–25
Water Type
✓ Compatible
Dwarf Pencilfish
Freshwater Only
Sunset Platy (Variatus Platy)
Freshwater Only
Flow Preference
✓ Compatible
Dwarf Pencilfish
Low
Sunset Platy (Variatus Platy)
Moderate
Min Tank Volume
Combined: 55 L
Dwarf Pencilfish
40 L
Sunset Platy (Variatus Platy)
55 L
Swimming Level
Shared: 2 zones
Dwarf Pencilfish
TopMiddle
Sunset Platy (Variatus Platy)
TopMiddle
🏷️Behavior Tags
Dwarf Pencilfish
Nano / Bite-sized (Predation Risk)Shy / Slow Moving (Easily Stressed)Jumper (Lid Required)
Sunset Platy (Variatus Platy)
Hyperactive / Fast SwimmerFry Predator
Stocking calculator

Can your tank handle Dwarf Pencilfish and Sunset Platy (Variatus Platy)?

Compatibility is only part of the answer. Test both fish with your real tank size, current stock, and maintenance needs to see if you have enough space and a safe stocking level before you add them.

Dwarf Pencilfish
Sunset Platy (Variatus Platy)
Test both in my tank

Behaviour & Temperament

Dwarf Pencilfish is a peaceful species (1/10), while Sunset Platy (Variatus Platy) is peaceful (2/10). This modest difference means Sunset Platy (Variatus Platy) may occasionally assert dominance over Dwarf Pencilfish.

Dwarf Pencilfish and Sunset Platy (Variatus Platy) both frequent the Top (Surface) and Middle (Open Water) region of the setup. This overlap can increase competition for space, so providing ample room and cover is important to keep both species comfortable.

Additional behavioural considerations to keep in mind: Hyperactive swimmers can stress shy, slow-moving species through constant motion.

Worth noting: Dwarf Pencilfish is a known jumper, so a tight-fitting lid is essential.

To improve the chances of a peaceful coexistence in this community tank: A larger aquarium with ample hiding spots can help diffuse aggression and give the less dominant fish space to retreat.

Water Parameters

The safe temperature window for both species falls between 22°C and 25°C. Aim for the midpoint of this range (around 23.5°C) for optimal comfort.

Both fish can tolerate a pH between 7 and 7. Maintaining a stable value within this band is more important than hitting an exact number.

For general hardness, the shared comfort zone is 10–10 dGH. Regular testing will ensure conditions stay within this range.

Tank Setup

To house Dwarf Pencilfish and Sunset Platy (Variatus Platy) together, plan for an aquarium of at least 55 litres with a minimum length of 60 cm. This recommendation combines the stricter species minimums with a community-load allowance so the pairing has realistic long-term space and filtration headroom.

Because this pairing requires extra vigilance, include plenty of hiding spots — caves, driftwood, and dense plant clusters — so the less dominant fish can retreat when needed.

Specific environmental needs for this combination include: Plants - Densely covered, Plants - Floating, Leaf Litter/Blackwater, Established Algae (Otocinclus). Meeting these requirements will help both species thrive.

Both species do well with low (still water) water movement, so a standard filtration setup rated for the tank volume should suffice.

Why This Pairing Needs Extra Planning in Practice

This pairing usually fails when the tank is treated like a standard mixed community and the caution flags are ignored. Dwarf Pencilfish and Sunset Platy (Variatus Platy) need extra room, more cover, and closer observation during the first few weeks so small aggression, feeding, or territory issues do not snowball into a long-term problem.

Suitable Tank Sizes

Standard aquarium sizes large enough for both Dwarf Pencilfish and Sunset Platy (Variatus Platy).

Show 20 more tank sizes

Frequently Asked Questions

Can Dwarf Pencilfish and Sunset Platy (Variatus Platy) live together?

They can coexist, but the pairing requires careful monitoring. Provide ample space (at least 55 litres), plenty of hiding spots, and watch for signs of stress or aggression.

What size tank do Dwarf Pencilfish and Sunset Platy (Variatus Platy) need?

A minimum of 55 litres (tank length at least 60 cm) is recommended. This provides enough space for both species to establish their own areas and reduces the likelihood of territorial disputes.

What water temperature is best for Dwarf Pencilfish and Sunset Platy (Variatus Platy) together?

Keep the aquarium between 22°C and 25°C. A target of around 23.5°C sits comfortably within both species' preferred ranges.

Are Dwarf Pencilfish or Sunset Platy (Variatus Platy) aggressive?

Dwarf Pencilfish is peaceful (1/10) and Sunset Platy (Variatus Platy) is peaceful (2/10). Their similar temperaments generally lead to a peaceful coexistence.

What pH do Dwarf Pencilfish and Sunset Platy (Variatus Platy) need?

Both species overlap in the 7–7 pH range. Consistency is key — avoid sudden swings, and test regularly to stay within this window.

Editorial Review

Guidarium Editorial Desk

Reviewed against Guidarium care, stocking, and compatibility standards. Read the editorial policy.

Last reviewed
May 11, 2026
Last updated
May 11, 2026
Issues or corrections?
Contact the editorial team

Related Comparisons

Dwarf Pencilfish & Beckford's Pencilfish

·

Possible with Caution
Dwarf Pencilfish: PeacefulBeckford's Pencilfish: Peaceful

Dwarf Pencilfish & Bentos Tetra

·

Possible with Caution
Dwarf Pencilfish: PeacefulBentos Tetra: Peaceful

Dwarf Pencilfish & Black Neon Tetra

·

Possible with Caution
Dwarf Pencilfish: PeacefulBlack Neon Tetra: Peaceful

Dwarf Pencilfish & Black Phantom Tetra

·

Possible with Caution
Dwarf Pencilfish: PeacefulBlack Phantom Tetra: Peaceful

Dwarf Pencilfish & Bloodfin Tetra

·

Possible with Caution
Dwarf Pencilfish: PeacefulBloodfin Tetra: Peaceful

Dwarf Pencilfish & Cardinal Tetra

·

Possible with Caution
Dwarf Pencilfish: PeacefulCardinal Tetra: Peaceful

Sunset Platy (Variatus Platy) & Dwarf Molly

·

Ideal Tank Mates
Sunset Platy (Variatus Platy): PeacefulDwarf Molly: Peaceful

Sunset Platy (Variatus Platy) & Endler's Livebearer

·

Ideal Tank Mates
Sunset Platy (Variatus Platy): PeacefulEndler's Livebearer: Peaceful

Sunset Platy (Variatus Platy) & Humpbacked Limia

·

Possible with Caution
Sunset Platy (Variatus Platy): PeacefulHumpbacked Limia: Peaceful

Sunset Platy (Variatus Platy) & Celebes Halfbeak

·

Ideal Tank Mates
Sunset Platy (Variatus Platy): PeacefulCelebes Halfbeak: Peaceful

Sunset Platy (Variatus Platy) & Molly (Sailfin/Black/Dalmatian)

·

Possible with Caution
Sunset Platy (Variatus Platy): PeacefulMolly (Sailfin/Black/Dalmatian): Peaceful

Sunset Platy (Variatus Platy) & Northern Mountain Swordtail

·

Ideal Tank Mates
Sunset Platy (Variatus Platy): PeacefulNorthern Mountain Swordtail: Peaceful