The only thing that can dissolve hair in drains are strong chemicals such as bleach, sulfuric acid or hydrogen sulfide. There are many commercial plumbing liquids that are able to dissolve the hair in the drain.
Choosing to use a chemical to dissolve hair in a drain is usually the last resort for people who are dealing with a severe clogging issue. A drain that is regularly cleaned and checked for surface hair will not have as big of a hair buildup. According to the National Retail Hardware Association, drains should be checked regularly to make sure there is no hair that can simply be pulled out using fingers.
If there is hair in the drain that can't be pulled out, a plumbing snake can be used to get the hair out. It can be placed into the drain and pulled back out, bringing the hair that was stuck with it.
An alternative option for people who do not want to use strong chemicals for the hair in a drain is to use a mixture of vinegar and baking soda. The baking soda should be poured into the drain. An equal amount of vinegar should be poured on top of it and the drain should be closed. The gas that this combination creates will make pressure in the drain and will force the hair to go down the drain without the use of dangerous and harmful chemicals.