
First Electric Clock
by Alexander Bain
Introduction — the Caithness genius who invented networked time
When most people hear 'Alexander Bain' — if they have heard the name at all — they are told he invented the first electric clock. That is true, and it is the smaller half of the story. Bain's real achievement, written into the very first sentence of his 1841 patent, was something stranger and far more consequential: he invented a way to make one clock keep all the others in step. One master, many slaves, perfectly in sync, down a single wire.
It is the principle that runs the Network Time Protocol on every computer reading this page. It is the principle that runs GPS, the speaking clock, and the radio time signal. It is what railways needed, what factories needed, what the modern world needed — and a self-taught crofter's son from Watten in Caithness patented it more than thirty years before the first telephone call and almost a century before the first computer. This is the story of how he did it, why he died poor, and why his idea has never gone away.
The world before the electric clock
For two centuries before Bain, the best clocks in the world were mechanical pendulum clocks. Christiaan Huygens had built the first in 1656, and it had been a staggering leap — accuracy improved from about fifteen minutes a day to about fifteen seconds. From 1656 until the 1930s, the pendulum clock was the world's most precise timekeeper.
But every mechanical clock had to be wound, daily for most domestic clocks, as a falling weight or unwinding spring drove the mechanism. Its pendulum drifted with temperature and humidity. And, crucially, there was no easy way to keep a whole network of clocks reading the same time. Before electricity, a human 'time-keeper' might literally walk from clock to clock with a reference watch, resetting each by hand. Cities used a dropped time-ball (Edinburgh's, on the Nelson Monument, dates from 1853) or a fired time-gun (Edinburgh Castle's, from 1861) so that mariners and citizens could set their watches against it.
The railways broke this patchwork. Trains running to a timetable across an east–west network needed every station on the line to agree on the time. Railway time — the first synchronisation of local times to a single standard — was introduced by the Great Western Railway in November 1840, the birth of standardised time on Greenwich Mean Time. An electromagnetically maintained pendulum that never needed winding, that could be tied to a master clock and kept in perfect synchrony, and that could control a whole network of slave clocks from a single point, was exactly the tool this new world required. That tool was Patent No. 8783.
Bain's Electric Clock — The Invention
Bain's insight was to replace the mechanical push with an electromagnetic one. In an ordinary clock, a wound weight or spring feeds energy through the escapement to nudge the pendulum on each swing, replacing the energy lost to friction. Bain did away with the weight and the escapement-as-driver entirely. The pendulum carried a coil of wire that swung through the field of fixed permanent magnets. A small electrical contact on the pendulum briefly completed a circuit at the right moment, sending a pulse of current through the coil; the coil became a momentary electromagnet, attracted and repelled by the fixed magnets, and so received its kick. The pendulum then drove the clock's hands by a light arm and hook engaging a ratchet wheel.
To this Bain added two visionary ideas. The first was the earth battery: instead of relying on the expensive Daniell cells of the day, Bain proposed burying zinc and copper plates a short distance apart in damp soil. The electrochemical action of the moist earth between the two metals generated a small but steady current, enough in principle to keep a pendulum swinging indefinitely — a clock essentially powered by the planet itself. The second, more important still, was synchronisation: connecting multiple clocks together so that one master governed any number of slaves. That idea, more than the clock, makes Bain a giant of horological history.

How Bain's Electric Clock Worked
Pendulum with a coil
Instead of a falling weight, the pendulum carried a coil of wire that swung between fixed permanent magnets.
Gold contact
A small electrical contact — made of gold so it would not corrode — closed a circuit at the precise point of each swing.
Electromagnetic push
Current flowed through the coil, turning it into a temporary electromagnet that was attracted and repelled by the fixed magnets, kicking the pendulum onward.
Earth battery (optional)
Bain proposed powering the clock from zinc and copper plates buried in damp soil — a current drawn from the earth itself.
Master and slave
A second contact on the master pendulum could send a pulse down a telegraph wire, forcing distant slave clocks to advance one step in perfect sync.
The Master-Slave Clock System
This is Bain's most consequential contribution. A single, accurately set master clock sends regular electrical pulses along a circuit to any number of slave clocks, each fitted with a simple electromagnet-and-ratchet movement that advances its hands one step per pulse. No human winds them; no human resets them. Correct the master, and every slave corrects itself.
The applications were transformative. Railways needed it most — timetables only work if every station clock agrees. Telegraph companies, factories, hospitals, courts and schools all needed coordinated time, and eventually so did the whole infrastructure of a punctual industrial society. Bain demonstrated the principle at scale in 1845–46, when — assisted by his brother John — he built a 46-mile telegraph line along the Edinburgh and Glasgow Railway (opened 1842) at a quoted £50 per mile, against the £250 per mile Cooke and Wheatstone were charging the Great Western. His personal interest was precisely the feasibility of time distribution over distance: a master electric pendulum clock in Edinburgh, ideally governed by the Royal Observatory, keeping a slave in Glasgow in perfect step.

