Reef fish ·

Pajama Cardinalfish — The Twilight Coral Refuge

The pajama cardinalfish is a small western Pacific fish that hides among branching corals by day and leaves them at night to feed on small crustaceans. The male incubates the eggs in his mouth.

Pajama Cardinalfish — The Twilight Coral Refuge infographic; its facts are given as text on this page
A photorealistic species atlas linking diagnostic markings with branching-coral shelter, nocturnal crustacean feeding and careful aquarium guidance. Open the picture full size

At a glance

Scientific name
Sphaeramia nematoptera (Bleeker, 1856)
Family
Apogonidae
Also called
Coral cardinalfish
Maximum reported length
8.5 cm, about 3.3 inches
Habitat
Western Pacific lagoons, bays and sheltered coastal coral reefs
Diet
Small shrimps, crabs and other small crustaceans

How to recognize it

The pajama cardinalfish, also called the coral cardinalfish, has a yellow head, large red eyes and two dorsal fins. A vertical black bar runs beneath the first dorsal fin, and large brown spots mark the rear of the body. The maximum reported length is 8.5 cm, about 3.3 inches.

Sources: [1] [2]

Life among branching corals

This fish lives in the western Pacific, in lagoons, bays and sheltered coastal coral reefs. The Oregon Coast Aquarium records depths to 14 m. It lives among branching corals, including Porites cylindrica, Acropora and Anacropora.

It forms social groups. The fish hide by day and leave the protection of the coral to feed at night. The species is a carnivore that feeds on small shrimps, crabs and other small crustaceans.

Sources: [1] [2]

Eggs carried in the mouth

The male incubates the fertilized eggs in his mouth and does not feed during incubation. No precise length of incubation is given.

Sources: [1] [2]

In an aquarium

The aquarium guidance comes mainly from a care guide by Coralife, a manufacturer. The fish is described as generally peaceful toward other tankmates and as reef safe. That does not imply safety for every small crustacean, since crustaceans are its natural prey. Groups can develop dominance hierarchies and need a larger aquarium with ample cover.

The guide advises a varied meaty diet. Some fish refuse dry foods at first. They can be coaxed with frozen food and later weaned to dry, and feeding at night is worth trying for reluctant feeders. Coralife lists a minimum of 20 US gallons (approximately 76 liters). That is not presented as a universal recommendation for housing groups, which need more room and cover.

Sources: [1] [3]

Research behind the infographic: the working notes

These are the notes the picture was checked against. Some are written as instructions to the illustrator.

  • Accepted marine species Sphaeramia nematoptera (Bleeker, 1856), family Apogonidae; Apogon nematopterus is an unaccepted synonym of this same species. [4] [5]
  • Common names Pajama cardinalfish and Coral cardinalfish; yellow head, two dorsal fins, vertical black bar beneath the first dorsal fin, large brown spots on the posterior body; large red eyes. [1] [2]
  • Maximum reported length 8.5 cm, about 3.3 inches. [1] [2]
  • Western Pacific: lagoons, bays and sheltered coastal coral reefs; Oregon records depths to 14 m. [1] [2]
  • Lives among branching corals including Porites cylindrica, Acropora and Anacropora; forms social groups, hides by day and leaves coral protection to feed at night. [1] [2]
  • Carnivore feeding on small shrimps, crabs and other small crustaceans. [1] [2]
  • Male incubates fertilized eggs in his mouth and does not feed during incubation; no precise incubation duration asserted. [1] [2]
  • Aquarium guidance: generally peaceful towards other tankmates and described as reef safe; this does not imply safety for every small crustacean, since crustaceans are natural prey. Groups can develop dominance hierarchies and need a larger aquarium with ample cover. [3] [1]
  • Aquarium feeding: varied meaty diet; some initially refuse dry foods, can be coaxed with frozen food and later weaned to dry; try nighttime feeding for reluctant feeders. [3]
  • Coralife lists a 20 US gallon minimum (approximately 76 liters using 3.78541 liters per US gallon); not presented as a universal group-housing recommendation; groups need more room and cover. [3]

Sources

Sources checked November 18, 2026.

  1. Pajama Cardinalfish — Oregon Coast Aquarium
  2. Pajama Cardinalfish — Mote Marine Laboratory & Aquarium
  3. Pajama Cardinal Fish Care Guide — Coralife
  4. Aphia record 278349: Sphaeramia nematoptera — World Register of Marine Species (VLIZ)
  5. Synonyms of AphiaID 278349 — World Register of Marine Species (VLIZ)

Archive note: Read full species accounts and manufacturer care guide; taxonomy and synonym verified through actual WoRMS REST records after HTML endpoint failed. Sources: https://aquarium.org/animals/pajama-cardinalfish/ ; https://mote.org/animal-encyclopedia/pajama-cardinalfish/ ; https://www.coralifeproducts.com/care-guides/pajama-cardinal-fish ; https://www.marinespecies.org/rest/AphiaRecordByAphiaID/278349 ; https://www.marinespecies.org/rest/AphiaSynonymsByAphiaID/278349

About the picture

This infographic is an AI-generated illustration, made with openai/gpt-image-2.6-sunburst on November 18, 2026 for the Jez237 AI Images archive. It is not a photograph, and small details in the artwork may be imperfect; where the picture and the text differ, go by the text and the sources. The prompt that made it is on its card in Reef fish.

Keep exploring

More from Reef fish, or see all factual infographics.