Like humans, goldfish sleep better in a dark room. Make sure aquarium lights are switched off for at least twelve hours a day. Goldfish are diurnal, meaning they are most active during the day. Nighttime is not a goldfish’s preferred time to rest but they do prefer darkness to light.