Jaeheon Shim
Hi! I'm Jaeheon Shim, a computer programmer and technology enthusiast. Here on Learn The Technology, I write about technology and the effect it is having on our modern world. I write about a broad range of topics, ranging from 3D Printing to Cybersecurity.

How To Make A Self Defense Stun Gun That Could Save Your Life

If you want to build a device that is capable of generating high voltage and immobilizing people, this article is for you. In this article, I will teach you how to make something that could literally save your life.

A stun gun is a non-lethal self-defense device that creates a high voltage across two prongs. This high voltage is used against other people to immobilize them if they are bothering you. In a way, stun guns are the modern alternative to pepper spray. Would you rather get tased by a stun gun or pepper sprayed in the face? Leave your choice in the comments below.

If you don’t want to buy a stun gun for whatever reason, don’t worry. It’s quite easy to make your own stun gun, and it’ll cost you less than $30. All the parts are legal to obtain online, but you should check your local rules and regulations to see if you can carry these devices with you. And always be careful with high voltage. You’ll be shocked to find out that a single 9-volt battery can power our stun gun, which generates thousands of volts. Think about that the next time you lick a 9-volt battery. A stun gun is a weapon, not a toy. I’m not responsible for any deaths or injuries you cause from following the instructions in this article. And also, when using this stun gun, you should always apply the prongs to a part of the body that is not critical (Such as the arm or legs). Your brain contains millions of electrical signals that can easily be disrupted by something as powerful as a stun gun. So never tase somebody in the head. Your victims will be shouting: “Ouch! My head hertz!”

Necessary Parts:

High Voltage Boost Converter

  • High Voltage Boost Converterelect
  • 9volt battery and connector9 Volt Battery Connector

  • Some metal nails

  • A switchImage result for pushbutton

  • Hot glue and a hot glue gun

  • Soldering IronImage result for soldering iron

  • Electrical Tape

  • 3D Printer (Optional)

I’ll explain what these parts are needed for in a moment. But first I need to make a correction because I hate false advertising. These high voltage boost converters are advertised to output ridiculously high voltages. For example, the one I found on Amazon claims that it is capable of outputting over a MILLION VOLTS!!! This is impossible because our gap will not be large enough to consolidate such high voltage. Watch ElectroBOOM’s video about it here: 7 MILLION VOLT TASER (stun… thingy)!!!    (Not Sponsored)

So what do these parts do and why are they necessary?

The High Voltage Boost Converter is used to generate the high voltage. It does this by using a circuit to oscillate a circuit which generates a high voltage. In exchange for creating high voltage though, the current is limited. Since the Boost Converter draws a lot of currents, try to only operate the stun gun in short periods of time to make sure your batteries last for a long time. This is the part of our stun gun that creates the arcs. You can buy this on Amazon for around 10 dollars. I’ll provide a link to everything at the very end of the article.

Everything else on the list is generic. The 9-volt battery connectors aren’t really necessary, but you probably want them if you want to be able to replace your battery. They are also good for making good connections because it is frustrating to try and solder wires directly to the 9v battery. The nails are used to create the high voltage arcs. We’ll solder the wires from the high voltage boost converter directly to the nails. Of course, to do this you’ll need a soldering iron. I highly recommend that you don’t just twist the wires around the nail because that can be dangerous for a high voltage circuit. You can buy a cheap soldering iron online for less than 10 bucks. The switch will be used to close the circuit and provide current to the transformer. You don’t have to get a switch with a high voltage rating, as the switch will be soldered onto the low voltage end. I also bought a small switch to act as a safety switch to avoid accidental fires.

You’ll also need a 9v battery to power the entire thing.

And finally, if you have access to a 3D Printer, it can be used to make an enclosure/case for the stun gun. If you don’t have access to one, it’s fine. You can just go crazy with the hot glue. I’m going to design the case using Autodesk Fusion 360 and post the model file here. You should try to get a 3D printed case made for you though since it makes your stun gun look cooler. You can ask your friend nicely, or go online on 3D Hubs and ask them to do it.

Once you have all the parts handy, let’s get started!


I’m going to put the stun gun together in my 3D printed case, but if you can’t 3D print a case, no worries. The instructions are essentially the same whether you have a case or not.

Step 1: Attach the trigger switch

The first thing to do is attach the trigger, which is a pushbutton switch in this case, to the high voltage transformer. This switch will be the one you press to activate the high voltage transformer and create the arcs.

First, cut the green wire of your transformer. Make the cut close to the end of the wire as shown, but not too close. You always want to leave a lot more wire at the end than you need.

