Posted in

How to demagnetize a solenoid coil?

As a solenoid coil supplier who’s been in the game for over a decade, I’ve fielded hundreds of questions from engineers, machinists, and even hobbyists asking one specific thing: “How do I demagnetize a solenoid coil correctly?” It’s a common headache, and wrong methods can ruin a perfectly good coil, or even lead to safety issues if you’re working with high-powered units. Let’s break this down the way I teach my customers, mixing real-world experience with the science that makes demagnetization work. Solenoid Coil

First, let’s get clear on why a solenoid coil gets magnetized in the first place. When you run an electric current through a solenoid coil, that coiled wire generates a uniform magnetic field—its whole job, really. But when you shut off the current, a small residual magnetism often lingers. That’s called coercivity, and it’s the tiny amount of magnetic field that remains in the coil’s core (usually made of soft iron or steel) after the external current stops. For most applications, this residual magnetism is nothing to worry about. But if you’re assembling parts around the solenoid—like small springs, plastic guides, or even adjacent electronic components—extra magnetism can throw off alignment, cause friction in moving parts, or even interfere with nearby sensors. I’ve seen a customer’s entire assembly line shut down because residual magnetism in solenoid cores was sticking tiny metal debris to a critical sliding mechanism, costing them thousands in downtime before they fixed the issue.

Demagnetization, or degaussing, is the process of removing that residual magnetism. It’s not just “waving a magnet at it and hoping for the best”—there are right and wrong ways to do this, depending on your coil’s size, power rating, and how precise you need to be. Let’s start with the basics of how degaussing works, to avoid guessing. Magnetism, at its core, is about the alignment of magnetic domains in a material. Every piece of iron (or steel) has tiny, invisible regions called domains, each acting like a mini magnet. When you magnetize a material, all those domains line up in the same direction, creating a net magnetic field. To demagnetize, you need to randomize those domains so their individual magnetic fields cancel each other out. The most common way to do that is to expose the material to a decreasing alternating magnetic field—this is why most industrial degaussers work the way they do.

Now, let’s go through the practical methods, starting with the ones I recommend most, paired with when to use each, based on the coils I supply:

  1. AC Degaussing (The Industrial Standard)
    This is the method I swear by for most production or large solenoid coils—think the ones we make for industrial valves, packaging machinery, or hydraulic systems. Here’s how it works, step by step. First, you need an AC degausser (sometimes called a demagnetizer) rated for the size of your coil. Most degaussers work by generating a strong alternating magnetic field that you bring the coil into, then slowly move it away. The alternating field flips the domains back and forth, and as you move the coil farther from the degausser, the strength of the field decreases, until eventually the domains are random and there’s no net magnetism left.
    Important tips I’ve picked up from years of working with customers: Don’t just turn the degausser on, hold the coil for a second, and turn it off. That can leave residual magnetism from the sudden stop. Instead, hold the coil within 1 to 2 inches of the degausser’s core for 2 to 3 seconds, then slowly pull it away at a steady rate—about 1 foot per second is standard. Once it’s 3 feet or more away, turn the degausser off. That ensures the field is weak enough that it doesn’t re-magnetize the coil when you turn the machine off.
    For large solenoid coils (like the 12-inch ones we make for heavy equipment), you can also use a coil of wire connected to a variable AC power supply. Pass alternating current through the wire, starting at a high amperage (enough to create a field stronger than the coil’s residual magnetism) and slowly turn the amperage down to zero. This is a cheaper alternative if you don’t have an industrial degausser on hand, and it works just as well for larger coils. The key here is to reduce the current gradually—if you cut it off suddenly, the domains won’t have time to randomize.

  2. Passive Demagnetization (For Small, Low-Power Coils)
    If you’re working with tiny solenoid coils—like the ones used in door locks, small switches, or consumer electronics—you might not need an AC degausser. A simple passive method works here: leave the coil in a “demagnetizing environment” for several hours, or even days. Soft magnetic materials (like the steel we use for our coil cores) have low coercivity, meaning they’ll lose residual magnetism over time when no external magnetic field is applied. But this only works for coils that have very small residual magnetism. If your coil was exposed to a strong magnetic field, this method could take weeks, so it’s not ideal for production.
    Another passive trick: heat the coil. Magnetic materials lose their magnetism when heated above their Curie temperature—for iron, that’s about 770°C (1420°F). That’s a high temperature, obviously, so this is only for coils where you can safely run them through an oven or heat treatment. For small coils, you can also heat them with a blowtorch (carefully, to avoid damaging the insulation on the wire) until they glow dull red, then let them cool slowly in a non-magnetic material (like ceramic or wood). This will fully randomize the domains, demagnetizing the coil completely. But again, this is a last resort—if you have delicate components attached to the coil, the heat can damage wiring or seals.

  3. DC Degaussing (For Precision Applications)
    If you’re working with high-precision solenoid coils, like the ones used in medical devices or aerospace components, DC degaussing is a great option. It’s more controllable than AC methods, which is key when you can’t risk over-demagnetizing (yes, that’s a thing!) or leaving behind a small residual field. How it works: connect the coil to a variable DC power supply, set the current to a level that creates a magnetic field slightly stronger than the coil’s current residual magnetism (you can test this with a gaussmeter, which measures magnetic field strength), then slowly reduce the current to zero. It’s similar to the large-coil AC method, but uses direct current instead, which gives you more control. I recommend this for customers making components where even a 1 Gauss magnetic field can cause issues—like sensors that detect tiny metal parts.

