Royal Gramma Care: Tank Size, Cave Setup, and Diet Guide
Learn how to care for royal grammas with proper rock cave architecture, stable marine water parameters, and compatible reef tank mates. Avoid common lookalikes.
By Sharon Ben-Moshe, Founder, The Aquarium Adviser
Updated / 7 min read

In this guide
Successful royal gramma care and tank setup requires a minimum aquarium volume of 20 to 30 gallons, stable reef water parameters, and extensive rockwork with sheltered grottos where the fish can establish a home cave. As a peaceful western Atlantic basslet (Gramma loreto), this species thrives on meaty marine plankton and coexists easily with reef invertebrates and mild-mannered community fish.
Native to deep coral drop-offs, caves, and reef ledges of the Caribbean Sea and tropical western Atlantic, the royal gramma displays an electric violet-purple anterior that transitions mid-body into a warm golden-yellow rear and tail. The Wikipedia profile on the royal gramma notes that wild individuals inhabit drop-offs between 3 and 200 feet deep, sheltering under shaded limestone overhangs. In home aquariums, an adult size of 3 inches (8 cm) and high disease tolerance make them suitable for beginner and experienced aquarists alike.
Water parameters and tank requirements for royal grammas
Royal grammas tolerate modest fluctuations better than many delicate reef fish, but they depend on stable salinity, steady carbonate buffering, and clean water. Sudden swings in specific gravity or dissolved oxygen cause acute stress that can compromise their slime coat and invite parasites like marine ich (Cryptocaryon irritans).
| Parameter | Recommended range | Ideal target | Notes |
|---|---|---|---|
| Temperature | 72-78°F (22-26°C) | 75°F (24°C) | Avoid rapid shifts greater than 2°F per day |
| Specific gravity | 1.023-1.026 SG | 1.025 SG | Measure using a calibrated optical refractometer |
| pH level | 8.1-8.4 | 8.2-8.3 | Maintain baseline carbonate buffering |
| Alkalinity | 8.0-10.0 dKH | 8.5 dKH | Keeps pH stable and supports calcifying organisms |
| Minimum tank volume | 20-30 gallons | 30 gallons | Ample base rock footprint is essential |
| Ammonia and nitrite | 0.0 ppm | 0.0 ppm | Toxic to marine gills; complete cycling first |
| Nitrate | Below 20 ppm | Below 10 ppm | Manage via protein skimmer and water changes |
When planning how to make a saltwater tank, design your aquascape around cave-dwelling habits. A single royal gramma can live in an established 20-gallon long tank, but a 30-gallon breeder provides a broader footprint. That extra base area allows you to build genuine rock overhangs while leaving open swimming channels for tank mates.
A tight-fitting mesh screen or glass lid is mandatory. Royal grammas possess powerful caudal fins and routinely launch themselves upward when startled by sudden room shadows, maintenance equipment, or morning tank lights clicking on abruptly. Without a secure cover, jumpers easily find gaps around filter pipes and powerhead cords.
How do royal grammas use cave architecture and gravity?
The defining biological trait of Gramma loreto is thigmotropic orientation, meaning the fish physically aligns its body with adjacent solid surfaces. While open-water fish orient relative to gravity or overhead light, a royal gramma aligns its belly against the nearest flat rock.
- Under overhanging ledges, the fish glides completely upside-down with its belly oriented toward the stone ceiling. If an interior cavern wall slopes at forty-five degrees, the gramma swims along that matching angle without disorientation.
- Once settled in a preferred crevice, individuals collect loose gravel, macroalgae fragments, and shell pieces in their mouths to build a cushioned sleeping nest inside the rock hollow.
- When an approaching fish ventures too close to the cave entrance, the gramma flares its gill covers and opens its mouth in a wide defensive yawn. This display is defensive theater designed to deter intruders without escalating into physical combat.
According to data compiled in the FishBase species summary for Gramma loreto, wild basslets rarely venture farther than 10 to 12 inches away from their refuge. In an aquarium, your rockwork must offer shadowed tunnels rather than flat, open rock faces. Place porous dry reef rock or cured live rock together so that crevices are roughly 1 to 2 inches wide, which lets the fish wedge itself securely inside when resting at night.
Distinguishing royal grammas from aggressive dottyback lookalikes
Beginners frequently confuse the royal gramma with the royal dottyback (Pictichromis paccagnellorum, formerly Pictichromis paccagnellae), often sold under the name false gramma or bicolor dottyback. While both species share violet-purple and yellow pigmentation, their behavioral temperaments and physical markings are completely distinct.
- The royal gramma displays a soft, blended gradient where purple softly transitions into yellow along the mid-body. The royal dottyback has an abrupt, razor-straight boundary between purple and yellow with zero blending.
- Two thin dark lines run horizontally across the gramma's eye, accompanied by a small black spot on the front dorsal fin spine. Dottybacks lack both eye markings and the dorsal fin spot, possessing entirely clear fins.
- Gramma loreto is a peaceful community resident that defends only its chosen cave entrance. The royal dottyback, documented on the Wikipedia account of the royal dottyback, is an aggressive predator that relentlessly attacks docile fish and hunts down ornamental shrimp.
Mistaking a dottyback for a royal gramma can introduce severe territorial aggression into a peaceful nano reef. Always examine the color seam and dorsal fin before purchasing a bicolored marine specimen.
What should you feed a royal gramma in a marine tank?
Wild royal grammas feed on floating zooplankton, copepods, larval crustaceans, and ectoparasites picked from larger reef fish. In captivity, they adapt readily to prepared foods, needing a varied high-protein diet to sustain health and color.
Provide a rotational diet consisting of:
- Frozen mysis shrimp and enriched adult brine shrimp, which match the small crustacean prey they hunt in the wild.
- Finely minced marine meats like raw table shrimp, clam, or squid soaked in marine vitamin supplements.
- Small slow-sinking marine pellets (0.5 to 1.0 mm) enriched with spirulina and garlic.
- Frozen cyclops, copepods, and marine fish eggs to support skin health and vivid natural pigmentation.
Royal grammas prefer feeding in the mid-water zone directly in front of their cave entrance. They make quick, darting sorties outward to grab drifting food particles and immediately retreat back toward shelter. If boisterous tank mates consume all the floating food before it drifts downward, use a target-feeding syringe or coral pipette to gently puff thawed food near the cavern opening. Feed small quantities once or twice daily, offering only what the fish can capture within two minutes to prevent uneaten waste from decaying in rock crevices.
Tank mate compatibility and territorial boundary rules
Because royal grammas focus their territorial defense strictly on their personal sleeping crevice, they make exceptional companions in community marine displays. They rarely bother other species unless an intruder attempts to force its way into their claimed shelter.
Ideal tank mates include:
- Peaceful open-water swimmers like schooling green chromis or firefish that remain active in upper water columns.
- Standard community fish like the ocellaris clownfish care guide details, which occupy mid-water levels and never compete for rockwork hollows.
- Bottom-dwelling sand gobies and pistol shrimp pairs that stay out on the sand bed.
- Cleaner shrimp, fire shrimp, peppermint shrimp, and reef-safe snails, which royal grammas completely ignore.
Conspecific territoriality is intense. Never house two royal grammas in an aquarium under 75 gallons, where they will fight over caves until the weaker fish jumps or suffers injury. In systems of 75 to 100 gallons or larger, you can maintain a small group if separate rock islands allow each fish to claim an independent boundary.
Avoid pairing royal grammas with lookalike basslets, dottybacks, or aggressive damselfish that share similar silhouettes and coloration. If you are debating between an invertebrate-focused reef and a fish-only setup, review our FOWLR vs reef tank comparison to ensure your equipment and aquascape accommodate both rock caves and appropriate water flow. For smaller systems, check our curated selection of the best nano reef tank fish to find suitable cohabitants.
How should you handle maintenance around a gramma cave?
Because royal grammas spend their lives inside rock crevices, routine maintenance demands patience. Moving hardscape or rushing a gravel vacuum near their home can trigger panic that leads to physical injury.
Follow these practical safety practices during weekly maintenance:
- Inspect rocks with a flashlight before lifting them from the water. An alarmed gramma wedges itself deep inside rock cavities and locks its dorsal spines against the stone walls instead of swimming into open water. Lifting that rock out of the tank can trap the fish out of water.
- Hover gravel vacuums gently near cave entrances. Cleaning detritus from the sand bed is necessary, but thrusting the siphon tube directly at the cavern opening can panic the resident and cause it to scrape against rough rock surfaces.
- Direct wavemaker currents across the mouth of the shelter instead of into it. While corals require high water movement, royal grammas need low-velocity resting zones where they can hover without fighting continuous hydraulic drag.
- Turn off high-output reef lights during new fish introduction. Dim ambient room light gives a newly introduced gramma the confidence to explore the rockwork and claim a shelter without being harassed by established tank mates.
Frequently asked questions
What is the minimum tank size for a royal gramma?
A single royal gramma requires an aquarium of at least 20 to 30 gallons with plenty of live rock. While small at 3 inches in adult length, they need substantial hardscape architecture with dark caves to feel secure and prevent stress. Larger tanks also make it easier to maintain stable marine salinity and water quality.
Why is my royal gramma swimming upside-down under rocks?
Royal grammas naturally demonstrate thigmotropic orientation, meaning they orient their bellies toward the closest solid surface rather than relying on gravity. When navigating caves or swimming beneath overhanging rock ledges, they swim completely upside-down or sideways. This behavior is entirely normal and indicates that the fish feels comfortable in its rockwork shelter.
Can you keep multiple royal grammas in the same aquarium?
In tanks under 75 gallons, you should keep only one royal gramma because they are fiercely territorial toward members of their own species. In aquariums of 75 to 100 gallons or larger, you can keep a mated pair or a small harem if you provide multiple separated rock structures. Distant rock formations allow each fish to establish and defend an independent cavern territory.
How do you tell a royal gramma apart from a royal dottyback?
The royal gramma (Gramma loreto) has a soft color gradient where purple blends gradually into yellow, two thin lines passing through the eye, and a black spot on the dorsal fin. The royal dottyback (Pictichromis paccagnellorum) has a sharp, razor-straight border between purple and yellow with clear fins and no facial stripes. Dottybacks are notoriously aggressive, whereas royal grammas are peaceful community fish.
Are royal grammas reef-safe with coral and ornamental shrimp?
Yes, royal grammas are completely reef-safe and will not pick at soft corals, stony corals, or polyps. They also leave ornamental cleaner shrimp, peppermint shrimp, and hermit crabs alone, feeding strictly on floating micro-crustaceans and meaty plankton. Their cave-dwelling habits make them an outstanding addition to mixed reef tanks.
Related guides

