3D Print a Fully Functional Key





Introduction: 3D Print a Fully Functional Key

About: Electromechanical Engineer, Product Designer, Maker. I love to make prototypes and teach others in the process. I graduated from UCF and spent two years working at NASA.

Have you ever wondered if it was possible to 3D Print a funcational key? Well, it is and I can assure you it works just fine. I would not use it as a main key, but it is great to print a few spare keys to your room, office or house. Save your key on a usb stick or cloud drive and print it anywhere!

I only have 1 key to my office so I decided to test out a 3D Printed spare key. It works great and I haven't had it break on me after using it 50+ times. Like I said, it is perfectly fine for a spare key.

Step 1: Download OpenScad 3D Modeling Software

Download OpenScad here for your operating system. If you've never used or heard of OpenScad before, it is a great way to create customizable parametric models. This means that I could give an OpenScad model to someone with zero modeling experience and that can modify it just by changing a few numbers.

Step 2: Create Your Key

First, download the Kwikset KW1 or the Schlage SC1 file depending on the key you want to print. These models were created by Nirav Patel. Open the file in OpenScad and change the last line of the code by entering in the key code of the lock. Your key may have the key code written on the side, but if not you can measure the key and compare the numbers here.

Compile the program and then export the file to an stl that you can print. If you don't have access to a 3D Printer, you can use 3D Hubs to find a local 3D Printer near you.

If you like my project, please vote above for the contests and please subscribe to my YouTube Channel to see more of my projects!

Thank you!



    • Creative Misuse Contest

      Creative Misuse Contest
    • Clocks Contest

      Clocks Contest
    • Water Contest

      Water Contest

    20 Discussions

    Awesome. I needed a temp key on those mornings that I forget my office key. Threw a plastic one in my glove box of each car. I reverse engineered my numbers from my metal key. Kw=approximately





    7 replies

    Might want to remove the measurements and measurable image.
    On an instrucable about 3d printing a key, you basically just gave the internet a copy of your key.

    If someone copies my key from a picture and they somehow find the exact lock that the key opens, they deserve my stuff. I think it is stupid when I see someone blurring their keys on the internet. If someone wants to break in, they will break in. Your locks are not safe and if they are, then the key can't be copied from a picture anyway.

    Actually I copied my house key with a picture tool some time but didn't need to install anything just used the windows 10 3d paint and builder 3d

    Keys can be copied from photos. https://keysduplicated.com/blog/analyzing-images-of-keys-under-perspective

    I know, regular keys are not very hard to copy. I was heavy into lockpicking and could open most front doors in a few minutes without a key. You can not copy a medeco key even if you had it right in front of you. A locksmith will not even attempt to make a copy of a medeco key without the original card with the code on it.

    Good luck. Have to get into the building, past the alarms first. Much easier to throw a rock though the window. (BTW don't do that! I don't want to clean up the mess.) Only the guys I work with would that picture be useful but they would have to get a printer first. Took 4 trys with my Maker Gear M2 to get a key that would work (Calibrated to +-.001"). So knock yourself out 24121. Cops will be here before you get my office door open. ;-)


    2 years ago

    how do you add and 6th pin to the open scad code

    I know a person that tried both 3d printed and laser cut acrylic car key and found the laser cut worked better. "User" beware, many newer cars have chips in the keys. For example, with VW and Audi, if you attempt to start the car and it doesn't find the appropriate chip, it will erase all keys in memory and you'll have to have your car towed to the stealership to re-authenticate your keys ($100+ bill).

    Very very good . Where can I find the source for all the various key codes ? I would love to build this and try it out .

    Probably very well . A few years ago there was a company making plastic emergency key copies in a credit card form from which the key pop in and out . Neat idea .

    How do you know which key to use? The reference numbers at the bottom are different for each.

    2 replies

    I'm not sure what you mean. You use a Schlage key if you have a Schlage lock and a Kwikset key if you have a Kwikset lock.


    3 years ago

    Interesting concept, though a bit worrying it might break in the lock.

    1 reply

    Everyone says that. I have used it more than 50 times and it's still going strong. I'm not worried about it breaking off at all. If it's hard to turn, either your key is sloppy or your lock is sloppy. Plus, if that were to happen, it isn't difficult to extract a key from a standard Schlage or Kwikset lock. It's a spare key and should be used as such.

    like if you locked the keys inside it.