What Pajama Cardinalfish Are and Why They Matter
The pajama cardinalfish (Sphaeramia nematoptera) is a small nocturnal fish native to the Indo-Pacific, recognizable by its two-tone body: pale head and front half, dark rear half with white spots. They grow to about 3 inches and spend most daylight hours hiding in caves or among coral branches, becoming active hunters at night. For aquarists, they are valuable because they occupy a niche few other fish fill—they hunt small crustaceans and zooplankton in low light, they are peaceful toward larger fish, and they add visible activity to tanks during evening hours when many reef keepers are watching.
Pajama cardinalfish are also among the few aquarium fish that naturally school in loose groups, so keeping two or three together is both possible and often more natural than keeping a single fish. This behavior, combined with their small size and hardiness once established, makes them a practical choice for intermediate aquarists building a mixed reef or a dedicated small-fish setup.
Key Takeaways
- Pajama cardinalfish are nocturnal hunters that hide during the day and feed on small crustaceans and zooplankton at night, so they need plenty of caves or coral branches to shelter in.
- They reach about 3 inches and can be kept singly or in small groups of two or three, though groups require more space and careful introduction to avoid aggression.
- Tank size should be at least 30 gallons for one fish, with an additional 10 to 15 gallons per additional cardinalfish to prevent territorial conflict.
- They are hardy once acclimated but are sensitive to sudden water parameter changes and copper-based medications, so quarantine is essential before adding them to an established tank.
- Feeding requires small frozen foods like mysis shrimp, copepods, and amphipods delivered at dusk or after lights out, since they do not compete well with diurnal fish at feeding time.
Tank Size and Setup Requirements
A single pajama cardinalfish needs a minimum of 30 gallons, though this is the bare minimum for a fish that will live 5 to 7 years in captivity. A 40-gallon breeder or 50-gallon tank gives the fish room to establish a home cave and patrol a small territory without stress. If you plan to keep two or three together, add 10 to 15 gallons per additional fish; a trio works well in a 55-gallon or larger setup.
The tank must include multiple hiding places—caves made from rock, PVC pipe, or aquascaping materials are essential. Pajama cardinalfish spend 16 to 20 hours a day sheltered, and a fish without adequate refuge will hide behind equipment or in the sand bed, making it nearly invisible. Live rock with natural crevices, or stacked rock formations with defined openings, work better than a single large cave because they allow multiple fish to establish separate shelters and reduce conflict. Water flow should be moderate; these fish are not strong swimmers and prefer areas where current is gentle enough that they can hold position without effort.
Water Parameters and Tank Conditions
Pajama cardinalfish thrive in stable saltwater conditions typical of reef tanks: salinity between 1.023 and 1.025 (specific gravity), temperature 72 to 78 degrees Fahrenheit, and pH 8.1 to 8.3. They are sensitive to rapid shifts in any of these parameters, so weekly water changes of 20 to 25 percent are more important than occasional large changes. Ammonia and nitrite must remain at zero; nitrate should stay below 40 ppm, though they tolerate slightly higher levels better than many reef fish.
Lighting is not critical for the fish themselves—they are nocturnal and avoid bright light—but a standard reef photoperiod of 8 to 10 hours works well. Some aquarists run a separate dim moonlight or blue light for 2 to 3 hours after the main lights turn off, which allows observation of the fish's natural hunting behavior without stressing them. Avoid copper-based medications and copper-containing supplements; pajama cardinalfish are sensitive to copper and can die from exposure at concentrations safe for other fish. If treatment is necessary, move the fish to a separate hospital tank.
Feeding and Diet
Pajama cardinalfish are carnivorous and hunt small crustaceans and zooplankton in the wild. In the aquarium, they eat frozen mysis shrimp, copepods, amphipods, and small frozen foods designed for pipefish or seahorses. They do not compete well with aggressive daytime feeders, so the best approach is to feed them separately at dusk or after the main lights turn off, when they become active. Use a turkey baster or feeding pipette to deliver food directly into their cave or near their hiding spot, ensuring they get a meal before other fish consume it.
Feed once daily or every other day, depending on tank size and the presence of natural prey. A 30-gallon tank with established live rock will produce enough copepods and amphipods to supplement their diet, reducing the need for frozen food. In larger, well-established reef tanks, some aquarists feed only two or three times per week and let the fish hunt naturally. Watch for weight loss or a sunken belly, which signals that the fish is not eating enough; this often happens when they are first introduced and hiding excessively, and it usually resolves within a week or two as they acclimate.
Temperament and Tank Mates
Pajama cardinalfish are peaceful toward fish larger than themselves and ignore most invertebrates, making them excellent additions to reef tanks. They will not bother corals, anemones, or larger crustaceans like cleaner shrimp. However, they will eat very small shrimp, copepods, and amphipods—which is their natural diet—so do not expect a population of tiny crustaceans to survive in a tank with cardinalfish. They are also prey for larger predatory fish, so avoid housing them with groupers, lionfish, large wrasses, or any fish with a mouth large enough to swallow a 3-inch fish.
When keeping multiple cardinalfish together, introduce them simultaneously if possible, or add the smallest fish last. Established cardinalfish can be territorial toward newcomers, especially if the tank lacks sufficient caves. Aggression usually takes the form of chasing and nipping rather than serious injury, but it can prevent a new fish from eating or resting. Separating the new fish with a divider for a few days, then removing it, sometimes reduces conflict. Some aquarists find that groups of three establish a stable hierarchy faster than pairs, though this is not may provide.
Acclimation and Health Considerations
Pajama cardinalfish are hardy once established but are sensitive during the acclimation period. Use a slow drip acclimation over 1 to 2 hours, allowing the fish to adjust to the tank's salinity, temperature, and pH gradually. Do not skip quarantine; these fish are susceptible to marine ich and other parasites, and introducing an infected fish to an established tank can devastate the entire system. Quarantine for at least two weeks in a separate 10 to 20-gallon tank with the same water parameters as the main tank.
Once acclimated, they are resistant to most common aquarium diseases if water quality is maintained. Signs of stress include refusing food for more than a few days, rapid gill movement, or loss of color. Sudden water parameter changes are the most common cause of stress; if a fish stops eating after a water change, check salinity, temperature, and pH immediately. Lifespan in captivity is typically 5 to 7 years, with some individuals living longer in well-maintained tanks.
Frequently Asked Questions
Can I keep pajama cardinalfish with small shrimp?
No. Pajama cardinalfish will eat small ornamental shrimp, copepods, and amphipods—these are their natural prey. They can coexist with larger cleaner shrimp like Lysmata species, which are too large to be eaten, but do not expect a population of small crustaceans to survive in the same tank.
Why is my pajama cardinalfish hiding all the time and not eating?
Excessive hiding and refusal to eat usually means the fish is stressed by inadequate shelter, poor water conditions, or aggressive tank mates. Check that the tank has multiple caves and that water parameters are stable. If the fish was recently added, it may need a few days to acclimate; if hiding persists beyond a week, review tank mates and water quality.
Do pajama cardinalfish need to be kept in groups?
No. A single pajama cardinalfish thrives alone in a properly sized tank. Groups are possible and can be more natural, but they require more space and careful introduction. If you prefer a single fish, one will live a full lifespan without a companion.
What size frozen food should I feed them?
Mysis shrimp and copepods are ideal; they are small enough for the fish to swallow easily but large enough to provide nutrition. Avoid foods designed for larger fish, as pajama cardinalfish cannot consume them. A piece of mysis shrimp should be roughly the size of the fish's eye or smaller.
Are pajama cardinalfish safe for reef tanks?
Yes. They do not eat corals or large invertebrates and are peaceful toward most fish. The only concern is that they will consume small crustaceans and copepods, which some aquarists cultivate as a food source. Otherwise, they are one of the safest fish for a mixed reef.