A breeding pair or a single German blue ram needs at least a 20-gallon (long) tank, and a group of four to six needs 40 gallons or more. The 20-gallon figure is the floor, not a target: these fish are small but territorial, sensitive to water chemistry, and much easier to keep when the volume gives you a stable temperature and room between territories. For a busy community tank, plan on 29 gallons for one pair and 40+ gallons for anything larger.

Getting the size right is only half the job. Rams live in warm water, prefer soft and slightly acidic conditions, want a sand substrate, and need a layout with line-of-sight breaks. The steps below cover tank choice, placement, cycling, decoration, and the stocking math so the number you pick actually works in practice.

What You'll Need

  • A 20-gallon long aquarium as the minimum for a pair; 29 to 40 gallons is more forgiving
  • A reliable 100W heater (150W for 29-40 gallons) plus a separate thermometer, since the target is 82-86°F (28-30°C)
  • Hang-on-back or canister filter with gentle flow, ideally rated for the tank's full volume
  • Fine sand substrate (pool filter sand or aquarium sand)
  • Driftwood, small rocks, and either live or silk plants to break up sightlines
  • A liquid test kit for ammonia, nitrite, nitrate, pH, and hardness (GH/KH)
  • Water conditioner, a bacteria starter culture, and a supply of frozen or live foods
  • A quarantine or hospital tank — a spare 10-gallon with heater and sponge filter is enough

Step-by-Step

  1. Measure the space before the glass. A 20-gallon long tank is 30 inches wide, 12 deep, and 12 tall in most brands; a 29-gallon standard is a 30-inch footprint with more height. Rams stay near the bottom and middle, so footprint matters more than height. Leave 3-4 inches behind the tank for the filter hoses and 6 inches above for feeding and maintenance. Avoid a spot in direct sun or in front of an air vent, because temperature swings are the biggest risk in a small ram tank.
  2. Pick the volume from the stocking plan. One ram alone: 20 gallons. One bonded pair: 20 gallons long minimum, 29 gallons preferred. Two pairs or a group of four to six: 40 gallons and up with clearly separated territories. Add roughly 10 gallons per additional ram beyond a pair. Rams are not schooling fish, but they are cichlids, and adults of the same sex will squabble in tight quarters.
  3. Count the other fish too. Ram tank size is really a community number. Use the adult size of every fish: a 20-gallon ram tank can hold a pair of rams plus one small school of six to eight tiny tetras (ember or neon-sized) and a bottom crew such as four to six corydoras. Avoid fast, nippy mid-water fish, aggressive barbs, and anything big enough to eat a ram's eggs.
  4. Place and level the tank. Put down a foam mat under rimless tanks, fill the tank a quarter full, and check level in both directions before the substrate goes in. A tank that leans puts uneven stress on seams and makes the waterline look wrong for years.
  5. Add sand, not gravel. Rinse fine sand thoroughly, then lay 1.5-2 inches. Rams sift sand through their gills and dig small pits around their spawning site; rough gravel can injure their mouths and gills. A thin sand bed also avoids the deep, airless pockets that compacted deep sand develops.
  6. Build the hardscape around territories. Place driftwood and rocks so there are two or three distinct zones: an open sand area for feeding, a planted or shaded corner, and a cave or hiding spot. In a 20-gallon, one pair needs only one cave in a corner. In a 40-gallon with two pairs, put the second cave at the opposite end, at least a foot apart, and break the middle sightline with driftwood or a tall plant.
  7. Cycle the tank before buying the fish. Run the filter with a bacteria starter and feed it with a pinch of fish food or pure ammonia until ammonia and nitrite read zero and nitrate is rising. This usually takes two to six weeks. Rams are sensitive to ammonia and nitrite, and putting them into an uncycled tank is the single most common cause of early losses.
  8. Test the source water and adjust your plan. Check pH, GH, and KH from the tap. Rams do best in soft, slightly acidic water in the pH 6.0-7.2 range and moderate hardness, but many captive-bred fish adapt to local tap water if it is stable. Hard water or swinging pH means you should choose fish bred locally rather than chase a chemistry you cannot hold.
  9. Set the temperature and check it daily for a week. Aim for 82-86°F (28-30°C), which is warmer than most community tanks. Two thermometers, one at each end, reveal whether the heater is creating a warm end and a cool end. Lids matter: ram tanks sit warm, and evaporation quickly marks the glass if you leave the top open.
  10. Acclimate slowly, then observe. Float the bag, then drip-acclimate over 30-45 minutes before releasing the fish. Leave the lights off for the first day. For the first month, test ammonia, nitrite, and nitrate every two to three days and do a 25-30% partial water change if nitrate climbs or a reading appears at all.
  11. Keep a quarantine routine. If you add more rams or tankmates, hold them in the spare 10-gallon for two to four weeks. Mixing new fish straight into a ram tank is how ich and internal parasites enter a settled system.

