Getting Started & Build Guides

How to Set Up a 5-Gallon Planted Tank

A 5-gallon is the smallest tank worth starting on, and it holds exactly one of three things well: a betta, a shrimp colony, or a true nano school. Here is the build and the three paths.

The short version

  • A 5-gallon is the smallest tank worth a beginner's time. Below it, roughly under 2 gallons, the water swings too fast to be forgiving.
  • It holds one of three things well: a single betta, a cherry shrimp colony, or a true nano school like chili rasbora. It does not hold a community.
  • The build is a nano-cube, a clip light on a 6 to 8 hour timer, hardy low-light plants, a sponge filter, and a 4 to 6 week cycle before anything goes in.
  • Below: the gear, the plants, and the three stocking paths, each with real minimum group sizes and temperatures.

A 5-gallon is the smallest tank most keepers should start with, and the reason is water volume. A rimless nano-cube in the 2 to 5 gallon range makes a genuine planted tank, but the 5-gallon end is far more forgiving than the 2-gallon end: more water means slower swings in temperature and chemistry when you miss a top-off or overfeed by a pinch. Small is charming, and small is less forgiving, both at once.

The other thing a 5-gallon asks of you is restraint at stocking time. It holds one of a few specific setups well and a crowd not at all. Here is the build, and the three ways to stock it that actually hold.

What a 5-gallon can actually hold

The honest ceiling is one of three paths, not a mix of all three. Path one is a single betta (Betta splendens), a 2.5-inch fish rated for a 5-gallon minimum, kept one male to a tank because two males fight to the death. Path two is a cherry shrimp (Neocaridina davidi) colony, a dozen or more invertebrates that graze biofilm all day at a very low bioload. Path three is a small school of a true nano fish.

The nano-school path has one honest constraint: the fish has to be small enough to mean it. A chili rasbora (Boraras brigittae) is under an inch at 0.7 inches, schools in a group of eight, and is safe with adult shrimp, which makes it one of very few fish suited to a 5-gallon. Most fish sold for nano tanks are not: a school of neon tetra or a corydoras group wants 10 gallons, not 5.

The gear: a nano-cube build

The gear list is short. A rimless nano-cube gives you the water volume and a clean, low-iron view. A nano clip-on LED runs the low-light plants this tank wants (Anubias, java fern, moss) and belongs on a timer for 6 to 8 hours a day. A sponge filter is the right filter here: air-driven, gentle, and safe for shrimp and any fry.

If your stock wants warmth, add a small heater. A betta needs 78 to 82 F and calm flow; a chili rasbora wants soft, warm water in the same band. A cherry shrimp colony is comfortable cooler, at 65 to 78 F, and often needs no heater in a normal room. Round it out with a liquid test kit and a dechlorinator, and you are ready to build.

The plants for a 5-gallon

Small tank, small and slow plants. Anubias nana (Anubias barteri var. nana) is the right centerpiece: a low-light epiphyte for 72 to 82 F that ties to hardscape with the rhizome left exposed, and it stays small enough not to swallow the tank. Java moss (Taxiphyllum barbieri) is the other workhorse, a low-light moss for 64 to 82 F that doubles as shrimp habitat, since baby shrimp graze the biofilm it holds.

Both are rated across a wide range, roughly pH 5.5 to 8.0 for the moss and 6.0 to 7.8 for the Anubias, so they suit almost any tap water. Add a small crypt or a stem if you want height, and plant on day one so the plants are established before any animal arrives.

The build, step by step

  1. Rinse the cube and set it level where it will not catch afternoon sun (a small tank overheats fast).
  2. Add 1.5 to 2 inches of substrate, and place your hardscape.
  3. Tie Anubias and moss to the wood or rock, rhizome exposed, and tuck in any rooted plants.
  4. Fill slowly onto a plate, and add dechlorinator to protect the bacteria you are about to grow.
  5. Start the sponge filter and set the light to 6 hours a day on a timer.
  6. Cycle the empty tank with a test kit until ammonia and nitrite read zero and nitrate appears.

Stocking, one of three ways

Once the tank is cycled, pick one path and stock it lightly. For the betta path, add the one betta and, if you like, a nerite snail (Neritina sp.) for algae; some keepers add shrimp under heavy cover, but a hungry betta still hunts them, so treat that as a gamble. For the shrimp path, add ten or more cherry shrimp and a snail, and let the colony grow into the tank over a season.

For the nano-school path, add a group of eight chili rasbora over a couple of weeks, not all at once, so the small filter keeps up. Whatever the path, add slowly: a 5-gallon has little margin to absorb a sudden jump in bioload, so a week between additions is time well spent.

The honest part: small water swings fast

The failure mode of a 5-gallon is the flip side of its charm. The same small volume that makes it cheap and cute also concentrates every mistake: an overfeeding that a 20-gallon would shrug off can spike ammonia here in a day, and evaporation removes a noticeable fraction of the water in a week. A skipped water change matters more in 5 gallons than in 20.

None of that makes a 5-gallon a bad tank, but it does make it an attentive one. Top off with dechlorinated water as it evaporates, feed a pinch and no more, test when something looks off, and keep the stocking under what the tank can carry. Self-sustaining here means the plants and bacteria do the filtering, not that the tank runs with no hands on it.

Frequently asked questions

Can a betta live in a 5-gallon tank?

Yes. A betta is rated for a 5-gallon minimum, and one male in a planted, heated 5-gallon at 78 to 82 F is a good, humane setup. Keep it to one male per tank, since two males fight to the death, and give it calm flow rather than a strong current. A 5-gallon is a proper betta home, not a compromise.

How many shrimp can you keep in a 5-gallon?

Start with ten or more cherry shrimp and let the colony find its own number. Their bioload is very low, so a planted 5-gallon can hold dozens over time as they breed, grazing biofilm and leftover food. Keep copper out of the tank, since it is deadly to shrimp and hides in some fertilizers and fish medications.

Do you need a heater in a 5-gallon?

It depends on the stock. A betta or a chili rasbora wants 78 to 82 F and needs a small heater in most rooms. A cherry shrimp colony is happy at 65 to 78 F and often runs heater-free at room temperature. Match the equipment to the animal, not the other way around.

Can you keep a school of fish in a 5-gallon?

Only a true nano species. A chili rasbora at 0.7 inches, in a group of eight, is one of the few that genuinely fits. Most schooling fish sold for small tanks, including neon tetra and corydoras, need a 10-gallon minimum and will be cramped and stressed in 5. When in doubt, check the species minimum before you buy.

Pick your path, then pressure-test the stock before you buy it. Run the tank through the build planner for a balanced list, check each species against the compatibility database, and compare the neighboring 10-gallon tank and nano tank builds in the build-guide library. If you are still deciding on a layout, read aquascaping for beginners first.

Species and gear in this guide

Parameters pulled live from the compatibility database.

Not sure your build will balance? Plan it first.

The build planner turns a setup type, a size, and a water source into a stocked, planted build with a will-it-balance read. Free, and it saves you the first dead tank.

Open the build planner

Want the parameter ranges behind every choice? Browse the compatibility database, or get one build breakdown a week in the newsletter.