Now, let’s talk about the mistakes I see people make all the time, especially with the coils we supply. First, using a permanent magnet to “wipe” residual magnetism. I’ve had a customer show up with a solenoid coil that was way more magnetized than before, because he tried waving a bar magnet at it to erase the magnetism. That’s the exact opposite of what you want—you’re just aligning all the domains in the opposite direction, leaving the coil twice as magnetic as before. Second, cutting power too quickly, as I mentioned earlier. I’ve had customers turn off a degausser mid-process, which left their coils with a 20 Gauss field instead of near-zero. Third, not testing after demagnetization. It’s easy to assume it worked, but using a cheap gaussmeter (even a $50 one works for most applications) to test the coil after you’re done can save you a lot of headaches. If the field is still above 5 Gauss (the threshold for most general applications), just repeat the process—usually one more pass is enough.

Another big question: can demagnetization damage a solenoid coil? The short answer is, if you do it right, no. But if you use too high a current, or heat it too much, you can damage the wire insulation, bend the core, or even break the coil’s windings. That’s why I always recommend matching the method to your coil’s specs. For example, if you have a 24V solenoid coil rated for 2 amps, don’t hook it up to a 10A power supply for degaussing—you’ll burn out the wire insulation. For AC degaussers, always check the machine’s power rating to make sure it’s compatible with your coil’s size and current draw.

Now, let’s tie this back to what we do as a solenoid coil supplier. We test every coil we ship for residual magnetism, but we know some customers need to go the extra step. That’s why we often send a quick guide with our coils, outlining which demagnetization method works best for the models we produce. For example, our standard 12V industrial valve coils work great with the AC degaussing method, while our small 5V door lock coils are perfect for passive or low-current DC degaussing. If you’re not sure which method is right for your application, our team can walk you through it—we’ve helped hundreds of customers troubleshoot demagnetization issues over the years.

Let’s also cover a quick troubleshooting tip if demagnetization isn’t working. If you’ve tried the AC method and the coil still has magnetism, check if the degausser is working properly—sometimes they lose power over time, or the cord has a break. Also, make sure you’re not holding the coil too close to metal tables or tools while you’re working—external metal can interfere with the magnetic field, making the demagnetization process less effective. If you’re using the DC method and it’s not working, double-check your current reduction rate—if you turn the current down too fast, the domains won’t randomize, just like with AC.

I can’t tell you how many times a customer has come to us saying their solenoid is acting up, turns out residual magnetism is the root cause. Once, a customer in the aerospace industry was complaining that their solenoid-activated valves were sticking during testing, and they thought the coils were defective. When we tested the coils, they had a 35 Gauss residual field—enough to pull the valve’s metal components slightly off alignment. We walked them through the AC degaussing method, and after they did it, the valves worked perfectly. They ended up ordering 500 replacement coils from us because they trusted our process after that.

At the end of the day, demagnetizing a solenoid coil isn’t rocket science, but it does require a little care to get it right. The key is to match the method to your coil’s size and application, avoid the common mistakes, and always test after you’re done. If you’re a manufacturer working on a project, or a hobbyist building a custom device, and you’re not sure what you need, don’t hesitate to reach out to our team to discuss your requirements. We’re here to help you get the most out of your solenoid coils, whether that’s picking the right coil for your project or troubleshooting any issues you run into along the way.

Whether you’re dealing with a tiny consumer coil or a large industrial unit, taking the time to demagnetize it correctly will save you downtime, reduce defects, and make your final product work better. It’s a small step, but it’s one that makes a big difference, and it’s something every solenoid user should know how to do. If you’re ready to discuss your solenoid coil needs, or have questions about demagnetization for a specific model, our team is here to help with your purchasing and technical questions.

Quick Coupling Valve References

  1. Cullity, B. D., & Graham, C. D. (2008). Introduction to Magnetic Materials. IEEE Press.
  2. “Demagnetization Basics for Magnetic Materials.” Magnetic Materials Association Technical Bulletin, 2021.
  3. Industrial Solenoid Coil Design and Application Guide. Solenoid Industry Standards Council, 2022.

Xiamen Superb Technology Co., Ltd.
Xiamen Superb Technology Co., Ltd. is well-known as one of the leading solenoid coil manufacturers and suppliers in China. With a professional production team, we are able to meet the needs of the majority of our customers. Please rest assured to wholesale high quality solenoid coil from our factory.
Address: 1-2F, 1 Building, Xinyongsheng Industry Garden Dianqian, Huli District, Xiamen, China
E-mail: mike@irriga-systems.com
WebSite: https://www.irriga-systems.com/