Common Mistakes

  • Buying a 15-gallon or a tall 20-gallon. A short footprint squeezes territories and makes any given volume feel smaller to a bottom fish. Height adds nothing for rams.
  • Treating 20 gallons as a pair, then adding a group. Rams are peaceable most of the time, but two pairs in a 20-gallon end with one fish hiding and not eating.
  • Running tropical-community temperatures. 76-78°F is fine for many fish and too cool for rams to thrive; they become sluggish, prone to digestive problems, and more susceptible to fungal and bacterial issues.
  • Skipping the cycle or using test strips only. Liquid tests and a fully cycled filter protect an expensive, delicate fish.
  • Cramming a small tank with big plants and then needing to catch a fish. Leave open sand and accessible corners.

Tips

  • Buy a bonded pair that has already been seen feeding together rather than picking two fish at random; those two fish make the 20-gallon minimum viable.
  • Feed frozen bloodworm, brine shrimp, or daphnia a few times a week alongside small pellets. Rams are not strong grazers on flake food alone.
  • Keep the sand at 1.5-2 inches and vacuum lightly rather than deeply, so you do not undo the substrate pockets the fish dig.
  • Use a spawning cave or half-coconut shell in a 20-gallon. Bare sand alone leaves the fish without a focal point.
  • Log your readings weekly. A ram tank is stable when the numbers barely move, and your log is the fastest way to see trouble coming.

Troubleshooting

One ram is hiding and not eating. This is usually territory or temperature. Check that the heater is holding 82-86°F, then check for a second pair or an aggressive fish. Separate the fish with plants and driftwood, and if the aggression continues, move the tank down to one pair or split the group between two tanks.

Ammonia or nitrite shows up after adding fish. Do a 30-50% water change with temperature-matched, conditioned water, then test daily. If the filter is still cycling, feed far less or skip feeding for a day or two. Consider a larger tank or a bigger filter—volume is the fix that actually solves the problem in a ram setup.

White spots, clamped fins, or gasping. Rams are prone to ich, especially after a move or a cold snap. Check the heater, raise the temperature only as far as your fish and plants tolerate with a qualified plan, and treat following the product directions. Do not mix medications casually.

Spawning pairs become territorial. In a 20-gallon, spawning fish will command the whole bottom. That is a reason to use 29-40 gallons if you want tankmates, and a reason to move the eggs or fry to the quarantine tank rather than leaving them in a tight community.

Frequently Asked Questions

Can a German blue ram live in a 10-gallon tank?

Not well. A 10-gallon has neither the footprint nor the stable temperature for a bottom-dwelling cichlid, and filtering and heating it consistently is difficult. Use 20 gallons long as the minimum, and only for one fish or a single pair.

How many German blue rams can I keep in a 20-gallon?

One bonded pair, or a single fish. A group of four or more rams needs 40 gallons or more with distinct territories. Two males in a 20-gallon will eventually fight.

Does tank height matter for rams?

Barely. Rams spend their time on the sand and in the lower half of the water. Choose the tank with the larger footprint: a 20-gallon long beats a taller 20-gallon for the same volume.

What tankmates work in a 20-gallon ram tank?

Small, calm schooling tetras and a small group of corydoras are the classic mix. Avoid nippy fish, very active barbs, and anything large enough to threaten spawning fish. Keep total fish small and the tank lightly stocked.

Do rams need a bigger tank for breeding?

No, a pair can spawn in 20 gallons, but a separate grow-out tank is easier than raising fry in a community. Move eggs or fry into the quarantined 10-gallon once they hatch if you want them to survive.

Will a bigger tank make the water easier to keep?

Yes, mostly. More volume dilutes waste and slows temperature and chemistry swings. If you are choosing between 20 and 29 gallons, the larger tank is the lower-maintenance choice for rams.