What Happens When Sodium Sulfide Reacts With Water Or Acid?

When sodium sulfide reacts with water, it undergoes hydrolysis to form sodium hydroxide and hydrogen sulfide gas:

Na2S + 2H2O → 2NaOH + H2S

When sodium sulfide reacts with an acid, such as hydrochloric acid, it forms hydrogen sulfide gas and the corresponding salt of the acid:

Na2S + 2HCl → 2NaCl + H2S