Water acts as an acid (donates H+) when it reacts with a stronger base, say sodium hydroxide. Water acts as a base (accepts H+) when it reacts with a stronger acid, say hydrochloric acid. If the medium is water, water, having a pH of 7, is considered neutral.