Time switches explained: how to wire and set a DIN rail time switch

The Journal · Oct 19, 2026

Time switches explained: how to wire and set a DIN rail time switch

Written by Engin Demirel · Electrical technician, master instructor · 12 years of experience

Short answer: A time switch switches a circuit on and off automatically at times you set, every day or on chosen days of the week. It usually mounts on the DIN rail in the consumer unit. Typical uses are garden and shop-window lighting, signs, circulation pumps, water heaters and ventilation. On analogue (mechanical) models you set it by pushing the tappets around the dial in 15-minute steps; digital models offer weekly programmes and finer settings. For large loads or many LED fixtures, the time switch should drive a contactor rather than the load itself.

Time switch, timer relay and photocell

  • Time switch: works by clock and calendar, for example "on at 18:30, off at 23:00 every day".
  • Timer relay: waits or runs for a set time after an event (for example a staircase timer or a motor star-delta change-over). It does not know the time of day.
  • Photocell (dusk sensor): switches on when it gets dark and off at daylight. It follows the seasons automatically but cannot switch off at midnight.

For garden and sign lighting the two are often combined: the photocell switches on at dusk and the time switch switches off at a set time at night.

Analogue or digital?

  • Analogue (mechanical): the dial turns once in 24 hours and the tappets around it set the on periods. Simple and robust, with no display or menu. The smallest step is usually 15 minutes.
  • Digital: weekly (even yearly) programmes, minute accuracy, several channels, holiday mode and, on some models, an astronomical programme that calculates sunrise and sunset for your location.

What to check on the label

  • Programme type: daily (24 h) or weekly.
  • Minimum switching step: e.g. 15 minutes.
  • Power reserve: how long the clock keeps running during a power cut, so short outages do not shift the programme.
  • Contact: current rating and contact type (NO: normally open; whether it is potential-free).
  • Module width: space taken in the consumer unit (1 module = 17.5 mm).

Example: the Legrand 4 127 90 analogue time switch has a daily programme, 15-minute steps and a 100-hour reserve; it is supplied at 230 V, its potential-free NO contact switches 16 A at 250 V and it is one module wide.

How to wire a time switch: illustrated wiring diagram

Time switch wiring diagram: L and N to the supply terminals, L also bridged to the common contact (C); the N/O terminal to the lamp, the lamp's neutral to N
Time switch wiring diagram: L and N to the supply terminals, L also bridged to the common contact (C); the N/O terminal to the lamp, the lamp's neutral to N

A time switch has two separate circuits: its own supply and the contact it switches. Before wiring, switch off the relevant circuit breaker and confirm by measurement that the circuit is dead.

  1. Supply: live (L) and neutral (N) from the breaker go to the supply terminals. The power reserve keeps time during a power cut.
  2. Contact input: the contact is potential-free, so it provides no voltage itself. A bridge from live goes to the common terminal (C).
  3. Contact output: the normally open terminal (N/O) goes to the lamp or the contactor coil; the lamp's neutral goes straight to N.
  4. For large loads the contact drives a contactor coil and the lamps are fed through the contactor's main contacts.

Terminal numbers vary by brand and are printed on the device. Because the contact is potential-free, the same switch can also switch a different voltage (for example a 24 V contactor coil); in that case the supply of that circuit, not the bridge, goes to C. Have consumer unit work done by a qualified electrician.

When is a contactor needed?

A contactor protects the time switch's small contact and switches large loads safely. Use one when:

  • the total load approaches the contact rating;
  • many LED fixtures or floodlights are connected, because LED drivers draw a short high inrush current at switch-on that can weld the contact over time;
  • motors, pumps or heaters are switched;
  • a three-phase load is switched.

How to set an analogue time switch

  1. Turn the dial until the current time lines up with the marker.
  2. Push the tappet of every 15-minute segment during which the light should be on (e.g. 18:30–23:00).
  3. If there is a selector, set it to automatic. Most models also have permanent on and permanent off positions.
  4. The device needs to stay powered for a while to charge its reserve; check the programme once on the first day.

How to set a digital time switch

Digital time switches have a display and buttons instead of segments. Menu names vary by brand, but setup usually follows the same order:

  1. Time and day: on first start (or with the clock button) enter the day, then the hour and minutes.
  2. Add a program: with the PROG button enter the first on time (ON), then the off time (OFF).
  3. Select days: choose the days the program runs. Weekly switches allow a different time for each day or weekday/weekend groups.
  4. More programs: if you need several on/off periods a day, move to the next program step and repeat.
  5. Mode: save the program and set the switch to AUTO. Permanent on and permanent off are for maintenance and testing.

Some digital switches have an astronomical program: once the location is entered they calculate sunset and sunrise themselves, so no seasonal adjustment is needed. Set the automatic summer/winter time change to match your country; in the UK and the EU it should normally be on.

Analogue or digital? For garden, sign and shop window lighting that switches at the same time every day an analogue switch is enough and easy to set. If programs differ by day, need minute accuracy or should follow sunset, choose a digital or astronomical switch.

Typical uses

  • Garden and facade lighting: on at dusk with a photocell, off at midnight with the time switch.
  • Shop windows and signs: lit after closing time until a set hour.
  • Shared areas and car parks of residential complexes.
  • Circulation pumps, water heaters, ventilation fans.

Frequently asked questions

What does a time switch do?

It switches a circuit on and off automatically at set times every day or on chosen days. It is used for garden, shop-window and sign lighting, pumps and water heaters.

How many lamps can I connect to a time switch?

It depends on the contact rating and the type of load. For many LED fixtures or large loads, the time switch should drive a contactor rather than the load directly.

Does a time switch lose its setting in a power cut?

Models with a power reserve keep running during the outage; the reserve time is printed on the label (e.g. 100 hours). If the reserve runs out, the clock has to be set again.

Can a time switch be combined with a photocell?

Yes. The most common arrangement is a photocell that switches on at dusk and a time switch that switches off at a set time at night.

Is a time switch the same as a timer relay?

No. A time switch works by clock and calendar; a timer relay delays or runs for a set period after an event.

How do you wire a time switch?

Live and neutral go to the supply terminals. A bridge from live goes to the common contact (C) and the normally open terminal (N/O) goes to the lamp or contactor coil. Terminal numbers are printed on the device; the wiring should be done by a qualified electrician.

How do you set a digital time switch?

Enter the day and time first, then use PROG to set the on (ON) and off (OFF) times and the days it should run. Save the program and switch to AUTO mode.

Should summer time be switched on in a time switch?

It should match the rules where it is installed. Countries that change the clocks need the automatic change on; where clocks do not change, it must be off or the program shifts by an hour twice a year.