Betta Glass Surfing: Why He Paces the Glass and What to Fix First
Table of contents
- What glass surfing is, and what it is not
- How much pacing is actually normal
- The five causes, ranked by how often they are the answer
- The three-night test
- What to change, in order
- Three pieces of advice that make it worse
- Hard water, soft water, and the ammonia reading
- What this page does not cover
- Betta glass surfing — FAQ
What glass surfing is, and what it is not
Glass surfing — also called glass running or glass pacing — is a betta traveling the same short line on the same pane, over and over, nose a few millimeters from the surface, turning at the same two points every time. Some fish do it horizontally along the front; some do it vertically in a corner, which alarms people most because it looks like the fish is trying to climb out.
The movement is not the symptom. The repetition is. A betta patrolling a healthy tank uses the whole footprint: he changes depth, stops at a snail, rises for air, and comes forward when you walk past. A fish who is surfing has a route, and it is identical every time you look.
| What you see | How it looks | What it usually means |
|---|---|---|
| Patrol | Whole tank, varying depth, stops to inspect things, reacts to you | Normal. Nothing to fix. |
| Glass surfing | One pane, one line, one height, 30+ minutes at a stretch, same two turn points | A stimulus he cannot resolve. Start with reflection. |
| Flashing | One hard rub or flick against decor, gravel, or glass, then he moves on; repeats every few minutes | Irritation, not boredom. Look for parasites. |
The third row is the one people miss: a fish who rubs his flank on a leaf and keeps swimming is itching, which points toward velvet, gill flukes, or an irritant, and the velvet disease guide has the one-minute flashlight test that separates them. There is a slower sign too. After weeks of pressing on glass, the skin above the mouth wears into a pale patch or a small notch on the upper lip — not a disease, but a receipt proving the cause has to be found rather than waited out.
How much pacing is actually normal
Almost every betta does some of this, and treating all of it as a problem sends people shopping for equipment they do not need. Four situations are normal: zero to ten minutes before a scheduled feeding (it stops when the pellet lands); the first 24 to 72 hours in a new tank; 15 to 30 minutes after a water change or when the light clicks on; and 10 to 20 minutes of flaring at dusk in a lit room, when the tank becomes the brighter object and he catches his own reflection.
Move from "normal" to "investigate" on any of these: more than 30 continuous minutes on one pane, more than 2 hours total in a day, the same two turn points for three days running, or pacing paired with clamped fins, faded color, or a fish who has stopped eating.
Measure it instead of eyeballing it, because memory is bad at this. Set a phone timer for 10 minutes and count reversals — every time he turns around. Under 10 across the whole tank is ordinary exploring; more than 20 on a single pane is surfing. Write the number down, one line a day. Three numbers are worth more than a week of watching.
The five causes, ranked by how often they are the answer
The ranking is by how often each cause turns out to be the answer in a small indoor tank, and by how cheap it is to rule out. Work top to bottom; most people find it in the first two rows.
| Cause | The 10-minute test | What you actually change |
|---|---|---|
| 1. His own reflection | Tank light off, room lamp on. Stops inside 10 minutes, restarts when the lamp goes off → optical. | The light schedule and the background. No new equipment. |
| 2. Flow he has to fight | Watch one spot for 2 minutes. Pushed sideways, or fins pinned flat, means too much current there. | Turn the filter down; aim the outflow along the glass. |
| 3. Temperature | Thermometer at each end, morning and evening. More than a 2°F (1°C) gap, or a 4°F (2°C) overnight drop. | 78–80°F (25.5–26.5°C), steady. About 5 W per gallon of heater. |
| 4. Water | Ammonia, nitrite, nitrate — same hour of the day, every time. | Ammonia 0, nitrite 0, nitrate under 20 ppm. |
| 5. Space and sightline | Measure the longest straight run he has, divide by his body length. Nothing in the middle third of the front pane? | Structure first. Bigger tank only after 1–4 are ruled out. |
Reflection wins because the conditions are so ordinary. Glass reflects most strongly when the far side is darker than the near side, so at night, with the tank lit and the room dark, the inside of the front pane becomes a mirror. The fish is not confused — he is seeing, accurately, another male at the edge of his territory, and he responds the way his instincts say to. That loop runs for hours because the rival never leaves.
Flow is second because bettas are built for still water. A turnover of 4 to 5 times the tank volume per hour is plenty: about 20–25 GPH in a 5-gallon (19 L) and 40–50 GPH in a 10-gallon (38 L). A hang-on-back box advertising 100 GPH on a 5-gallon turns that water over 20 times an hour, and a long-finned male parked in the outflow will swim against it until he is exhausted — which looks exactly like glass surfing from across the room. The sponge versus hang-on-back comparison has the sizing math.
Temperature comes third. A betta held below roughly 76°F (24.5°C) goes quiet rather than pacing, but a tank that swings warm at midday and cold at 3 a.m. produces restless, agitated swimming. Two thermometers settle it for the price of a coffee; if the tank drops more than 4°F overnight, the heater is undersized, and the night temperature piece works out wattage by overnight room temperature.
Water is fourth only because most people test it last. Ammonia and nitrite at any readable level irritate the gills, and a fish with irritated gills swims fast, tight, and repetitively. Test at the same hour each time — pH and ammonia toxicity both move over a day. The water testing walkthrough covers which kit reads low enough to be useful.
Space is last, and it is the one people jump to first. A standard 5.5-gallon tank is 16 by 8 inches (41 by 20 cm) inside and a 10-gallon is 20 by 10 inches (51 by 25 cm), so an adult male about 3 inches (7.5 cm) long has roughly five body lengths end to end in the 5.5 and seven in the 10. That is enough to swim, but not enough to swim straight for long — which is why a bare 5-gallon with an empty front pane produces pacers and the same tank with one tall plant in the middle third often does not.
The three-night test
This is the whole diagnostic, and it is free. Change one variable per night, keep everything else identical, and take the same three 10-minute counts each day: within an hour of lights on, mid-photoperiod, and an hour before lights out. Count reversals, not seconds.
| Night | What you change | If the count drops by half or more |
|---|---|---|
| 1 | Keep a room lamp on for the entire tank photoperiod, including 30 minutes before and after. Nothing else changes. | Reflection is the driver. Fix the light gradient, not the fish. |
| 2 | Night 1, plus the filter on its lowest setting or the outflow aimed along the glass. | Flow is at least part of the cause. |
| 3 | Night 2, plus one tall plant, a mug, or driftwood standing in the middle third of the front pane. | A cover problem, not a volume problem. Add structure. |
| Day 4 | Change nothing. Test ammonia, nitrite, nitrate, and pH at the hour you took your counts. | Nothing moved the number → the cause is chemical or medical. |
Two rules make it mean something. Sample at the same times: a betta who surfs at 7 a.m. and rests at noon will look cured if you only ever look at noon. And photograph from the same spot every night — three photos a day apart show fin clamping, color dulling, and nose wear that are invisible while you watch continuously. If the count falls on night 1 and again on night 3, you have two problems rather than one. Fix both.
What to change, in order
Work down the list and stop when the count falls. The first three steps cost nothing.
- Tank light on a timer, 8 hours on and 16 off. Bettas do not need 12 hours, and a longer photoperiod gives the reflection more hours to work with.
- Never let the tank be the brightest thing in the room. One lamp across the room, on for the full photoperiod, resolves the majority of cases by itself.
- Mid-tone or frosted background, not gloss black. Tape it to the outside of the back pane — the next section explains why black is the wrong choice.
- Set flow to 20–25 GPH on a 5-gallon, 40–50 on a 10, and aim the outflow along the glass if the filter has no adjustment.
- Hold 78–80°F (25.5–26.5°C) at both ends with a heater rated about 5 W per gallon — 25 W for 5 gallons, 50 W for 10.
- Break the line of sight with one tall plant, a rock, or driftwood in the middle third of the front pane.
- Fix the water before judging anything else: 25% weekly, 50% immediately if ammonia or nitrite reads above 0.25 ppm.
- Wait 72 hours before deciding it did not work. The habit outlasts the cause by a few days, and changing three things in one afternoon tells you nothing.
Three pieces of advice that make it worse
"Give him a mirror for 15 minutes a day — it's exercise"
The most common piece of betta advice on the internet, and the framing is wrong. Flaring is a territorial threat display, not a workout; the fish is defending a border against an intruder who will not leave. Fifteen minutes is also an arbitrary number — forum convention, not anything measured. If you use a mirror at all, cap it at 5 minutes, no more than twice a day, and skip it on any day he is already surfing, already clamped, or off his food. Never leave a mirror in the tank: a mirror in the tank is the reflection problem, installed on purpose.
"Paint the back of the tank black to kill the reflection"
This one is backwards, and the physics explains the whole problem. You see a reflection when the far side of the glass is darker than the near side. Paint the back black and the far side is as dark as it can be, so every pane becomes a better mirror, not a worse one. Black backgrounds exist to make your view look deeper and to hide cords; they do nothing for the fish, and at night they make things worse. Use mid-gray or frosted film, or simply keep the room lit.
"He's bored — add toys, or he'll get used to it"
Bettas do not habituate to a reflection the way they habituate to a new filter hum. A reflection moves exactly when the fish moves, so there is nothing to learn and no reason for the response to fade — which is why "he'll settle down" is bad advice here. "Bored" is not a diagnosis either: a fish who runs a line for hours has a stimulus, not a mood. If the light test came back negative and water and temperature are fine, the missing thing is structure — plants, shade, a break in the sightline — not a floating ball.
Hard water, soft water, and the ammonia reading
If the test points to water, the number matters less than the water it was read in. Ammonia exists in two forms and only the free form (NH₃) burns gills; the split depends on pH and moves fast across the range US tap water actually sits in.
| pH at 77–79°F (25–26°C) | Share of total ammonia that is free NH₃ | What a 0.25 ppm total reading means |
|---|---|---|
| 7.0 | 0.6% | About 0.0015 ppm free — low |
| 7.5 | 1.8% | About 0.0045 ppm free |
| 8.0 | 5.5% | About 0.014 ppm free — nine times the pH 7.0 figure |
| 8.5 | 15% | About 0.038 ppm free — treat it as an emergency |
Hard water — about 7 gpg and up (roughly 120 mg/L as CaCO₃), which is most municipal water in the Midwest and Southwest and usually lands at pH 7.8 to 8.4 — makes the same reading far more dangerous than it looks, because so much of it is free. Test first, change water second, and do not wait and see on 0.25 ppm in a pH 8.2 tank. Hard water also leaves a white mineral film on the outside of the glass; wipe it with white vinegar diluted 1:1 with water. That film is a viewing nuisance, not the cause of the surfing. Keep one conversion handy: 1 gpg = 17.1 mg/L.
Soft water — under about 3.5 gpg, common in the Pacific Northwest and New England — runs the other way. Nitrification consumes alkalinity at roughly 0.4 dKH per ppm of ammonia processed, so a soft-water tank with a small filter and no water changes can slide from pH 7.0 toward 6.0 in a week, and a betta in a pH slide tends to hang at the surface and gulp rather than run the glass. If KH reads under 3, raise it about 1 dKH with 1/8 teaspoon of plain baking soda per 5 gallons (19 L), retest after an hour, and add more only if the number is still low.
What this page does not cover
- It is not a disease diagnosis. If he rubs rather than paces, that is itching — velvet is the first thing to rule out.
- Loss of buoyancy control is a different problem. Tilting, floating, sinking, or failing to hold a level position belongs in the swim bladder guide, not here.
- Gasping at the surface is an emergency, not surfing. A fish hanging at the top with his mouth breaking the surface is short of oxygen or sitting in ammonia — test and change water now, do not start a three-night test.
- Long-term stereotypy in a bare tank is real in fish kept alone with no structure for years, is poorly documented, and has no home cure beyond adding cover.
- It will not tell you to buy a bigger tank as step one. That advice is right perhaps half the time, and the test above is how you find out which half you are in.
Judge the result by the reversal count, not by whether the behavior has vanished: a fish who has run the same line for three weeks will keep running it for a few days after the reason is gone. If the count halves every two days you have the right cause. If it has not moved in a week, one of the first four rows is still true and you have not found it yet.
Related guides: Stress signals in bettas · Choosing a betta tank size · Sponge filter vs hang-on-back · Testing your betta's water
Betta glass surfing — FAQ
Is glass surfing bad for a betta?
Not immediately, but it should not be left alone for weeks. A betta who runs the glass for hours a day is spending energy on a fight he cannot win, and the constant contact with the pane wears the skin over the upper lip. Most cases are reversible within a few days once the trigger is removed, so the useful response is to find the trigger rather than to wait for him to get used to it.
Why does my betta swim up and down in the corner of the tank?
A corner is where two panes meet, so it produces the brightest and most complete reflection in the tank, and it is often also where filter outflow converges. Watch whether he turns to face the corner or turns his side to it: facing it usually means he is reacting to his image, while turning sideways usually means he is holding position in a current. Corner pacing that continues after the room lights are raised is more likely a flow problem.
Will a bigger tank stop glass surfing?
Only if the cause is space or a lack of cover. A reflection moves with the fish, so it follows him into a 20-gallon tank just as reliably as it appears in a 5-gallon one. Run the light test first: if the pacing stops when a room lamp is on, a larger tank will not change anything except the length of the line he runs.
Should I cover the tank with a towel to stop it?
A towel over three sides for 24 hours is a legitimate way to break a hard cycle and let an exhausted fish rest, but it is a reset, not a fix. Covering cuts the light the plants need, traps humidity, and can push the water temperature up in a small tank, so keep it under a day and fix the light gradient while the towel is on.
How long does glass surfing take to stop?
Expect 1 to 3 nights for a fish whose trigger you have actually removed, because the habit outlasts the cause by a few days. A betta who has been at it for weeks can keep running the same line for a week or two out of pure routine even after the reflection is gone. Judge progress on the daily reversal count, not on whether he does it at all.