title: "Pajama Cardinalfish: The Complete Reef Care & Schooling Guide" description: "The definitive pajama cardinalfish (Sphaeramia nematoptera) care guide: one of the few marine fish that schools, reef setup, nocturnal feeding, mouthbrooding, and peaceful tank mates." slug: pajama-cardinalfish commonName: Pajama Cardinalfish scientificName: Sphaeramia nematoptera family: Apogonidae order: Kurtiformes difficulty: Beginner minTankSize: 30 temperature: "75–82°F (24–28°C)" ph: "8.0–8.4" hardness: "Marine — SG 1.020–1.026" lifespan: "4–5 years" maxSize: "3.5 inches (9 cm)" origin: "Indo-Pacific" publishedAt: "2026-06-05"
Pajama Cardinalfish: The Complete Reef Care & Schooling Guide
The pajama cardinalfish looks like it was assembled from spare parts — a yellow face, a bold black mid-body band, and a silvery, red-polka-dotted rear, all behind big nocturnal eyes — and the charmingly mismatched "pyjamas" are only part of its appeal. Sphaeramia nematoptera is one of the very few marine fish that genuinely schools in the aquarium, hovering peacefully in a calm group among the coral by day and feeding at dusk. Hardy, reef-safe, peaceful, and a paternal mouthbrooder, it's an excellent, characterful beginner marine fish.
This guide is the complete reference: pajama cardinal biology, its rare schooling behaviour, reef setup, nocturnal feeding, mouthbrooding, and tank mates.
Species Overview
The pajama cardinalfish (Sphaeramia nematoptera) is a small, distinctive marine fish reaching about 9 cm (3.5 inches). Its quirky pattern is unmistakable: a yellow head and big eyes, a broad black vertical band across the middle, and a silvery rear scattered with red-brown polka dots. The large eyes reflect its nocturnal habits. Both sexes look similar.
The pajama cardinal is peaceful, slow-moving, hardy, and reef-safe — and notably, it's one of the few marine fish that truly schools in the aquarium, making it possible to keep a calm, hovering group, which is unusual and beautiful in a reef. It's nocturnal/crepuscular (most active at dusk and night, with a quiet, hovering presence by day), and like its relative the Banggai cardinalfish it's a paternal mouthbrooder that can be bred at home. With good care it lives 4–5 years. Its charming looks, peaceful schooling, hardiness, and breedability make it a standout beginner marine fish.
Natural History and Origin
Sphaeramia nematoptera ranges across the Indo-Pacific, living in sheltered lagoons and reef flats, where it hovers in groups among branching corals (especially Porites and similar) by day and disperses to feed on zooplankton at dusk and night. Its large eyes are an adaptation to this crepuscular/nocturnal feeding, and its slow, hovering, group-living lifestyle relies on the shelter of coral rather than speed.
Two traits define its appeal. First, it's a genuine schooling marine fish — unlike most marine species that are territorial or solitary, pajama cardinals naturally shoal, hovering together among coral, which translates into the aquarium as a calm, cohesive group (a rarity worth showcasing). Second, like other cardinalfish (Apogonidae), it's a paternal mouthbrooder, the male incubating eggs and fry in his mouth, making it breedable at home. Its sheltering, schooling, nocturnal, and mouthbrooding biology all shape its care: a calm reef with coral/structure, an evening feeding, and the option of a peaceful group.
Water Parameters
| Parameter | Target | Notes |
|---|---|---|
| Temperature | 75–82°F (24–28°C) | Stable reef conditions. |
| Specific gravity | 1.020–1.026 (≈35 ppt) | 1.025–1.026 for reef tanks. |
| pH | 8.0–8.4 | Driven by alkalinity; keep steady. |
| Alkalinity (KH) | 8–12 dKH | Buffers pH. |
| Ammonia / Nitrite | 0 ppm | Fully cycle the tank first. |
| Nitrate | < 10–20 ppm | Low for reefs. |
Pajama cardinalfish need stable, mature marine conditions and are hardy and forgiving of minor fluctuations. Mix salt with RO/DI water, target salinity with a refractometer, and add them to a fully cycled tank — confirm with the nitrogen cycle tracker and the water parameters reference. Stability suits these calm, schooling fish.
Tank Setup Guide
Tank size
A small school is comfortable in a 30-gallon (115-litre) reef, with more space for a larger group. They're slow and don't need huge swimming room, but a group needs enough room and shelter to hover peacefully together.
Aquascape
Provide live rock and coral/branching structure they can hover among, echoing their wild coral-sheltering. A standard reef setup (live rock, sand, gentle-to-moderate flow) suits them, and a group looks especially good hovering above branching coral or rock. They're reef-safe and won't harm corals or invertebrates.
Filtration, flow, lid
Run a standard reef system with moderate (not strong) flow — they're slow swimmers. A lid is sensible. A calm, mature, coral-rich reef is ideal, and the calm environment encourages the schooling behaviour they're prized for.
Feeding Guide
Pajama cardinalfish are carnivores that feed on zooplankton, most actively at dusk and night.
What to feed
- Frozen mysis shrimp — an excellent staple.
- Enriched frozen brine shrimp — a good supplement.
- Marine pellets — many accept prepared foods.
- Copepods and small live foods — relished, reflecting their natural diet.
How often
Feed once or twice daily, including an evening feed, since they're crepuscular/nocturnal and may miss daytime feedings — an after-lights or dusk feeding ensures the group gets its share. They're slow, deliberate feeders, so avoid fast competitive tank mates outcompeting them. A healthy pajama cardinal is full-bodied and calm, feeding steadily at dusk.
Behaviour, Schooling and Tank Mates
The pajama cardinalfish's standout trait is that it's one of the few marine fish that genuinely schools — a calm group hovers together among the coral by day, a beautiful and unusual sight in a reef tank. They're peaceful and slow-moving, becoming active at dusk and night. Keeping a group of three or more brings out the schooling behaviour, though (like Banggais) they establish a mild hierarchy, so a spacious, sheltered tank keeps the group cohesive and harmonious.
Toward other species they're peaceful and reef-safe, suiting calm community reefs. Good tank mates include percula and ocellaris clownfish, royal gramma, banggai cardinalfish, green chromis, firefish goby, and other peaceful reef fish. Avoid aggressive or fast, competitive feeders. Use the compatibility checker — a peaceful, slightly dim, calm reef showcases their schooling best.
Breeding Guide
Like other cardinalfish, the pajama cardinal is a paternal mouthbrooder and can be bred at home (though slightly less commonly than the Banggai). A bonded pair will spawn in a stable, well-fed reef; the female lays a clutch the male incubates in his mouth until the fry are developed.
Pajama cardinal fry are smaller than Banggai fry and the larval/juvenile rearing is a little more involved (they may go through a brief planktonic phase requiring small live foods like rotifers and copepods, then baby brine shrimp), making them a step up from the Banggai but still achievable for a dedicated marine breeder. Witnessing a male brood a mouthful of eggs is a rewarding sign of a healthy, well-kept group, and raising the fry is a satisfying marine breeding project. As always, supporting captive breeding is good for the hobby and wild stocks.
Health and Disease
Pajama cardinalfish are hardy, with the usual marine concerns reduced by quarantine and stability.
Marine ich (Cryptocaryon) — white spots, flashing, fast breathing — treat in quarantine with copper or proven therapy. Marine velvet (Amyloodinium) is a faster, deadlier dusting disease requiring emergency quarantine treatment. Bacterial infections follow poor water or stress. Stress from being outcompeted by fast feeders or from an unstable tank can weaken individuals; their nocturnal nature means they need an evening feeding to stay well-fed.
Prevention: quarantine new fish, keep parameters stable, feed a varied meaty diet including an evening feed, choose healthy (ideally captive-bred) stock, and provide a calm, sheltered tank. Given those, pajama cardinalfish are hardy, trouble-free, peaceful reef fish.
Interesting Facts
- A true schooling marine fish. Pajama cardinals are among the few marine fish that genuinely shoal in the aquarium, hovering together among coral.
- Mismatched "pyjamas." The yellow face, black band, and red-polka-dotted rear look charmingly assembled from spare parts — hence the name.
- Big-eyed and nocturnal. Their large eyes suit dusk-and-night feeding, so an evening feed keeps them well-nourished.
- Mouthbrooding fathers. Like all cardinalfish, the male incubates eggs and fry in his mouth, making home breeding possible.
- Calm and slow. Their slow, hovering movement and peaceful nature make them a serene reef presence.
Bringing It Together
The pajama cardinalfish is a charming, peaceful, hardy marine fish with a rare gift — it genuinely schools, letting you keep a calm, cohesive group hovering among the coral, which few marine fish allow. Give it a stable, mature 30-gallon-plus reef with coral/rock shelter, moderate flow, a varied meaty diet including an evening feeding (it's nocturnal), and calm tank mates, and keep a group of three or more in a spacious, sheltered tank to bring out its schooling. As a paternal mouthbrooder it can even be bred at home for the dedicated keeper. Its quirky looks, peaceful schooling, hardiness, and breedability make it an excellent beginner marine fish and a beautiful complement to the Banggai cardinalfish, percula clownfish, and green chromis. Plan the reef build with the AI Tank Blueprint generator.
Live Foods from Blackwater Aquatics
A nocturnal carnivore that hunts zooplankton — enriched baby brine shrimp, mysis, and copepods feed its evening appetite and keep a peaceful school in condition.
Compatibility
The Pajama Cardinalfish has a peaceful temperament. Choosing the right tank mates is essential for a stable aquarium.
✓ Compatible Tank Mates
✗ Incompatible Species
Frequently Asked Questions — Pajama Cardinalfish
Do pajama cardinalfish school?↓
Yes — they are one of the few marine fish that genuinely school in the aquarium, hovering together among coral by day. A calm group of three or more looks and behaves best.
Are pajama cardinalfish nocturnal?↓
They are most active at dusk and night, with large eyes for low-light hunting. Include an evening feeding so they get their share of food.
AI-Powered
Need Help Building The Perfect Setup?
Describe your goals and SpawnOS AI will generate a complete tank blueprint including compatible species, substrate, plants, hardscape, equipment, and a maintenance schedule.
Generate Aquarium Blueprint