Tip: Try to cut the wire closer to the exposed end, instead of the end that goes into the transformer. That way, you have more to work with if you mess up. If you mess up, it’ll be extremely hard to solder the wire back into the transformer. 

Now, strip both ends of the wire you just cut. You can do this with normal scissors, but be careful not to accidentally cut through the wire.

After you have stripped all the wires, solder your pushbutton switch to the green wires using your soldering iron. Solder the short end to one side of the switch, and the long piece that you cut off to the other end. After you are finished, your wires should be attached like this:

Tip: If you don’t know how to solder already, you should look up a tutorial online on how to do it. It’s easy.

Notice that I soldered the wires on opposite ends. This is to make sure that the wires don’t accidentally touch each other. For the two leads on the button that aren’t connected to anything, you can just bend them behind the button or trim them off with wire cutters.

I decided to add another switch, this time a toggle switch, in series with the trigger switch to act as a safety. That way, the stun gun won’t accidentally go off. This isn’t necessary, but you can do it if you want. Notice that I am soldering everything to the green line. This is because green is ground and it makes everything safer.

Tip: Trim the remaining lead of the toggle switch to make sure it doesn’t get in the way.

Finally, after you are all done, seal the connections with electrical tape.

That’s the end of step 1.

Step 2: Attach 9V battery connector

This should be easy. All you need to do is solder the 9V battery connector to the end of the two wires. Be advised that the green wire is ground, and the red wire is positive. If your wires aren’t colored like this, you should check with the manufacturer to see which colors mean which to avoid exciting fires. You can twist the wires together before soldering for added strength.

And finally, insulate the connections with electrical tape.

That’s the end of step 2.

Step 3: Attaching the prongs

Now we will attach the nails to the high voltage wires coming out of the transformer. As I said above, any nail will do, as long as it is not plastic. First, cut or file the pointy end of the nail off. This just makes it easier to solder everything. Then, proceed by soldering the wires directly onto the nails. It helps if you twist the wires around the nail first so that they don’t slip off.

Tip: Sand around the nail first to make it gritty. This makes more solder stick to the nail, making it a lot easier to solder. It also provides a better connection with the nail.

If you are using the 3D printed case that I offer, notice that there are no holes for the nail to go in. I did this on purpose so that if others have different sized nails they can use them without digitally modifying the model. To insert the nails, heat them up with a flame, grab them with pliers, and push them through the plastic. Then let the nails cool off before touching them because they will be very hot.

Insert the heated nails into the 3D printed case like this:

Tip: You should angle the nails inwards to make sure that the arc is on the top of the nails. This will make your taser more effective.

You also should sand off the nails again to make the solder stick better. Sand until you can no longer see the black stuff at the bottom.

Now, cut one of the high voltage wires (Those are the red ones that come out of the transformer) short. You want the wires to not overlap so that they don’t arc through the insulation:

Finally, solder these wires directly onto the nails. This part is difficult, as you will find that solder does not like to stick to the nails. If you can’t get the wires attached, sand the nail again with low grit sandpaper and try again. Trust me, it’s possible to do this. If it makes it easier, wrap the wires around the nails to make them stay in place.

After you are successful, wrap the wires and the bottom of the nail with insulating tape.

Then, as shown above, stuff everything inside the case and hot glue the components in place. This is where all of the parts fit:

Finally, insert the battery, close the safety switch, and press the trigger to make dangerous arcs! Congratulations! You have finished the tutorial and hopefully now have a working taser in your hands.

The Parts:

High Voltage Transformer

You can find nails at any hardware store

A nice soldering iron kit

Pushbutton momentary switches

Safety toggle switch

9v battery connector

The 3D Printed Case:

I modeled this case in Autodesk Fusion 360 and it took me about an hour. There are three parts: The case, the trigger, and the cover. You can download the STL files here: https://www.dropbox.com/s/ve0701a6c3zkmi0/Files.zip?dl=0

If you think that the case that I have created is inadequate, you can edit it and make your own using the Autodesk file. Just remember: if you do, be sure to link to your improved version in the comments.

Taser Case Autodesk


There you go! Now you have all the information and files needed to create your own dangerous self-defense device. Be careful with it, as I will not be responsible for any deaths or injuries from following the instructions in this tutorial manual. Great power comes with great responsibility. If you enjoyed this article, share it with your friends so that they can enjoy it too. Also, if you think that my blog is awesome, you should subscribe to it. It helps me, it helps you, and everyone is happy.


You may also like...

2 Responses

  1. Like says:

    Like!! I blog frequently and I really thank you for your content. The article has truly peaked my interest.

  2. Luke says:

    Please could you make me one I will pay whatever your time

Leave a Reply