In a small saucepan set over medium-high heat, bring the distilled water, flaxseed, and sugar to a boil.
Once the mixture is boiling, turn down to low and let simmer for 10-15 minutes, or until the gel reaches desired thickness.
Remove from heat. Using a fine mesh strainer placed over a glass jar, strain the gel to remove seeds. Alternately, you can place the mixture in a nylon sock and squeeze it to extract the gel.
Stir in vitamin E oil, magnesium gel, and essential oils.
Use as you would any other hair gel. Store in the refrigerator. Your hair gel will last 2-3 weeks. If it starts to smell off, it is unusable.