Do Fish Need Light? How Many Hours to Leave the Tank Light On
Fish do not need a tank light to survive, but they do need a regular day and night. For most community tanks, run the light 8 to 10 hours a day on a timer and keep it off for the rest, starting nearer 6 to 8 hours in a new or algae-prone tank. Leaving it on 24/7 stresses fish and feeds algae, and a sunny window does the same.
Fish do not need a tank light to stay alive. What they need is a predictable day and night. Light tells them when to be active, feed and rest, and a tank that is lit around the clock or in the dark around the clock works against that rhythm.
The practical question is how long to leave the light on. For most tanks the answer is 8 to 10 hours a day, controlled by a timer, with less in a new or algae-prone tank. This guide covers the schedule, why 24/7 light and direct sunlight cause trouble, and what to do for nocturnal fish, new fish and sick fish.
Do fish need light?
In a home aquarium, light matters in three ways.
- Daily rhythm. Fish are tuned to a cycle of light and dark. A steady cycle supports normal feeding, activity and rest.
- Seeing. Most aquarium fish find food and each other by sight, so they need light while they are awake.
- Plants. Live plants need light to grow. Fish-only tanks do not.
So if your tank has no plants, a basic LED is mainly for you, so you can see the fish, plus it gives the fish a clear daytime. If your room is bright during the day, a fish-only tank can do fine with a lamp or window light and no dedicated fixture, as long as the room is dark at night. Plants change this, and we cover that below.
How many hours should the aquarium light be on?
The amount of light per day is called the photoperiod. Sources vary by an hour or two, so treat these as starting points and adjust by watching your tank.
| Tank type | Starting photoperiod |
|---|---|
| New tank, first month | 6 to 8 hours |
| Fish-only community tank | 8 to 10 hours |
| Low-tech planted tank | 6 to 8 hours, up to 10 once stable |
| High-tech planted tank with CO2 | 6 to 8 hours, matched to the CO2 schedule |
Aquarium Co-Op suggests 6 to 8 hours for a newly planted tank, rising slowly toward 8 to 12 hours as plants grow in. Other lighting guides agree on the main point: start lower and only add time slowly. Light is the easiest thing to increase and the hardest to undo once algae has taken hold.
A few rules keep this simple.
- Pick a start time and stop time and keep them. Consistency matters more than the exact number.
- Change by 30 to 60 minutes at a time, and wait a couple of weeks before judging the result.
- Do not go past about 10 to 12 hours, even if the tank looks fine. More light mostly feeds algae.
- Keep at least 8 hours of full darkness each day.
Brightness counts as much as hours. A strong light on for 6 hours can cause more algae than a dim one on for 10. If algae appears, try shortening the photoperiod first, or dim the light.
Do fish need light at night?
No. Fish need a dark period to rest. They have no eyelids, but they still slow down and rest, and that only happens properly when the tank is dark. Leaving the light on all night can leave fish stressed, with poor appetite, more hiding and more squabbling.
Normal room light drifting into the tank at night is fine. A street light or a TV right next to the glass is worse, so move the tank or close a curtain if you can. For more on what resting fish look like and how to tell it from illness, see our do fish sleep guide.
Can fish live with the light on 24/7?
Fish may survive it for a while, but it is not good for them or the tank. There are two problems.
- No rest. Fish never get a true night.
- Algae. Algae grows as long as it has light and nutrients. A tank lit 24 hours a day often turns green or brown quickly.
Live plants do not benefit either. They photosynthesize in light and respire in the dark, so they also need a night.
If you have been running the light all the time, do not cut it to 8 hours overnight if the tank is full of algae. Move to 12 hours for a week or two, then 10, then your target. This gives fish a gentler change and lets you see whether the algae is slowing down. Our algae guide covers the types and fixes.
Is sunlight good for an aquarium?
No. A tank in a sunny spot gets two problems at once.
- Algae. Direct sun is strong, free light that you cannot put on a timer. It is one of the quickest ways to get a green tank.
- Temperature swings. Sun on the glass warms the water during the day, and it cools again when the sun moves. Small tanks swing the most. See our tank temperature guide for safe ranges.
The best spot is a place that is bright in daytime but never gets direct sun. If you cannot move the tank, block the sun with a blind or a background film on the sunny side, and watch the thermometer on hot days. A thermometer that reads very different in the morning and afternoon is a clear sign the sun is reaching the tank.
Use a timer
A plug-in timer is the simplest fix for almost every lighting problem. It keeps the schedule steady even when you are busy, away or forget. It also stops the “I will turn it off later” habit that leads to 14-hour days.
Pick a simple mechanical or digital timer rated for the wattage of your light. If your fixture has a built-in schedule, use that. Check it after a power cut, because some timers reset.
Many people also like a midday break for algae-prone planted tanks, for example light for 4 hours, off for 3 and on for 4. The total light stays the same, but the gap can interrupt algae growth. It is optional, and a plain single block of light works for most tanks.
Moonlights, dawn and dusk
Most fish do not need a night light, but a dim one is not harmful if you keep it modest.
- Moonlights. A faint blue light is fine for a few hours in the evening if you like watching your fish. It should be dim, and not on all night.
- Dawn and dusk ramps. Many LED fixtures can fade up in the morning and down in the evening. This is gentler than a sudden flash, which can startle fish into darting around. It is a nice feature, but not a requirement.
- No ramp? Switch on the room light first, then the tank light.
Nocturnal fish and shy species
Some fish are more active in low light, such as kuhli loaches and a bristlenose pleco. They still need a proper night, and they still do better with a regular schedule. What helps them is cover: caves, driftwood, dense plants and floating plants that dim the tank. With shade to retreat to, they come out more by day and in the evening.
Feed them shortly before lights-out. A sinking wafer or a few pellets at dusk gives them a chance to eat after the day-active fish have finished. Remove leftovers the next morning if any remain.
Light and algae
Algae needs three things: light, nutrients and time. In most tanks you control light more easily than nutrients, which is why the photoperiod is the first thing to check.
- Shorten the light by an hour at a time, or reduce brightness.
- Cut out any sun hitting the tank.
- Feed only what the fish finish in a minute or two.
- Keep up with water changes. You do not need to scrub away every bit of green; a little algae on the glass is normal in a healthy tank.
If you want plants to outcompete algae, choose plants that cope with modest light. Our list of easy plants is a good start, and the planted tank fish guide covers fish that suit a planted setup.
Lighting for plants versus fish-only tanks
A fish-only tank can run on very little light, since the main job is giving fish a day. Plants make the choice harder. Low-light plants such as java fern and anubias do fine under a modest fixture on 6 to 8 hours a day. Faster-growing stem plants want more light, and with it comes more risk of algae, so give them a larger plant load to use that light.
If you add a plant light to a tank that has been fish-only, start with 6 hours and add 30 minutes every couple of weeks while watching for algae. Plants take time to grow in and use the light. Until they do, the extra light feeds algae instead.
New fish, sick fish and hospital tanks
Light levels can help in a few special cases.
- New fish. A dim tank for the first day helps newcomers settle. Turn the light on later than usual, or leave it off for a few hours, and feed lightly. A separate quarantine tank is the safest place for new arrivals.
- Sick or stressed fish. Bright light adds stress. Keep the room light low and give them cover. This does not treat the illness, so test the water and follow your treatment plan.
- Hospital tanks. These are often kept dim and bare, with a small hiding spot. Keep a normal day and night rhythm, and follow the label of any medication you use, because some products break down in strong light.
Vacations and power cuts
For a short trip, a timer is better than leaving the light on. Fish go a few days without food, but a tank lit around the clock for a week is likely to grow a coat of algae. After a power cut, check that the timer shows the right time, so the lights do not come on at 3 a.m.
Quick setup checklist
- Move the tank out of direct sun.
- Put the light on a timer.
- Start at 6 to 8 hours for a new tank and 8 hours for an established one.
- Keep 8 or more hours of darkness each night.
- Change the schedule in small steps, and wait two weeks before judging the result.
- If algae appears, shorten the light or dim it before anything else.
Frequently asked questions
Do fish need light to survive?
Not directly, since fish do not make food from light the way plants do. They still do best with a steady daily rhythm of light and dark. Room light from a window or lamp is enough for many fish-only tanks, while live plants need a real aquarium light.
Do fish need light at night?
No. Fish need darkness at night to rest, and most do not need a night light. If you want one, use a very dim moonlight for a few hours, not all night.
Can I leave my aquarium light on 24/7?
It is not a good idea. Constant light removes the dark period fish use to rest and gives algae unlimited energy to grow. Put the light on a timer instead.
Do fish need light to eat?
Fish find food best when the tank is lit, because most are sight feeders. Feed during the light period. Night-active species such as loaches and many catfish can be fed shortly before lights-out.
Do fish need sunlight?
No, and direct sun on a tank is a common cause of algae and sudden temperature swings. Place the tank where it gets bright room light but no direct sun.