Peppermint Shrimp Reef Tank Care: Identification, Feeding, and Molting
Peppermint shrimp provide dependable biological control against invasive Aiptasia anemones while scavenging detritus across reef rockwork. Success requires stable salinity, adequate calcium for molting, and careful species identification.

Ocellaris Clownfish Care: Tank Setup, Diet, and Pairing Guide
Providing proper ocellaris clownfish tank setup and care requires stable marine water parameters, balanced nutrition, and an understanding of social pairing dynamics. Captive-bred specimens adapt quickly to home aquariums without needing a wild host anemone.

Green Chromis Care Guide: Schooling, Feeding, and Marine Tank Setup
Keeping green chromis healthy requires a group of at least five to seven fish, multiple daily feedings, and careful quarantine screening. Learn how to maintain social stability and prevent attrition in your marine tank.

How to Calibrate a Reef Tank Refractometer Accurately
Learn how to calibrate an optical reef refractometer using 35 ppt calibration standard instead of pure freshwater. Proper calibration prevents scale slope errors and protects sensitive marine invertebrates from osmotic stress.

How to Grow Copepods in a Reef Tank: Seeding and Culturing Guide
Establishing a stable copepod colony in a reef aquarium provides essential live prey for finicky feeders and sweeps detritus from the rockwork. Here is how to seed, feed, and protect pod populations using a refugium.

FOWLR vs Reef Tank: Which Saltwater Setup Is Best for Beginners?
Choosing between a FOWLR setup and a full reef tank shapes your lighting needs, chemistry maintenance, equipment budget, and livestock choices. Here is how each marine aquarium style works so you can decide which fits your experience level and goals.
