Can CNC Machines Be Left Unplugged?
This page answers the question for operators and maintenance engineers: what actually fails when a CNC machine loses power, when you may pull the plug on purpose, and what to check before you run a part again. Read it and you can decide on the spot whether to cut power or keep the cabinet energized.

What Happens When the Power Goes Away
A CNC is a computer, a set of servo drives and a spindle bolted to the same frame. Each one reacts to a lost supply in a different way.
What a CNC Loses the Moment Power Drops
A vertical machining center holds its axis position with servo motors, and those motors hold position only while the drives are energized. Cut the supply and the drives drop out within milliseconds. On a horizontal machine or a mill-turn center, a heavy tool turret or a vertical slide can settle a few micrometres under its own weight. The movement is small, but it is enough to scrap a tight-tolerance feature when the cut was still in progress.
The control is the second problem. Fanuc, Siemens and Mitsubishi controls keep parameters, offsets and the active program in battery-backed memory. That memory survives a normal shutdown. It also survives most outages, though a weak cell combined with a long outage can wipe offsets and tool data. Losing the active program mid-cut is the more common event, and it costs you the part plus a restart.
Thermal state matters too. A spindle running at 12,000 rpm carries heat in the bearings and the housing. When the supply dies, the cooling circuit stops with it. A spindle that stops hot and cools unevenly can shift its preload. That is why we let a spindle coast down on its own before we touch anything.
Nothing in the cabinet likes a sudden loss either. Contactors drop out under load, and the inrush when power returns can stress a drive that was never designed to see it. Repeated outages are harder on the machine than one clean shutdown.
When Unplugging Is Fine and When It Is Not
Pulling the plug on an idle machine is normal. A CNC that has finished its cycle, parked its axes and completed its shutdown sequence holds nothing in memory that a power cut can damage. Servo drives are de-energized, the spindle is stopped, and the control has already written its state to storage. Maintenance staff unplug machines every day for panel work and cleaning.
The picture changes while a cycle is running. Cutting power mid-cut leaves the tool inside the material with the drives off. When power returns, the control may not know where the axis actually sits. A reference return is then required, and the part in the vise is usually a write-off. On a 5-axis job with a tilting head, the risk is bigger because more axes have to be re-homed.
Some machines should never be unplugged casually. A mill-turn center with a bar feeder, a machine holding a pallet in a hydraulic fixture, or any machine with a raised Z axis and no brake will drop or drift. Check the mechanical brake on the Z axis before you decide. If the slide holds, an unplug is safe; if it does not, lower the axis first.
There is also the battery question. Absolute encoders and control memory rely on cells that are only checked during service. A long unplugged period drains them. If a machine will sit for weeks, either keep it connected on a maintenance circuit or plan to re-reference every axis on restart.
Unplug or Keep Energized: A Quick Reference
Match the machine state to the action. When in doubt, follow the shutdown procedure in the machine manual.
| Machine state | Unplug OK? | Why |
|---|---|---|
| Idle, cycle complete, axes parked | Yes | Drives off, state already saved |
| Mid-cut, tool in material | No | Position lost, part scrapped on restart |
| Z axis up, no brake | No | Slide can drop under its own weight |
| Hydraulic fixture under pressure | No | Loss of clamp pressure releases the part |
| Bar feeder loaded | No | Bar can shift inside the channel |
| Spindle still coasting down | No | Uneven cooling shifts bearing preload |
| Scheduled maintenance, panel open | Yes | Standard lockout procedure |
| Long storage, weeks at a time | Conditional | Encoder and memory batteries drain |
What to Do in the First Ten Minutes of an Outage
Do not press anything yet. Let the spindle coast down and listen for the drives. If the machine has a spindle brake, wait for it to engage on its own. Forcing a stop while the spindle is still turning can damage the tool holder taper.
Once the spindle is still, open the cabinet and look for warning lamps on the drives. Most drives latch a fault code such as an undervoltage or a phase-loss alarm. Write the code down before you reset anything. That code tells you whether the outage was clean or whether a drive tripped during the event.
Check the coolant and the way lube while you are there. A pump that stopped mid-cycle can leave chips packed around a tool, and a lube line that lost pressure may need a manual prime. Both are cheap checks that prevent a scrapped first part after restart.
Keep people off the machine until the supply is stable. Utilities often restore power in short bursts before the grid settles. A machine that starts and stops three times in ten minutes takes more abuse than one that stays off for an hour.
Restarting After Power Returns
Bring the machine up in order: main breaker, control, drives, then hydraulics. Let the control finish its boot before you enable the drives. On most Fanuc and Siemens controls a full boot takes 30 to 90 seconds, and enabling drives early can trip a communication alarm.
Reference every axis before you run a program. Absolute encoders may still know their position, but incremental systems do not. Send the machine home at a low feed rate and watch the position display. A mismatch between the commanded and displayed position means the encoder or the reference dog needs attention.
Warm the spindle before the first cut. Run it at 25 percent of maximum speed for ten minutes, then 50 percent for another ten. This re-establishes the thermal state the machine was in when it was set up. Skip it and the first part may measure fine while the third one drifts.
Run an air cut on the first program. It confirms the tool offsets, the work offset and the program itself before metal is touched. On a ±0.005 mm job, an air cut costs two minutes and can save a whole batch.
Questions Engineers Ask About CNC Power Loss
Can a CNC machine be left unplugged overnight?
Yes, provided the cycle is finished and the axes are parked. An idle CNC holds no cutting state that an unplug can damage, and many shops disconnect machines at the end of a shift for safety.
The one item to watch is the backup battery for absolute encoders and control memory. Overnight is harmless. Weeks of storage are not, so keep the machine on a maintenance supply for long idle periods.
Does an unexpected outage damage the control?
Usually not. Control memory is battery-backed and survives a normal outage. The damage risk sits in the drives and the spindle, not the control board.
The exception is a weak battery. If the cell is already low, a long outage can clear offsets, parameters and tool data. That is recoverable from a backup, but only if you have one.
What should I check before restarting the machine?
Look for latched fault codes on the drives and write them down. Check coolant and way lube levels. Confirm that the Z axis has not drifted while the machine was down.
Then reference every axis, warm the spindle, and run an air cut before the first real part.
Is a surge protector enough protection?
It helps, but it is not the whole answer. A surge protector handles voltage spikes. It does nothing for a brownout, where the supply sags but does not stop.
A sag is often worse than a clean cut. Drives can behave unpredictably at low voltage. If your grid is unstable, an uninterruptible supply for the control and the drives is the more useful investment.
Can we machine parts after an outage without re-referencing?
Only if the machine uses absolute encoders and the position was not disturbed. Most shops still re-reference as a habit, because the cost is a few minutes.
If the outage happened mid-cut, assume the position is lost. Re-reference, re-check offsets, and inspect the part before deciding whether to continue.
Does unplugging a machine save power worth the wear?
The idle draw of a modern CNC is modest, and the wear from daily plug cycles is small. Unplug for safety and for lightning protection, not for the electricity bill.
If the machine sits in a building with poor grounding, disconnecting it during storms is a reasonable habit. Just follow the shutdown sequence first.
Need Parts Machined on Equipment That Stays Up?
Send your drawings and we will quote within 12 hours, with a free DFM analysis before the first cut.
12-hour quote127 CNC machines±0.005 mm100% inspection