How to Make Hydrogen Gas Using Simple Materials

4 Methods

Electrolysis of water is an easy way to make hydrogen gas.
Wikihow/CC BY-NC-SA 3.0

It's easy to generate hydrogen gas at home or in a lab using common household materials. Here's how to make hydrogen safely.

Make Hydrogen Gas—Method 1

One of the easiest ways to obtain hydrogen is to get it from water, H2O. This method employs electrolysis, which breaks water into hydrogen and oxygen gas.

Materials Needed

  • water
  • 9-volt battery
  • 2 paperclips
  • another container filled with water


  1. Unbend the paperclips and connect one to each terminal of the battery.
  2. Place the other ends, not touching, into a container of water. That's it!
  3. You'll get bubbles off both wires. The one with more bubbles is giving off pure hydrogen. The other bubbles are impure oxygen. You can test which gas is hydrogen by lighting a match or lighter over the container. The hydrogen bubbles will burn; the oxygen bubbles will not burn.
  4. Collect the hydrogen gas by inverting a water-filled tube or jar over the wire producing the hydrogen gas. The reason you want water in the container is so you can collect hydrogen without obtaining air. Air contains 20% oxygen, which you want to keep out of the container in order to keep it from becoming dangerously flammable. For the same reason, don't collect the gas coming off both wires into the same container, since the mixture could burn explosively upon ignition. If you wish, you can collect the oxygen in the same way as the hydrogen, but be aware this gas is not very pure.
  5. Cap or seal the container before inverting it, to avoid exposure to air. Disconnect the battery.

Make Hydrogen Gas—Method 2

There are two simple improvements you can make to improve the efficiency of hydrogen gas production. You can use graphite (carbon) in the form of pencil "lead" as electrodes and you can add a pinch of salt to the water to act as an electrolyte.

The graphite makes good electrodes because it is electrically neutral and won't dissolve during the electrolysis reaction. The salt is helpful because it dissociates into ions which increase the current flow.

Materials Needed

  • 2 pencils
  • salt
  • cardboard
  • water
  • battery (could go as low as 1.5 V with the electrolyte)
  • 2 paperclips or (better yet) 2 pieces of electrical wire
  • another container filled with water


  1. Prepare the pencils by removing the erase and metal caps and sharpening both ends of the pencil.
  2. You're going to use the cardboard to support the pencils in the water. Lay the cardboard over your container of water. Insert the pencils through the cardboard so that the lead is submerged in the liquid, but not touching the bottom or side of the container.
  3. Set the cardboard with pencils aside for a moment and add a pinch of salt to the water. You could use table salt, Epsom salt, etc.
  4. Replace the cardboard/pencil. Attach a wire to each pencil and connect it to the terminals of the battery.
  5. Collect the gas as before, in a container that has been filled with water.

Make Hydrogen Gas—Method 3

You can get hydrogen gas by reacting hydrochloric acid with zinc:

Zinc + Hydrochloric Acid → Zinc Chloride + Hydrogen
Zn (s) + 2HCl (l) → ZnCl2 (l)+ H2 (g)

Materials Needed

  • hydrochloric acid (muriatic acid)
  • zinc granules (or iron filings or strips of aluminum)

Hydrogen gas bubbles will be released as soon as the acid and zinc are mixed. Be very careful to avoid contact with the acid. Also, heat will be given off by this reaction.

Homemade Hydrogen Gas—Method 4

Aluminum + Sodium Hydroxide → Hydrogen + Sodium Aluminate
2Al (s) + 6NaOH (aq) → 3H2 (g) + 2Na3AlO3 (aq)

Materials Needed

  • sodium hydroxide (found in certain drain clog removers)
  • aluminum (included in the drain removal products or you can use foil)

This is an extremely easy method of making homemade hydrogen gas. Simply add some water to the drain clog removal product! The reaction is exothermic, so use a glass bottle (not plastic) to collect the resulting gas.

Hydrogen Gas Safety

  • The main safety consideration is making certain hydrogen gas isn't allowed to mix with oxygen in the air. Nothing bad will happen if it does, but the resulting air-hydrogen mixture is much more flammable than hydrogen on its own because it now contains oxygen, which will act as an oxidizer.
  • Store hydrogen gas away from an open flame or another ignition source.
mla apa chicago
Your Citation
Helmenstine, Anne Marie, Ph.D. "How to Make Hydrogen Gas Using Simple Materials." ThoughtCo, Aug. 27, 2020, Helmenstine, Anne Marie, Ph.D. (2020, August 27). How to Make Hydrogen Gas Using Simple Materials. Retrieved from Helmenstine, Anne Marie, Ph.D. "How to Make Hydrogen Gas Using Simple Materials." ThoughtCo. (accessed June 2, 2023).