Bain's principle was then carried forward by others. At the Royal Observatory, Greenwich, the Astronomer Royal George Airy installed Charles Shepherd's electric master-and-slave system in 1852; from 1852 it sent time pulses to the famous Shepherd Gate Clock and, by telegraph, along all the principal railways out of London to Edinburgh, Glasgow, Dublin and Belfast — and from 1866, across the Atlantic to Harvard. By around 1900, master-slave clock networks from firms such as Gent of Leicester, Synchronome and Magneta were standard in factories, schools and stations across the British Empire. Every one of them is a descendant of the system Bain set down in his 1841 patent.
From a Caithness Croft to the Global Internet
1810
Born in October at Leanmore croft near Watten, Caithness — son of a crofter, one of thirteen children.
1830s
Apprenticed as a clockmaker in Wick; walks to Edinburgh and on to London, working as a journeyman watchmaker.
Aug 1840
Demonstrates his electric-clock and printing-telegraph models to Sir Charles Wheatstone, who advises him 'there's no future in them.'
10 Oct 1840
Files British Patent No. 8783 with John Barwise of St Martin's Lane.
26 Nov 1840
Wheatstone exhibits an electric clock at the Royal Society as his own invention — after Bain has filed.
11 Jan 1841
Patent No. 8783 granted — the first UK patent for an electric clock.
27 May 1843
Patent No. 9745 covers further clock improvements and the chemical/copying telegraph (ancestor of the fax machine).
1845–46
Builds a 46-mile telegraph line along the Edinburgh & Glasgow Railway to demonstrate time distribution between the two cities.
1846
House of Lords committee sides with Bain; Electric Telegraph Company pays him £10,000 — Wheatstone resigns from the company.
1852
Astronomer Royal George Airy installs Shepherd's electric master-slave system at Greenwich — Bain's principle adopted by the state.
1877
Bain dies in poverty on 2 January at the Broomhill Home, Kirkintilloch; buried in the Auld Aisle Cemetery.
1893
Listed alongside Edison, Morse, Faraday and Kelvin on the Electricity Pavilion at the Chicago World's Fair.
1985
David L. Mills publishes the Network Time Protocol (NTP) — a 'hierarchical master-slave' time network that today synchronises 25 million+ computers.
The Patent History and the Wheatstone Dispute
By July 1840 Bain had rough working models of both an electric clock and a printing telegraph, but lacked the funds to develop them. Through the assistant editor of the Mechanics' Magazine he was introduced, on 1 August 1840, to Sir Charles Wheatstone, Professor of Experimental Physics at King's College London and one of the most eminent scientists in the country. At a second meeting on 18 August Bain brought his models; Wheatstone bought the printing-telegraph model for £5, ordered working examples — and told Bain to suspend further work on the electric clock and tell no one.
The traditional version of the story — first told in John Finlaison's openly partisan 1843 pamphlet — has Wheatstone dismissing the idea outright: 'Oh, I shouldn't bother to develop these things any further! There's no future in them.' The quotation is famous, but historians treat it as the popular account rather than a courtroom transcript. What is documented is what Bain did next. With John Barwise, a chronometer-maker of St Martin's Lane, he applied on 10 October 1840 for what became Patent No. 8783, granted on 11 January 1841 and titled 'Improvements in the application of driving power to Clocks and Time Pieces.' (A delay in sealing was caused by one of Queen Victoria's confinements that winter.)
To Bain's fury, Wheatstone exhibited a similar electric clock at the Royal Society on 26 November 1840 — after Bain had filed — and presented it as his own. When Wheatstone then tried to show an electric clock at the Adelaide Gallery just after the patent was granted, Barwise stopped him with a court injunction. A bitter public feud erupted in the Literary Gazette and the Inventors' Advocate, with Wheatstone disparaging Bain as 'a working mechanic who had been employed by me.' Bain's champion was John Finlaison, a Treasury civil servant from Thurso, who described his fellow Caithness man as 'a self-taught genius, from the author's own native spot in the extreme North of Scotland, totally unfriended and hitherto unknown to fame.'

The reckoning came in 1846. Wheatstone, Cooke and others had formed the Electric Telegraph Company and applied to Parliament for an Act of Incorporation. Bain opposed the Bill on grounds of patent infringement. When the Bill reached committee in the House of Lords, with the Duke of Beaufort as chairman, the committee was so impressed by Bain that it pressed the company to settle or risk losing its Bill. The deal: Bain received £7,500 in compensation, plus a further £2,500 for use of his printing-telegraph patent — £10,000 in total — together with a share of profits on his clocks (which the company would manufacture and market), a managerial role, and the promise that the dials would be marked 'A. Bain — inventor.' Wheatstone resigned from the company in response.
“The synchronization subnet of primary and secondary servers assumes a hierarchical-master-slave configuration with the primary servers at the root and secondary servers of decreasing accuracy at successive levels toward the leaves.”
The Earth Battery — an Idea Ahead of Its Time
Bain's earth battery exploited a fact of basic electrochemistry: place two different metals in a conducting medium and a voltage appears between them. Bury a zinc plate and a copper plate a yard or so apart in moist soil, connect them with a wire, and a small current flows — the soil moisture acting as the electrolyte. 'If we place a sheet of zinc and another of copper in the ground a little distance from each other, and a few feet deep, so that they are perfectly imbedded in the moist soil,' Bain wrote in 1852, 'we have, by this simple arrangement, a source of electricity.'
The current was tiny — far too small for a telegraph or a motor — but a well-made pendulum clock needs almost nothing to keep going, and that was the genius of it: a clock requiring no winding, no fuel, and no human attention, drawing its life from the ground. For the parlour, Bain even devised a decorative version in which the zinc and copper plates were hidden inside ornamental vases of soil, one on each side of the mantel clock. The practical reality was less tidy — soil conductivity falls in dry weather, and the plates 'polarised' over time, both of which sapped the current — and earth batteries never became the standard power source. But as a concept (drawing usable energy from the planet to run a machine indefinitely) it was decades ahead of the galvanic science of the 1840s that spawned it.
Legacy — The Electric Clock and the Modern World
For all his brilliance, Bain was ahead of his market. In the 1850s his electric clocks were costly luxuries, and less reliable than good mechanical ones; a contemporary sniffed that the pendulums in his Bond Street shop window were forever 'stopping, or going so feebly that it was evidently going to stop very soon.' The electric clock did not come into its own until modern batteries and AC mains power arrived around 1900, and the synchronous mains clock only displaced the mechanical clock in homes in the 1930s and 40s.

But when it arrived, Bain's vision was everywhere. The network of electrically driven clocks in railway stations, hospitals, schools, offices and public buildings worldwide is his direct legacy. So, in a sense, are the speaking clock and broadcast time signals, GPS time, and the atomic clock — all built on the idea of distributing one authoritative time to many users.
The most striking inheritance is digital. The principle of a master clock distributing time to slaves is exactly how computer networks keep time today, through the Network Time Protocol (NTP) — designed by David L. Mills of the University of Delaware and in use since before 1985. NTP's own technical specification (RFC 1305, March 1992) describes how 'the synchronization subnet of primary and secondary servers assumes a hierarchical-master-slave configuration with the primary servers at the root and secondary servers of decreasing accuracy at successive levels toward the leaves.' The same master-slave language runs through its higher-precision successor, the IEEE 1588 Precision Time Protocol. NTP keeps an estimated 25 million-plus computers — and through them effectively every smartphone and networked device on Earth — in synchrony. In a very real sense, every computer network on the planet runs on a descendant of the principle Alexander Bain patented in 1841.
His clocks endure as objects too. The National Museum of Scotland holds examples of his work, including a Bain telegraph instrument thought to come from the Edinburgh and Glasgow Railway; the Science Museum in London holds several Bain electric clocks and components; and one of the earliest electrically impulsed pendulum clocks is at the Deutsches Uhrenmuseum in Germany, with further examples at the National Maritime Museum and in Watten's own village hall. Bain himself died in poverty on 2 January 1877 at the Broomhill Home in Kirkintilloch — a sad end softened only by a Civil List pension secured for him in his final years by Sir William Thomson (Lord Kelvin). In 1893, on the wall of the Electricity Pavilion at the Chicago World's Fair, his name was listed alongside Edison, Morse, Siemens, Thomson and Faraday.
A Note on the 'First Electric Clock' Claim
Honesty matters. 'First electric clock' is genuinely contested. In Bavaria in 1839, the year before Bain's patent, Carl August Steinheil built a working electric clock and transmitted time signals between two Munich locations — and used an earth/water return for the circuit before Bain did. Some horological writers credit Steinheil ahead of Bain.
The fair and defensible claim is therefore narrower and still remarkable: Alexander Bain holds the first British patent for an electric clock, and he is the man who established the modern electromagnetic clock as a practical device and, above all, set down the master-slave synchronisation principle that the rest of the world has been quietly running on ever since.
Frequently Asked Questions
Who was Alexander Bain? Alexander Bain (October 1810 – 2 January 1877) was a Scottish inventor, born the son of a crofter at Leanmore near Watten in Caithness. Self-taught, apprenticed as a clockmaker in Wick, he walked to Edinburgh and then to London and went on to invent the first practical electromagnetic pendulum clock, the master-slave clock system, the chemical/copying telegraph (an ancestor of the fax machine), and key improvements in electrical telegraphy. He is buried at the Auld Aisle Cemetery, Kirkintilloch.
Did Alexander Bain invent the first electric clock? He patented the first electric clock in Britain (Patent No. 8783, filed 10 October 1840, granted 11 January 1841) and established the modern electromagnetic clock as a practical device. The German physicist Carl August Steinheil had already built a working electric clock and transmitted time signals in Munich in 1839, so Bain is most accurately described as the first to patent the electric clock in Britain and the inventor of the synchronised master-slave clock network — not the absolute world first.
How did Bain's electric clock work? The pendulum carried a coil of wire that swung between fixed permanent magnets. A small gold electrical contact on the pendulum closed a circuit at the right moment in each swing, sending a pulse of current through the coil. The coil became a momentary electromagnet and was attracted and repelled by the fixed magnets, giving the pendulum its push. A light arm-and-ratchet advanced the hands. No falling weight, no spring, no winding.
What was the master-slave clock system? A single accurately set master clock sends regular electrical pulses along a wire to any number of slave clocks, each of which advances one step per pulse via a simple electromagnet-and-ratchet mechanism. Correct the master, and every slave corrects itself. Bain wrote the principle into his 1841 patent and demonstrated it over a 46-mile telegraph line on the Edinburgh and Glasgow Railway in 1845–46.
What happened in the Wheatstone dispute? Bain demonstrated his electric-clock and printing-telegraph models to Sir Charles Wheatstone in August 1840, on advice that he should suspend the work. Wheatstone then exhibited a similar electric clock at the Royal Society on 26 November 1840 as his own — after Bain had already filed his patent on 10 October 1840. A House of Lords committee under the Duke of Beaufort settled the matter in 1846: the Electric Telegraph Company paid Bain £10,000 plus profit-share on his clocks, and Wheatstone resigned from the company.
Why was Bain's invention important? Because for the first time it made it possible to keep an unlimited number of clocks at distant locations in perfect synchrony from a single source. That capability was exactly what railways, telegraphs, factories, hospitals and observatories needed — and what every later time network, from the Greenwich time service to GPS, has been built on.
How did Bain influence modern computer networks? The master-slave principle Bain patented in 1841 is the same logical principle used today to synchronise computers across the internet. The Network Time Protocol (NTP) keeps an estimated 25 million-plus computers in step using a hierarchical master-slave architecture — its own technical specification (RFC 1305, 1992) literally uses the phrase 'hierarchical-master-slave configuration.' Through NTP, effectively every smartphone, server and connected device on Earth keeps time on a descendant of Bain's idea.
What is the connection between Bain and NTP? The connection is the architecture, not the wiring. Bain's 1841 system used electrical pulses down telegraph wires to drive slave pendulums in sync with a master pendulum. NTP, designed by David L. Mills in the 1980s, uses digital time packets over the internet to keep slave computer clocks in sync with primary time servers, which are themselves disciplined by atomic clocks and GPS. The medium has changed from copper wire to fibre optic, and the precision from seconds to nanoseconds — but the organising idea (one authoritative source distributing time to many subordinates in a hierarchy) is unmistakably Bain's.
Related Inventions
Bain's Chemical Telegraph
Alexander Bain · 1846
A telegraph that printed messages chemically.


Television
John Logie Baird · 1925
The first working television, built from household objects.
Weekly Scottish Innovation Facts
Delivered to your inbox every Sunday. No spam, just brilliance.