Vivarium Builders

Guide · Reptile keepers · 4 min read · Updated 17 November 2026

Vivarium Heating and UVB Setup: Lamps, Guards and Thermostats

Short answer

A safe vivarium setup uses a heat source at one end, such as a basking lamp, deep heat projector or ceramic heat emitter, inside a mesh guard and controlled by a thermostat, to create a warm-to-cool gradient. Species that need UVB get a UVB tube with a reflector or another suitable UVB lamp, mounted at the distance the manufacturer gives. Timers set a day and night cycle, and every heater must be on a thermostat.

Vivarium Heating and UVB Setup: Lamps, Guards and Thermostats

Why heating and lighting matter

Reptiles and amphibians are ectotherms. They depend on outside heat to digest food, move and fight off illness. In the wild, they move between sun and shade to control their temperature. In a vivarium, the keeper has to recreate that, with a hot spot, a cooler area and a range in between. The Animal Welfare Act 2006 requires keepers in England and Wales to meet their animal's needs, which for reptiles includes the right heat and light.

Getting this wrong causes many common health problems, from poor appetite to burns, metabolic bone disease and respiratory illness. That is why a good vivarium maker plans the equipment as carefully as the enclosure.

Heat sources compared

Different heat sources suit different species and setups. Most daytime basking species do well with a light-emitting lamp, while nocturnal species and night-time heating often use a heater that gives off little or no light.

Heat sourceHow it heatsBest forWatch out for
Halogen or basking bulbBright light and heatDay-active basking lizardsMust be guarded and on a dimming thermostat
Deep heat projectorInfrared, little visible lightDay or night heat, many speciesNeeds a ceramic holder and guard
Ceramic heat emitterHeat with no lightNight heat, snakesGets very hot; guard and pulse or dimming stat
Heat matBelly heat from below or sideSome snakes and geckosMust be on a mat thermostat, never unregulated
Mercury vapour lampHeat and UVB togetherLarge basking speciesNot for use on dimming thermostats

Guards and thermostats

Every lamp and ceramic heater inside a vivarium needs a guard. Reptiles will climb onto, lie against or wrap around a bare bulb and can suffer severe burns. Snakes are especially at risk. A mesh guard, fixed firmly to the vivarium roof, keeps the animal away while letting heat through.

Every heat source also needs a thermostat. Dimming thermostats suit basking bulbs, pulse thermostats suit ceramic heaters and deep heat projectors, and mat thermostats suit heat mats. The probe is placed where the temperature matters, usually near the basking area or at the warm end, and secured so the animal cannot move it. A second digital thermometer at each end lets you check the gradient.

  • Guard every lamp and ceramic heater.
  • Match the thermostat type to the heat source.
  • Secure the probe where the animal cannot dislodge it.
  • Check both ends with a separate digital thermometer.

UVB lighting

UVB lets many reptiles make vitamin D3, which they need to absorb calcium. Without it, species such as bearded dragons and chameleons can develop metabolic bone disease. Some nocturnal species need less, but many keepers still provide low-level UVB. The right lamp depends on the species and how far it will sit from the light.

Linear tubes, especially T5 high-output tubes with a reflector, are widely used because they cover a good part of the enclosure. They are mounted inside the vivarium, as glass and most plastics block UVB. Mesh guards also reduce UVB a little, so lamp distance must allow for that. Replace UVB lamps at the interval the manufacturer gives, as output drops long before the tube stops lighting.

Positioning for a proper gradient

Heat and UVB should be at one end, so the other end stays cooler. The basking spot is usually a flat rock, slate or branch placed at the distance from the lamp that gives the target temperature for your species. Hides should be at both the warm and cool ends, so the animal never has to choose between feeling safe and being at the right temperature.

Vents help too. Most vivariums have low vents at the cool end and high vents at the warm end, creating a gentle airflow. Too little ventilation causes stale air and condensation; too much makes heating and humidity hard to hold.

  • Heat and UVB at one end, cool end opposite.
  • Basking surface at the correct distance from the lamp.
  • Hides at both ends.
  • Low vents at the cool end, high vents at the warm end.

Electrical safety

Vivariums often run several pieces of equipment. Use good-quality thermostats and timers, avoid overloading extension leads, and keep cables tidy and out of the animal's reach. Ceramic lamp holders are needed for high-temperature bulbs. Many makers route cables through grommets and fit a small cable management panel at the back.

If you are adding a built-in vivarium or a large stack, a dedicated socket fitted by an electrician is safer than chains of adaptors. Fixed electrical work should be carried out to BS 7671.

Testing the setup before the animal goes in

Run a new or rebuilt vivarium for at least a day or two before introducing the animal. Check the basking spot with a digital probe thermometer or infrared temperature gun, and read the cool end separately. Watch how the thermostat behaves as the room warms and cools, and check that night-time temperatures stay where you want them once the lights go off.

Look for hot spots near guards and on the roof panel, and make sure nothing inside, such as a branch or decoration, sits too close to a lamp. A good maker sets the equipment up on installation and shows you how to read and adjust it, so you are confident before your animal moves in.

  • Check basking and cool-end temperatures separately.
  • Confirm night-time temperatures with lights off.
  • Look for hot spots and decorations near lamps.
  • Note UVB fitting dates for replacement.

Questions people also ask

Does every vivarium need a thermostat?

Yes. Every heat source in a vivarium should be controlled by a thermostat of the right type: dimming for basking bulbs, pulse for ceramic heaters and deep heat projectors, and mat stats for heat mats. Without one, heaters can overheat the enclosure and seriously harm or kill the animal.

Can UVB go through glass?

No. Ordinary glass and most plastics block UVB, so a UVB lamp must be mounted inside the vivarium, not shining through a glass lid or door. Mesh guards reduce UVB slightly, so the lamp height and basking distance should take that into account. Follow the lamp manufacturer's guidance for your species.

Should vivarium lights be on at night?

Most reptiles need a regular day and night cycle, so bright lights and UVB should go off at night on a timer. If the room gets too cold for your species overnight, use a heat source that gives off little or no light, such as a ceramic heat emitter or deep heat projector, controlled by a thermostat.

Written and checked by the Vivarium Builders team. Read our editorial policy.

Get a free vivarium builders quote

Tell us what you need and we'll come back with a clear price.

Request a quote